Searched refs:gpiospec (Results 1 - 1 of 1) sorted by relevance
/device/soc/rockchip/common/sdk_linux/drivers/gpio/ |
H A D | gpiolib-of.c | 89 struct of_phandle_args *gpiospec = data; in of_gpiochip_match_node_and_xlate() local 91 return chip->gpiodev->dev.of_node == gpiospec->np && chip->of_xlate && chip->of_xlate(chip, gpiospec, NULL) >= 0; in of_gpiochip_match_node_and_xlate() 94 static struct gpio_chip *of_find_gpiochip_by_xlate(struct of_phandle_args *gpiospec) in of_find_gpiochip_by_xlate() argument 96 return gpiochip_find(gpiospec, of_gpiochip_match_node_and_xlate); in of_find_gpiochip_by_xlate() 99 static struct gpio_desc *of_xlate_and_get_gpiod_flags(struct gpio_chip *chip, struct of_phandle_args *gpiospec, in of_xlate_and_get_gpiod_flags() argument 104 if (chip->of_gpio_n_cells != gpiospec->args_count) { in of_xlate_and_get_gpiod_flags() 108 ret = chip->of_xlate(chip, gpiospec, flags); in of_xlate_and_get_gpiod_flags() 236 struct of_phandle_args gpiospec; in of_get_named_gpiod_flags() local 241 ret = of_parse_phandle_with_args_map(np, propname, "gpio", index, &gpiospec); in of_get_named_gpiod_flags() 585 struct of_phandle_args gpiospec; of_parse_own_gpio() local 813 of_gpio_simple_xlate(struct gpio_chip *gc, const struct of_phandle_args *gpiospec, u32 *flags) of_gpio_simple_xlate() argument [all...] |
Completed in 2 milliseconds