Home
last modified time | relevance | path

Searched refs:of_gpio_n_cells (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpiolib-of.c142 if (chip->of_gpio_n_cells != gpiospec->args_count) in of_xlate_and_get_gpiod_flags()
918 if (gc->of_gpio_n_cells < 2) { in of_gpio_simple_xlate()
923 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in of_gpio_simple_xlate()
1108 chip->of_gpio_n_cells = 2; in of_gpiochip_add()
1112 if (chip->of_gpio_n_cells > MAX_PHANDLE_ARGS) in of_gpiochip_add()
H A Dgpio-tegra186.c468 if (WARN_ON(chip->of_gpio_n_cells < 2)) in tegra186_gpio_of_xlate()
471 if (WARN_ON(spec->args_count < chip->of_gpio_n_cells)) in tegra186_gpio_of_xlate()
675 if (WARN_ON(gpio->gpio.of_gpio_n_cells < 2)) in tegra186_gpio_irq_domain_translate()
678 if (WARN_ON(fwspec->param_count < gpio->gpio.of_gpio_n_cells)) in tegra186_gpio_irq_domain_translate()
925 gpio->gpio.of_gpio_n_cells = 2; in tegra186_gpio_probe()
H A Dgpio-brcmstb.c409 if (gc->of_gpio_n_cells != 2) { in brcmstb_gpio_of_xlate()
414 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in brcmstb_gpio_of_xlate()
697 gc->of_gpio_n_cells = 2; in brcmstb_gpio_probe()
H A Dgpio-aggregator.c443 if (gpiospec->args_count != chip->of_gpio_n_cells) in gpiochip_fwd_delay_of_xlate()
467 chip->of_gpio_n_cells = 3; in gpiochip_fwd_setup_delay_line()
H A Dgpio-mt7621.c246 rg->chip.of_gpio_n_cells = 2; in mediatek_gpio_bank_probe()
H A Dgpio-lpc32xx.c518 lpc32xx_gpiochip[i].chip.of_gpio_n_cells = 3; in lpc32xx_gpio_probe()
H A Dgpio-pxa.c364 pchip->chip.of_gpio_n_cells = 2; in pxa_init_gpio_chip()
/openbmc/linux/drivers/pinctrl/qcom/
H A Dpinctrl-ssbi-gpio.c528 if (chip->of_gpio_n_cells < 2) in pm8xxx_gpio_of_xlate()
795 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_gpio_probe()
H A Dpinctrl-ssbi-mpp.c527 if (chip->of_gpio_n_cells < 2) in pm8xxx_mpp_of_xlate()
886 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_mpp_probe()
H A Dpinctrl-spmi-mpp.c616 if (chip->of_gpio_n_cells < 2) in pmic_mpp_of_xlate()
928 state->chip.of_gpio_n_cells = 2; in pmic_mpp_probe()
H A Dpinctrl-spmi-gpio.c780 if (chip->of_gpio_n_cells < 2) in pmic_gpio_of_xlate()
1129 state->chip.of_gpio_n_cells = 2; in pmic_gpio_probe()
/openbmc/linux/include/linux/gpio/
H A Ddriver.h519 unsigned int of_gpio_n_cells; member
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dti-sn65dsi86.c1651 if (WARN_ON(gpiospec->args_count < chip->of_gpio_n_cells)) in tn_sn_bridge_of_xlate()
1816 pdata->gchip.of_gpio_n_cells = 2; in ti_sn_gpio_probe()
/openbmc/linux/drivers/media/i2c/
H A Dds90ub913.c205 gc->of_gpio_n_cells = 2; in ub913_gpiochip_probe()
H A Dds90ub953.c416 gc->of_gpio_n_cells = 2; in ub953_gpiochip_probe()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-microchip-sgpio.c865 gc->of_gpio_n_cells = 3; in microchip_sgpio_register_bank()
/openbmc/linux/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.c1583 pctl->chip->of_gpio_n_cells = 3; in sunxi_pinctrl_init_with_variant()