/linux-6.6.21/drivers/gpio/ |
D | gpiolib-of.c | 123 struct of_phandle_args *gpiospec = data; in of_gpiochip_match_node_and_xlate() local 125 return device_match_of_node(&chip->gpiodev->dev, gpiospec->np) && in of_gpiochip_match_node_and_xlate() 127 chip->of_xlate(chip, gpiospec, NULL) >= 0; in of_gpiochip_match_node_and_xlate() 131 struct of_phandle_args *gpiospec) in of_find_gpiochip_by_xlate() argument 133 return gpiochip_find(gpiospec, of_gpiochip_match_node_and_xlate); in of_find_gpiochip_by_xlate() 137 struct of_phandle_args *gpiospec, in of_xlate_and_get_gpiod_flags() argument 142 if (chip->of_gpio_n_cells != gpiospec->args_count) in of_xlate_and_get_gpiod_flags() 145 ret = chip->of_xlate(chip, gpiospec, flags); in of_xlate_and_get_gpiod_flags() 365 struct of_phandle_args gpiospec; in of_get_named_gpiod_flags() local 371 &gpiospec); in of_get_named_gpiod_flags() [all …]
|
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()
|
D | gpio-aggregator.c | 436 const struct of_phandle_args *gpiospec, in gpiochip_fwd_delay_of_xlate() argument 443 if (gpiospec->args_count != chip->of_gpio_n_cells) in gpiochip_fwd_delay_of_xlate() 446 line = gpiospec->args[0]; in gpiochip_fwd_delay_of_xlate() 451 timings->ramp_up_us = gpiospec->args[1]; in gpiochip_fwd_delay_of_xlate() 452 timings->ramp_down_us = gpiospec->args[2]; in gpiochip_fwd_delay_of_xlate()
|
D | gpio-brcmstb.c | 403 const struct of_phandle_args *gpiospec, u32 *flags) in brcmstb_gpio_of_xlate() argument 414 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in brcmstb_gpio_of_xlate() 417 offset = gpiospec->args[0] - (gc->base - priv->gpio_base); in brcmstb_gpio_of_xlate() 424 gpiospec->args[0]); in brcmstb_gpio_of_xlate() 428 *flags = gpiospec->args[1]; in brcmstb_gpio_of_xlate()
|
D | gpio-pxa.c | 328 const struct of_phandle_args *gpiospec, in pxa_gpio_of_xlate() argument 331 if (gpiospec->args[0] > pxa_last_gpio) in pxa_gpio_of_xlate() 335 *flags = gpiospec->args[1]; in pxa_gpio_of_xlate() 337 return gpiospec->args[0]; in pxa_gpio_of_xlate()
|
/linux-6.6.21/drivers/pinctrl/ |
D | pinctrl-microchip-sgpio.c | 576 const struct of_phandle_args *gpiospec, in microchip_sgpio_of_xlate() argument 587 if (gpiospec->args[0] > SGPIO_BITS_PER_WORD || in microchip_sgpio_of_xlate() 588 gpiospec->args[1] > priv->bitcount) in microchip_sgpio_of_xlate() 591 pin = sgpio_addr_to_pin(priv, gpiospec->args[0], gpiospec->args[1]); in microchip_sgpio_of_xlate() 597 *flags = gpiospec->args[2]; in microchip_sgpio_of_xlate()
|
D | pinctrl-single.c | 1342 struct of_phandle_args gpiospec; in pcs_add_gpio_func() local 1348 i, &gpiospec); in pcs_add_gpio_func() 1359 range->offset = gpiospec.args[0]; in pcs_add_gpio_func() 1360 range->npins = gpiospec.args[1]; in pcs_add_gpio_func() 1361 range->gpiofunc = gpiospec.args[2]; in pcs_add_gpio_func()
|
/linux-6.6.21/drivers/gpu/drm/bridge/ |
D | ti-sn65dsi86.c | 1648 const struct of_phandle_args *gpiospec, in tn_sn_bridge_of_xlate() argument 1651 if (WARN_ON(gpiospec->args_count < chip->of_gpio_n_cells)) in tn_sn_bridge_of_xlate() 1654 if (gpiospec->args[0] > chip->ngpio || gpiospec->args[0] < 1) in tn_sn_bridge_of_xlate() 1658 *flags = gpiospec->args[1]; in tn_sn_bridge_of_xlate() 1660 return gpiospec->args[0] - SN_GPIO_PHYSICAL_OFFSET; in tn_sn_bridge_of_xlate()
|
/linux-6.6.21/drivers/media/i2c/ |
D | ds90ub913.c | 177 const struct of_phandle_args *gpiospec, in ub913_gpio_of_xlate() argument 181 *flags = gpiospec->args[1]; in ub913_gpio_of_xlate() 183 return gpiospec->args[0]; in ub913_gpio_of_xlate()
|
D | ds90ub953.c | 385 const struct of_phandle_args *gpiospec, in ub953_gpio_of_xlate() argument 389 *flags = gpiospec->args[1]; in ub953_gpio_of_xlate() 391 return gpiospec->args[0]; in ub953_gpio_of_xlate()
|
/linux-6.6.21/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 976 const struct of_phandle_args *gpiospec, in sunxi_pinctrl_gpio_of_xlate() argument 981 base = PINS_PER_BANK * gpiospec->args[0]; in sunxi_pinctrl_gpio_of_xlate() 982 pin = base + gpiospec->args[1]; in sunxi_pinctrl_gpio_of_xlate() 988 *flags = gpiospec->args[2]; in sunxi_pinctrl_gpio_of_xlate()
|
/linux-6.6.21/include/linux/gpio/ |
D | driver.h | 528 const struct of_phandle_args *gpiospec, u32 *flags);
|