Home
last modified time | relevance | path

Searched refs:gpiospec (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpio/
A Dgpiolib-of.c94 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 Dgpio-lpc32xx.c492 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 Dgpio-brcmstb.c418 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 Dgpio-pxa.c333 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 Dpinctrl-microchip-sgpio.c493 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 Dpinctrl-single.c1341 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 Dti-sn65dsi86.c1269 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 Dpinctrl-sunxi.c893 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 Ddriver.h489 const struct of_phandle_args *gpiospec, u32 *flags);

Completed in 29 milliseconds