Searched refs:of_gpio_n_cells (Results 1 – 25 of 26) sorted by relevance
12
105 if (chip->of_gpio_n_cells != gpiospec->args_count) in of_xlate_and_get_gpiod_flags()809 if (gc->of_gpio_n_cells < 2) { in of_gpio_simple_xlate()814 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in of_gpio_simple_xlate()1023 chip->of_gpio_n_cells = 2; in of_gpiochip_add()1027 if (chip->of_gpio_n_cells > MAX_PHANDLE_ARGS) in of_gpiochip_add()
84 gc->of_gpio_n_cells = 2; in gef_gpio_probe()
317 if (WARN_ON(chip->of_gpio_n_cells < 2)) in tegra186_gpio_of_xlate()320 if (WARN_ON(spec->args_count < chip->of_gpio_n_cells)) in tegra186_gpio_of_xlate()500 if (WARN_ON(gpio->gpio.of_gpio_n_cells < 2)) in tegra186_gpio_irq_domain_translate()503 if (WARN_ON(fwspec->param_count < gpio->gpio.of_gpio_n_cells)) in tegra186_gpio_irq_domain_translate()690 gpio->gpio.of_gpio_n_cells = 2; in tegra186_gpio_probe()
101 chip->of_gpio_n_cells = 2; in wcd_gpio_probe()
165 .of_gpio_n_cells = 2,
425 if (gc->of_gpio_n_cells != 2) { in brcmstb_gpio_of_xlate()430 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in brcmstb_gpio_of_xlate()758 gc->of_gpio_n_cells = 2; in brcmstb_gpio_probe()
237 rg->chip.of_gpio_n_cells = 2; in mediatek_gpio_bank_probe()
517 lpc32xx_gpiochip[i].chip.of_gpio_n_cells = 3; in lpc32xx_gpio_probe()
255 chips->chip.of_gpio_n_cells = 2; in davinci_gpio_probe()
370 pchip->chip.of_gpio_n_cells = 2; in pxa_init_gpio_chip()
526 if (chip->of_gpio_n_cells < 2) in pm8xxx_gpio_of_xlate()777 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_gpio_probe()
521 if (chip->of_gpio_n_cells < 2) in pm8xxx_mpp_of_xlate()822 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_mpp_probe()
616 if (chip->of_gpio_n_cells < 2) in pmic_mpp_of_xlate()880 state->chip.of_gpio_n_cells = 2; in pmic_mpp_probe()
744 if (chip->of_gpio_n_cells < 2) in pmic_gpio_of_xlate()1031 state->chip.of_gpio_n_cells = 2; in pmic_gpio_probe()
252 chip->of_gpio_n_cells = 2; in dc_gpiochip_add()
552 mcp->chip.of_gpio_n_cells = 2; in mcp23s08_probe_one()
470 unsigned int of_gpio_n_cells; member
936 if (WARN_ON(gpiospec->args_count < chip->of_gpio_n_cells)) in tn_sn_bridge_of_xlate()1084 pdata->gchip.of_gpio_n_cells = 2; in ti_sn_setup_gpio_controller()
522 chip->of_gpio_n_cells = 2; in mtk_build_gpiochip()
895 chip->of_gpio_n_cells = 2; in mtk_build_gpiochip()
875 .of_gpio_n_cells = 2,
619 pc->chip.of_gpio_n_cells = 2; in meson_gpiolib_register()
820 sgpio->chip.gc.of_gpio_n_cells = 2; in sirfsoc_gpio_probe()
6046 chip->of_gpio_n_cells = 2; in atlas7_gpio_probe()
1502 pctl->chip->of_gpio_n_cells = 3; in sunxi_pinctrl_init_with_variant()