Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpio/
A Dgpiolib-of.c140 if (chip->of_gpio_n_cells != gpiospec->args_count) in of_xlate_and_get_gpiod_flags()
878 if (gc->of_gpio_n_cells < 2) { in of_gpio_simple_xlate()
883 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in of_gpio_simple_xlate()
1065 chip->of_gpio_n_cells = 2; in of_gpiochip_add()
1069 if (chip->of_gpio_n_cells > MAX_PHANDLE_ARGS) in of_gpiochip_add()
A Dgpio-tegra186.c397 if (WARN_ON(chip->of_gpio_n_cells < 2)) in tegra186_gpio_of_xlate()
400 if (WARN_ON(spec->args_count < chip->of_gpio_n_cells)) in tegra186_gpio_of_xlate()
604 if (WARN_ON(gpio->gpio.of_gpio_n_cells < 2)) in tegra186_gpio_irq_domain_translate()
607 if (WARN_ON(fwspec->param_count < gpio->gpio.of_gpio_n_cells)) in tegra186_gpio_irq_domain_translate()
853 gpio->gpio.of_gpio_n_cells = 2; in tegra186_gpio_probe()
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()
698 gc->of_gpio_n_cells = 2; in brcmstb_gpio_probe()
A Dgpio-mt7621.c246 rg->chip.of_gpio_n_cells = 2; in mediatek_gpio_bank_probe()
A Dgpio-lpc32xx.c518 lpc32xx_gpiochip[i].chip.of_gpio_n_cells = 3; in lpc32xx_gpio_probe()
A Dgpio-pxa.c369 pchip->chip.of_gpio_n_cells = 2; in pxa_init_gpio_chip()
/linux-6.3-rc2/drivers/pinctrl/qcom/
A Dpinctrl-ssbi-gpio.c528 if (chip->of_gpio_n_cells < 2) in pm8xxx_gpio_of_xlate()
777 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_gpio_probe()
A Dpinctrl-spmi-mpp.c617 if (chip->of_gpio_n_cells < 2) in pmic_mpp_of_xlate()
902 state->chip.of_gpio_n_cells = 2; in pmic_mpp_probe()
A Dpinctrl-ssbi-mpp.c528 if (chip->of_gpio_n_cells < 2) in pm8xxx_mpp_of_xlate()
861 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_mpp_probe()
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()
/linux-6.3-rc2/include/linux/gpio/
A Ddriver.h511 unsigned int of_gpio_n_cells; member
/linux-6.3-rc2/drivers/gpu/drm/bridge/
A Dti-sn65dsi86.c1617 if (WARN_ON(gpiospec->args_count < chip->of_gpio_n_cells)) in tn_sn_bridge_of_xlate()
1782 pdata->gchip.of_gpio_n_cells = 2; in ti_sn_gpio_probe()
/linux-6.3-rc2/drivers/pinctrl/
A Dpinctrl-microchip-sgpio.c864 gc->of_gpio_n_cells = 3; in microchip_sgpio_register_bank()
/linux-6.3-rc2/drivers/pinctrl/sunxi/
A Dpinctrl-sunxi.c1583 pctl->chip->of_gpio_n_cells = 3; in sunxi_pinctrl_init_with_variant()

Completed in 46 milliseconds