Searched refs:gpiospec (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/gpio/ |
A D | gpiolib-of.c | 94 struct of_phandle_args *gpiospec) in of_find_gpiochip_by_xlate() argument 100 struct of_phandle_args *gpiospec, in of_xlate_and_get_gpiod_flags() argument 242 struct of_phandle_args gpiospec; in of_get_named_gpiod_flags() local 248 &gpiospec); in of_get_named_gpiod_flags() 273 of_node_put(gpiospec.np); in of_get_named_gpiod_flags() 584 struct of_phandle_args gpiospec; in of_parse_own_gpio() local 602 gpiospec.np = chip_np; in of_parse_own_gpio() 603 gpiospec.args_count = tmp; in of_parse_own_gpio() 607 &gpiospec.args[i]); in of_parse_own_gpio() 821 *flags = gpiospec->args[1]; in of_gpio_simple_xlate() [all …]
|
A D | gpio-lpc32xx.c | 492 const struct of_phandle_args *gpiospec, u32 *flags) in lpc32xx_of_xlate() argument 495 u32 bank = gpiospec->args[0]; in lpc32xx_of_xlate() 501 *flags = gpiospec->args[2]; in lpc32xx_of_xlate() 502 return gpiospec->args[1]; in lpc32xx_of_xlate()
|
A D | gpio-brcmstb.c | 418 const struct of_phandle_args *gpiospec, u32 *flags) in brcmstb_gpio_of_xlate() argument 429 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in brcmstb_gpio_of_xlate() 432 offset = gpiospec->args[0] - (gc->base - priv->gpio_base); in brcmstb_gpio_of_xlate() 439 gpiospec->args[0]); in brcmstb_gpio_of_xlate() 443 *flags = gpiospec->args[1]; in brcmstb_gpio_of_xlate()
|
A D | gpio-pxa.c | 333 const struct of_phandle_args *gpiospec, in pxa_gpio_of_xlate() argument 336 if (gpiospec->args[0] > pxa_last_gpio) in pxa_gpio_of_xlate() 340 *flags = gpiospec->args[1]; in pxa_gpio_of_xlate() 342 return gpiospec->args[0]; in pxa_gpio_of_xlate()
|
/linux/drivers/pinctrl/ |
A D | pinctrl-microchip-sgpio.c | 493 const struct of_phandle_args *gpiospec, in microchip_sgpio_of_xlate() argument 504 if (gpiospec->args[0] > SGPIO_BITS_PER_WORD || in microchip_sgpio_of_xlate() 505 gpiospec->args[1] > priv->bitcount) in microchip_sgpio_of_xlate() 508 pin = sgpio_addr_to_pin(priv, gpiospec->args[0], gpiospec->args[1]); in microchip_sgpio_of_xlate() 514 *flags = gpiospec->args[2]; in microchip_sgpio_of_xlate()
|
A D | pinctrl-single.c | 1341 struct of_phandle_args gpiospec; in pcs_add_gpio_func() local 1347 i, &gpiospec); in pcs_add_gpio_func() 1358 range->offset = gpiospec.args[0]; in pcs_add_gpio_func() 1359 range->npins = gpiospec.args[1]; in pcs_add_gpio_func() 1360 range->gpiofunc = gpiospec.args[2]; in pcs_add_gpio_func()
|
/linux/drivers/gpu/drm/bridge/ |
A D | ti-sn65dsi86.c | 1269 const struct of_phandle_args *gpiospec, in tn_sn_bridge_of_xlate() argument 1272 if (WARN_ON(gpiospec->args_count < chip->of_gpio_n_cells)) in tn_sn_bridge_of_xlate() 1275 if (gpiospec->args[0] > chip->ngpio || gpiospec->args[0] < 1) in tn_sn_bridge_of_xlate() 1279 *flags = gpiospec->args[1]; in tn_sn_bridge_of_xlate() 1281 return gpiospec->args[0] - SN_GPIO_PHYSICAL_OFFSET; in tn_sn_bridge_of_xlate()
|
/linux/drivers/pinctrl/sunxi/ |
A D | pinctrl-sunxi.c | 893 const struct of_phandle_args *gpiospec, in sunxi_pinctrl_gpio_of_xlate() argument 898 base = PINS_PER_BANK * gpiospec->args[0]; in sunxi_pinctrl_gpio_of_xlate() 899 pin = base + gpiospec->args[1]; in sunxi_pinctrl_gpio_of_xlate() 905 *flags = gpiospec->args[2]; in sunxi_pinctrl_gpio_of_xlate()
|
/linux/include/linux/gpio/ |
A D | driver.h | 489 const struct of_phandle_args *gpiospec, u32 *flags);
|
Completed in 29 milliseconds