Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpiolib-of.c143 if (chip->of_gpio_n_cells != gpiospec->args_count) in of_xlate_and_get_gpiod_flags()
974 if (gc->of_gpio_n_cells != 2) { in of_gpio_twocell_xlate()
979 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in of_gpio_twocell_xlate()
1010 if (gc->of_gpio_n_cells != 3) { in of_gpio_threecell_xlate()
1142 chip->of_gpio_n_cells + 1, in of_gpiochip_add_pin_range()
1152 if (chip->of_gpio_n_cells == 3) { in of_gpiochip_add_pin_range()
1168 (chip->of_gpio_n_cells == 3) && in of_gpiochip_add_pin_range()
1260 if (chip->of_gpio_n_cells == 3) { in of_gpiochip_add()
1265 chip->of_gpio_n_cells = 2; in of_gpiochip_add()
1270 if (chip->of_gpio_n_cells > MAX_PHANDLE_ARGS) in of_gpiochip_add()
H A Dgpio-tegra186.c474 if (WARN_ON(chip->of_gpio_n_cells < 2)) in tegra186_gpio_of_xlate()
477 if (WARN_ON(spec->args_count < chip->of_gpio_n_cells)) in tegra186_gpio_of_xlate()
681 if (WARN_ON(gpio->gpio.of_gpio_n_cells < 2)) in tegra186_gpio_irq_domain_translate()
684 if (WARN_ON(fwspec->param_count < gpio->gpio.of_gpio_n_cells)) in tegra186_gpio_irq_domain_translate()
932 gpio->gpio.of_gpio_n_cells = 2; in tegra186_gpio_probe()
H A Dgpio-brcmstb.c407 if (gc->of_gpio_n_cells != 2) { in brcmstb_gpio_of_xlate()
412 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in brcmstb_gpio_of_xlate()
688 gc->of_gpio_n_cells = 2; in brcmstb_gpio_probe()
H A Dgpio-spacemit-k1.c203 gc->of_gpio_n_cells = 3; in spacemit_gpio_add_bank()
H A Dgpio-mt7621.c246 rg->chip.of_gpio_n_cells = 2; in mediatek_gpio_bank_probe()
H A Dgpio-lpc32xx.c524 lpc32xx_gpiochip[i].chip.of_gpio_n_cells = 3; in lpc32xx_gpio_probe()
H A Dgpio-aggregator.c442 if (gpiospec->args_count != chip->of_gpio_n_cells) in gpiochip_fwd_delay_of_xlate()
466 chip->of_gpio_n_cells = 3; in gpiochip_fwd_setup_delay_line()
H A Dgpio-pxa.c366 pchip->chip.of_gpio_n_cells = 2; in pxa_init_gpio_chip()
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-ssbi-gpio.c530 if (chip->of_gpio_n_cells < 2) in pm8xxx_gpio_of_xlate()
797 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_gpio_probe()
H A Dpinctrl-ssbi-mpp.c529 if (chip->of_gpio_n_cells < 2) in pm8xxx_mpp_of_xlate()
885 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_mpp_probe()
H A Dpinctrl-spmi-mpp.c617 if (chip->of_gpio_n_cells < 2) in pmic_mpp_of_xlate()
929 state->chip.of_gpio_n_cells = 2; in pmic_mpp_probe()
H A Dpinctrl-spmi-gpio.c781 if (chip->of_gpio_n_cells < 2) in pmic_gpio_of_xlate()
1130 state->chip.of_gpio_n_cells = 2; in pmic_gpio_probe()
/linux/include/linux/gpio/
H A Ddriver.h533 unsigned int of_gpio_n_cells; member
/linux/drivers/gpu/drm/bridge/
H A Dti-sn65dsi86.c1676 if (WARN_ON(gpiospec->args_count < chip->of_gpio_n_cells)) in tn_sn_bridge_of_xlate()
1832 pdata->gchip.of_gpio_n_cells = 2; in ti_sn_gpio_probe()
/linux/drivers/media/i2c/
H A Dds90ub913.c240 gc->of_gpio_n_cells = 2; in ub913_gpiochip_probe()
H A Dds90ub953.c366 gc->of_gpio_n_cells = 2; in ub953_gpiochip_probe()
/linux/drivers/platform/cznic/
H A Dturris-omnia-mcu-gpio.c1037 mcu->gc.of_gpio_n_cells = 3; in omnia_mcu_register_gpiochip()
/linux/drivers/pinctrl/
H A Dpinctrl-microchip-sgpio.c865 gc->of_gpio_n_cells = 3; in microchip_sgpio_register_bank()
/linux/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.c1610 pctl->chip->of_gpio_n_cells = 3; in sunxi_pinctrl_init_with_flags()