Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpio/
Dgpiolib-of.c105 if (chip->of_gpio_n_cells != gpiospec->args_count) in of_xlate_and_get_gpiod_flags()
777 if (gc->of_gpio_n_cells < 2) { in of_gpio_simple_xlate()
782 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in of_gpio_simple_xlate()
991 chip->of_gpio_n_cells = 2; in of_gpiochip_add()
995 if (chip->of_gpio_n_cells > MAX_PHANDLE_ARGS) in of_gpiochip_add()
Dgpio-ge.c84 gc->of_gpio_n_cells = 2; in gef_gpio_probe()
Dgpio-wcd934x.c101 chip->of_gpio_n_cells = 2; in wcd_gpio_probe()
Dgpio-tegra186.c396 if (WARN_ON(chip->of_gpio_n_cells < 2)) in tegra186_gpio_of_xlate()
399 if (WARN_ON(spec->args_count < chip->of_gpio_n_cells)) in tegra186_gpio_of_xlate()
603 if (WARN_ON(gpio->gpio.of_gpio_n_cells < 2)) in tegra186_gpio_irq_domain_translate()
606 if (WARN_ON(fwspec->param_count < gpio->gpio.of_gpio_n_cells)) in tegra186_gpio_irq_domain_translate()
855 gpio->gpio.of_gpio_n_cells = 2; in tegra186_gpio_probe()
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()
Dgpio-zevio.c165 .of_gpio_n_cells = 2,
Dgpio-mt7621.c246 rg->chip.of_gpio_n_cells = 2; in mediatek_gpio_bank_probe()
Dgpio-lpc32xx.c518 lpc32xx_gpiochip[i].chip.of_gpio_n_cells = 3; in lpc32xx_gpio_probe()
Dgpio-davinci.c258 chips->chip.of_gpio_n_cells = 2; in davinci_gpio_probe()
Dgpio-xilinx.c633 chip->gc.of_gpio_n_cells = cells; in xgpio_probe()
Dgpio-pxa.c369 pchip->chip.of_gpio_n_cells = 2; in pxa_init_gpio_chip()
/linux-6.1.9/drivers/pinctrl/qcom/
Dpinctrl-ssbi-gpio.c526 if (chip->of_gpio_n_cells < 2) in pm8xxx_gpio_of_xlate()
776 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_gpio_probe()
Dpinctrl-spmi-mpp.c615 if (chip->of_gpio_n_cells < 2) in pmic_mpp_of_xlate()
900 state->chip.of_gpio_n_cells = 2; in pmic_mpp_probe()
Dpinctrl-ssbi-mpp.c526 if (chip->of_gpio_n_cells < 2) in pm8xxx_mpp_of_xlate()
860 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_mpp_probe()
Dpinctrl-spmi-gpio.c778 if (chip->of_gpio_n_cells < 2) in pmic_gpio_of_xlate()
1127 state->chip.of_gpio_n_cells = 2; in pmic_gpio_probe()
Dpinctrl-lpass-lpi.c428 pctrl->chip.of_gpio_n_cells = 2; in lpi_pinctrl_probe()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-digicolor.c251 chip->of_gpio_n_cells = 2; in dc_gpiochip_add()
Dpinctrl-microchip-sgpio.c862 gc->of_gpio_n_cells = 3; in microchip_sgpio_register_bank()
/linux-6.1.9/include/linux/gpio/
Ddriver.h518 unsigned int of_gpio_n_cells; member
/linux-6.1.9/drivers/pinctrl/mediatek/
Dpinctrl-moore.c539 chip->of_gpio_n_cells = 2; in mtk_build_gpiochip()
Dpinctrl-paris.c985 chip->of_gpio_n_cells = 2; in mtk_build_gpiochip()
Dpinctrl-mtk-common.c894 .of_gpio_n_cells = 2,
/linux-6.1.9/drivers/gpu/drm/bridge/
Dti-sn65dsi86.c1615 if (WARN_ON(gpiospec->args_count < chip->of_gpio_n_cells)) in tn_sn_bridge_of_xlate()
1780 pdata->gchip.of_gpio_n_cells = 2; in ti_sn_gpio_probe()
/linux-6.1.9/drivers/pinctrl/sunplus/
Dsppctl.c559 gchip->of_gpio_n_cells = 2; in sppctl_gpio_new()
/linux-6.1.9/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c1581 pctl->chip->of_gpio_n_cells = 3; in sunxi_pinctrl_init_with_variant()