Searched refs:of_gpio_n_cells (Results 1 – 19 of 19) sorted by relevance
143 if (chip->of_gpio_n_cells != gpiospec->args_count) in of_xlate_and_get_gpiod_flags()965 if (gc->of_gpio_n_cells != 2) { in of_gpio_twocell_xlate()970 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in of_gpio_twocell_xlate()1001 if (gc->of_gpio_n_cells != 3) { in of_gpio_threecell_xlate()1133 chip->of_gpio_n_cells + 1, in of_gpiochip_add_pin_range()1143 if (chip->of_gpio_n_cells == 3) { in of_gpiochip_add_pin_range()1159 (chip->of_gpio_n_cells == 3) && in of_gpiochip_add_pin_range()1251 if (chip->of_gpio_n_cells == 3) { in of_gpiochip_add()1256 chip->of_gpio_n_cells = 2; in of_gpiochip_add()1261 if (chip->of_gpio_n_cells > MAX_PHANDLE_ARGS) in of_gpiochip_add()
469 if (WARN_ON(chip->of_gpio_n_cells < 2)) in tegra186_gpio_of_xlate()472 if (WARN_ON(spec->args_count < chip->of_gpio_n_cells)) in tegra186_gpio_of_xlate()676 if (WARN_ON(gpio->gpio.of_gpio_n_cells < 2)) in tegra186_gpio_irq_domain_translate()679 if (WARN_ON(fwspec->param_count < gpio->gpio.of_gpio_n_cells)) in tegra186_gpio_irq_domain_translate()927 gpio->gpio.of_gpio_n_cells = 2; in tegra186_gpio_probe()
407 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()690 gc->of_gpio_n_cells = 2; in brcmstb_gpio_probe()
465 if (gpiospec->args_count != chip->of_gpio_n_cells) in gpiochip_fwd_delay_of_xlate()489 chip->of_gpio_n_cells = 3; in gpiochip_fwd_setup_delay_line()
246 rg->chip.of_gpio_n_cells = 2; in mediatek_gpio_bank_probe()
518 lpc32xx_gpiochip[i].chip.of_gpio_n_cells = 3; in lpc32xx_gpio_probe()
364 pchip->chip.of_gpio_n_cells = 2; in pxa_init_gpio_chip()
529 if (chip->of_gpio_n_cells < 2) in pm8xxx_gpio_of_xlate()796 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_gpio_probe()
528 if (chip->of_gpio_n_cells < 2) in pm8xxx_mpp_of_xlate()884 pctrl->chip.of_gpio_n_cells = 2; in pm8xxx_mpp_probe()
617 if (chip->of_gpio_n_cells < 2) in pmic_mpp_of_xlate()929 state->chip.of_gpio_n_cells = 2; in pmic_mpp_probe()
781 if (chip->of_gpio_n_cells < 2) in pmic_gpio_of_xlate()1130 state->chip.of_gpio_n_cells = 2; in pmic_gpio_probe()
540 unsigned int of_gpio_n_cells; member
1655 if (WARN_ON(gpiospec->args_count < chip->of_gpio_n_cells)) in tn_sn_bridge_of_xlate()1820 pdata->gchip.of_gpio_n_cells = 2; in ti_sn_gpio_probe()
219 gc->of_gpio_n_cells = 2; in ub913_gpiochip_probe()
360 gc->of_gpio_n_cells = 2; in max96717_gpiochip_probe()
423 gc->of_gpio_n_cells = 2; in ub953_gpiochip_probe()
865 gc->of_gpio_n_cells = 3; in microchip_sgpio_register_bank()
1027 mcu->gc.of_gpio_n_cells = 3; in omnia_mcu_register_gpiochip()
1603 pctl->chip->of_gpio_n_cells = 3; in sunxi_pinctrl_init_with_flags()