Lines Matching refs:device_node

66 static int of_gpio_named_count(const struct device_node *np,  in of_gpio_named_count()
89 static int of_gpio_spi_cs_get_count(const struct device_node *np, in of_gpio_spi_cs_get_count()
105 const struct device_node *np = to_of_node(fwnode); in of_gpio_count()
157 static void of_gpio_quirk_polarity(const struct device_node *np, in of_gpio_quirk_polarity()
179 static void of_gpio_try_fixup_polarity(const struct device_node *np, in of_gpio_try_fixup_polarity()
256 static void of_gpio_set_polarity_by_property(const struct device_node *np, in of_gpio_set_polarity_by_property()
260 const struct device_node *np_compat = np; in of_gpio_set_polarity_by_property()
261 const struct device_node *np_propname = np; in of_gpio_set_polarity_by_property()
335 static void of_gpio_flags_quirks(const struct device_node *np, in of_gpio_flags_quirks()
409 static struct gpio_desc *of_get_named_gpiod_flags(const struct device_node *np, in of_get_named_gpiod_flags()
461 int of_get_named_gpio(const struct device_node *np, const char *propname, in of_get_named_gpio()
505 static struct gpio_desc *of_find_gpio_rename(struct device_node *np, in of_find_gpio_rename()
637 static struct gpio_desc *of_find_mt2701_gpio(struct device_node *np, in of_find_mt2701_gpio()
675 static struct gpio_desc *of_find_trigger_gpio(struct device_node *np, in of_find_trigger_gpio()
696 typedef struct gpio_desc *(*of_find_gpio_quirk)(struct device_node *np,
707 struct gpio_desc *of_find_gpio(struct device_node *np, const char *con_id, in of_find_gpio()
748 static struct gpio_desc *of_parse_own_gpio(struct device_node *np, in of_parse_own_gpio()
754 struct device_node *chip_np; in of_parse_own_gpio()
816 static int of_gpiochip_add_hog(struct gpio_chip *chip, struct device_node *hog) in of_gpiochip_add_hog()
877 struct device_node *hog) in of_gpiochip_remove_hog()
891 static struct gpio_device *of_find_gpio_device_by_node(struct device_node *np) in of_find_gpio_device_by_node()
1059 int of_mm_gpiochip_add_data(struct device_node *np, in of_mm_gpiochip_add_data()
1118 struct device_node *np; in of_gpiochip_add_pin_range()
1252 struct device_node *np; in of_gpiochip_add()