/kernel/linux/linux-5.10/drivers/pinctrl/samsung/ |
D | pinctrl-exynos.h | 55 .nr_pins = pins, \ 64 .nr_pins = pins, \ 74 .nr_pins = pins, \ 84 .nr_pins = pins, \ 94 .nr_pins = pins, \ 104 .nr_pins = pins, \
|
D | pinctrl-s3c64xx.c | 100 .nr_pins = pins, \ 109 .nr_pins = pins, \ 121 .nr_pins = pins, \ 133 .nr_pins = pins, \ 145 .nr_pins = pins, \ 157 .nr_pins = pins, \ 166 .nr_pins = pins, \ 175 .nr_pins = pins, \ 187 .nr_pins = pins, \
|
D | pinctrl-samsung.h | 123 u8 nr_pins; member 158 u8 nr_pins; member 287 unsigned int nr_pins; member
|
D | pinctrl-samsung.c | 366 ((b->pin_base + b->nr_pins - 1) < pin)) in pin_to_reg_bank() 870 drvdata->nr_pins, sizeof(*pindesc), in samsung_pinctrl_register() 875 ctrldesc->npins = drvdata->nr_pins; in samsung_pinctrl_register() 887 drvdata->nr_pins), in samsung_pinctrl_register() 895 for (pin = 0; pin < pin_bank->nr_pins; pin++) { in samsung_pinctrl_register() 921 pin_bank->grange.npins = pin_bank->nr_pins; in samsung_pinctrl_register() 967 gc->ngpio = bank->nr_pins; in samsung_gpiolib_register() 1053 bank->nr_pins = bdata->nr_pins; in samsung_pinctrl_get_soc_data() 1062 bank->pin_base = d->nr_pins; in samsung_pinctrl_get_soc_data() 1063 d->nr_pins += bank->nr_pins; in samsung_pinctrl_get_soc_data() [all …]
|
D | pinctrl-s3c24xx.c | 56 .nr_pins = pins, \ 65 .nr_pins = pins, \ 74 .nr_pins = pins, \ 539 bank->nr_pins, ops, ddata); in s3c24xx_eint_init()
|
D | pinctrl-exynos.c | 310 bank->nr_pins, &exynos_eint_irqd_ops, bank); in exynos_eint_gpio_init() 565 bank->nr_pins, &exynos_eint_irqd_ops, bank); in exynos_eint_wkup_init() 579 bank->nr_pins, sizeof(*weint_data), in exynos_eint_wkup_init() 586 for (idx = 0; idx < bank->nr_pins; ++idx) { in exynos_eint_wkup_init()
|
/kernel/linux/linux-5.10/drivers/pinctrl/visconti/ |
D | pinctrl-common.h | 49 unsigned int nr_pins; member 57 .nr_pins = ARRAY_SIZE(group_name ## _pins), \ 82 unsigned int nr_pins; member
|
D | pinctrl-common.c | 133 num_pins = priv->devdata->groups[selector].nr_pins; in visconti_pin_config_group_set() 178 *num_pins = priv->devdata->groups[selector].nr_pins; in visconti_get_group_pins() 278 pins = devm_kcalloc(dev, devdata->nr_pins, in visconti_pinctrl_probe() 283 for (i = 0; i < devdata->nr_pins; i++) in visconti_pinctrl_probe() 289 priv->pctl_desc.npins = devdata->nr_pins; in visconti_pinctrl_probe()
|
D | pinctrl-tmpv7700.c | 324 .nr_pins = ARRAY_SIZE(pins_tmpv7700),
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
D | pinctrl-equilibrium.c | 235 ret = bgpio_init(&gctrl->chip, dev, gctrl->bank->nr_pins / 8, in gpiolib_reg() 267 (pin - bank->pin_base) < bank->nr_pins) in find_pinbank_via_pin() 767 unsigned int nr_pins; in pinctrl_reg() local 780 for (i = 0, nr_pins = 0; i < drvdata->nr_banks; i++) in pinctrl_reg() 781 nr_pins += drvdata->pin_banks[i].nr_pins; in pinctrl_reg() 783 pdesc = devm_kcalloc(dev, nr_pins, sizeof(*pdesc), GFP_KERNEL); in pinctrl_reg() 786 pin_names = devm_kcalloc(dev, nr_pins, PIN_NAME_LEN, GFP_KERNEL); in pinctrl_reg() 790 for (i = 0; i < nr_pins; i++) { in pinctrl_reg() 797 pctl_desc->npins = nr_pins; in pinctrl_reg() 798 dev_dbg(dev, "pinctrl total pin number: %u\n", nr_pins); in pinctrl_reg() [all …]
|
D | pinctrl-equilibrium.h | 94 unsigned int nr_pins; member
|
D | pinctrl-rockchip.c | 155 u8 nr_pins; member 176 .nr_pins = pins, \ 189 .nr_pins = pins, \ 202 .nr_pins = pins, \ 223 .nr_pins = pins, \ 249 .nr_pins = pins, \ 273 .nr_pins = pins, \ 336 u32 nr_pins; member 435 while (pin >= (b->pin_base + b->nr_pins)) in pin_to_bank() 2988 info->ctrl->nr_pins, sizeof(*pindesc), in rockchip_pinctrl_register() [all …]
|
D | pinctrl-single.c | 724 int mux_bytes, nr_pins, i; in pcs_allocate_pin_table() local 731 nr_pins = (pcs->size * BITS_PER_BYTE) / pcs->bits_per_pin; in pcs_allocate_pin_table() 734 nr_pins = pcs->size / mux_bytes; in pcs_allocate_pin_table() 737 dev_dbg(pcs->dev, "allocating %i pins\n", nr_pins); in pcs_allocate_pin_table() 739 nr_pins, sizeof(*pcs->pins.pa), in pcs_allocate_pin_table() 745 pcs->desc.npins = nr_pins; in pcs_allocate_pin_table()
|
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
D | pinctrl.c | 69 *num_pins = pmx->pfc->info->groups[selector].nr_pins; in sh_pfc_get_group_pins() 356 for (i = 0; i < grp->nr_pins; ++i) { in sh_pfc_func_set_mux() 375 for (i = 0; i < grp->nr_pins; ++i) { in sh_pfc_func_set_mux() 751 num_pins = pmx->pfc->info->groups[group].nr_pins; in sh_pfc_pinconf_group_set() 777 pfc->info->nr_pins, sizeof(*pmx->pins), in sh_pfc_map_pins() 783 pfc->info->nr_pins, sizeof(*pmx->configs), in sh_pfc_map_pins() 788 for (i = 0; i < pfc->info->nr_pins; ++i) { in sh_pfc_map_pins() 821 pmx->pctl_desc.npins = pfc->info->nr_pins; in sh_pfc_register_pinctrl()
|
D | core.c | 425 pfc->ranges->end = pfc->info->nr_pins - 1; in sh_pfc_init_ranges() 426 pfc->nr_gpio_pins = pfc->info->nr_pins; in sh_pfc_init_ranges() 435 for (i = 1, nr_ranges = 1; i < pfc->info->nr_pins; ++i) { in sh_pfc_init_ranges() 449 for (i = 1; i < pfc->info->nr_pins; ++i) { in sh_pfc_init_ranges() 838 for (i = 0; i < info->nr_pins; i++) { in sh_pfc_check_pin() 926 for (i = 0; i < info->nr_pins; i++) { in sh_pfc_check_info()
|
D | gpio.c | 117 for (i = 0; i < pfc->info->nr_pins; i++) { in gpio_setup_data_regs() 222 pfc->info->nr_pins, sizeof(*chip->pins), in gpio_pin_setup()
|
D | sh_pfc.h | 48 .nr_pins = ARRAY_SIZE(n##_pins) + \ 57 unsigned int nr_pins; member 71 .nr_pins = ARRAY_SIZE(n##__VA_ARGS__##_pins.data##s), \ 278 unsigned int nr_pins; member
|
D | pfc-shx3.c | 551 .nr_pins = ARRAY_SIZE(pinmux_pins),
|
D | pfc-sh7786.c | 806 .nr_pins = ARRAY_SIZE(pinmux_pins),
|
D | pfc-r8a7791.c | 6643 .nr_pins = ARRAY_SIZE(pinmux_pins), 6665 .nr_pins = ARRAY_SIZE(pinmux_pins), 6687 .nr_pins = ARRAY_SIZE(pinmux_pins), 6711 .nr_pins = ARRAY_SIZE(pinmux_pins),
|
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 72 u8 nr_pins; member 210 .nr_pins = 36, 217 .nr_pins = 30, 813 gc->ngpio = info->data->nr_pins; in armada_37xx_gpiochip_register() 876 int n, num = 0, funcsize = info->data->nr_pins; in armada_37xx_fill_group() 903 info->data->nr_pins); in armada_37xx_fill_group() 977 pin_data->nr_pins, sizeof(*pindesc), in armada_37xx_pinctrl_register() 983 ctrldesc->npins = pin_data->nr_pins; in armada_37xx_pinctrl_register() 986 for (pin = 0; pin < pin_data->nr_pins; pin++) { in armada_37xx_pinctrl_register() 998 pin_data->nr_pins, in armada_37xx_pinctrl_register()
|
/kernel/linux/linux-5.10/include/linux/ |
D | timb_gpio.h | 21 int nr_pins; member
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-timberdale.c | 223 if (!pdata || pdata->nr_pins > 32) { in timbgpio_probe() 252 gc->ngpio = pdata->nr_pins; in timbgpio_probe() 267 for (i = 0; i < pdata->nr_pins; i++) { in timbgpio_probe()
|
/kernel/linux/linux-5.10/drivers/pinctrl/ti/ |
D | pinctrl-ti-iodelay.c | 747 int nr_pins, i; in ti_iodelay_alloc_pins() local 749 nr_pins = ti_iodelay_offset_to_pin(iod, r->regmap_config->max_register); in ti_iodelay_alloc_pins() 750 dev_dbg(dev, "Allocating %i pins\n", nr_pins); in ti_iodelay_alloc_pins() 752 iod->pa = devm_kcalloc(dev, nr_pins, sizeof(*iod->pa), GFP_KERNEL); in ti_iodelay_alloc_pins() 757 iod->desc.npins = nr_pins; in ti_iodelay_alloc_pins() 761 for (i = 0; i < nr_pins; i++, phy_reg += 4) { in ti_iodelay_alloc_pins()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | timberdale.c | 176 .nr_pins = GPIO_NR_PINS,
|