Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/pinctrl/
Dpinctrl-at91-pio4.c83 unsigned int nbanks; member
128 unsigned int nbanks; member
282 for (n = 0; n < atmel_pioctrl->nbanks; n++) { in atmel_gpio_irq_handler()
349 for (bank = 0; bank < atmel_pioctrl->nbanks; bank++) { in atmel_gpio_get_multiple()
405 for (bank = 0; bank < atmel_pioctrl->nbanks; bank++) { in atmel_gpio_set_multiple()
965 for (i = 0; i < atmel_pioctrl->nbanks; i++) { in atmel_pctrl_suspend()
989 for (i = 0; i < atmel_pioctrl->nbanks; i++) { in atmel_pctrl_resume()
1014 .nbanks = 4,
1019 .nbanks = 5,
1059 atmel_pioctrl->nbanks = atmel_pioctrl_data->nbanks; in atmel_pinctrl_probe()
[all …]
Dpinctrl-st.c324 int nbanks; member
1043 info->nbanks++; in st_pctl_dt_child_count()
1176 for (i = 0; i < info->nbanks; i++) { in st_pctl_dt_calculate_pin()
1473 for_each_set_bit(n, &status, info->nbanks) in st_gpio_irqmux_handler()
1610 if (!info->nbanks) in st_pctl_probe_dt()
1613 dev_info(dev, "nbanks = %d\n", info->nbanks); in st_pctl_probe_dt()
1621 info->banks = devm_kcalloc(dev, info->nbanks, sizeof(*info->banks), GFP_KERNEL); in st_pctl_probe_dt()
1642 pctl_desc->npins = info->nbanks * ST_GPIO_PINS_PER_BANK; in st_pctl_probe_dt()
1727 for (i = 0; i < info->nbanks; i++) in st_pctl_probe()
Dpinctrl-oxnas.c96 unsigned int nbanks; member
1100 .nbanks = ARRAY_SIZE(oxnas_gpio_banks),
1119 .nbanks = ARRAY_SIZE(oxnas_gpio_banks),
1184 pctl->nbanks = data->pctl->nbanks; in oxnas_pinctrl_probe()
Dpinctrl-microchip-sgpio.c903 int div_clock = 0, ret, port, i, nbanks; in microchip_sgpio_probe() local
953 nbanks = device_get_child_node_count(dev); in microchip_sgpio_probe()
954 if (nbanks != 2) { in microchip_sgpio_probe()
955 dev_err(dev, "Must have 2 banks (have %d)\n", nbanks); in microchip_sgpio_probe()
Dpinctrl-pistachio.c113 unsigned int nbanks; member
1354 for (i = 0; i < pctl->nbanks; i++) { in pistachio_gpio_register()
1464 pctl->nbanks = ARRAY_SIZE(pistachio_gpio_banks); in pistachio_pinctrl_probe()
/Linux-v6.1/drivers/gpio/
Dgpio-uniphier.c430 unsigned int nbanks = uniphier_gpio_get_nbanks(priv->chip.ngpio); in uniphier_gpio_suspend() local
435 for (i = 0; i < nbanks; i++) { in uniphier_gpio_suspend()
452 unsigned int nbanks = uniphier_gpio_get_nbanks(priv->chip.ngpio); in uniphier_gpio_resume() local
457 for (i = 0; i < nbanks; i++) { in uniphier_gpio_resume()
Dgpio-i8255.c276 const unsigned long nbanks) in i8255_state_init() argument
280 for (bank = 0; bank < nbanks; bank++) in i8255_state_init()
Dgpio-i8255.h44 void i8255_state_init(struct i8255_state *const state, unsigned long nbanks);
Dgpio-pxa.c348 int i, gpio, nbanks = DIV_ROUND_UP(ngpio, 32); in pxa_init_gpio_chip() local
351 pchip->banks = devm_kcalloc(pchip->dev, nbanks, sizeof(*pchip->banks), in pxa_init_gpio_chip()
372 for (i = 0, gpio = 0; i < nbanks; i++, gpio += 32) { in pxa_init_gpio_chip()
/Linux-v6.1/drivers/gpu/drm/radeon/
Devergreen_cs.c43 u32 nbanks; member
102 static u32 evergreen_cs_get_num_banks(u32 nbanks) in evergreen_cs_get_num_banks() argument
104 switch (nbanks) { in evergreen_cs_get_num_banks()
175 unsigned nbanks; member
269 halign = (8 * surf->bankh * surf->nbanks) / surf->mtilea; in evergreen_surface_check_2d()
337 switch (surf->nbanks) { in evergreen_surface_value_conv_check()
338 case 0: surf->nbanks = 2; break; in evergreen_surface_value_conv_check()
339 case 1: surf->nbanks = 4; break; in evergreen_surface_value_conv_check()
340 case 2: surf->nbanks = 8; break; in evergreen_surface_value_conv_check()
341 case 3: surf->nbanks = 16; break; in evergreen_surface_value_conv_check()
[all …]
Dr600_cs.c41 u32 nbanks; member
241 u32 nbanks; member
256 u32 macro_tile_width = values->nbanks; in r600_get_array_mode_alignment()
285 (u32)((values->group_size * values->nbanks) / in r600_get_array_mode_alignment()
381 array_check.nbanks = track->nbanks; in r600_cs_track_validate_cb()
576 array_check.nbanks = track->nbanks; in r600_cs_track_validate_db()
1517 array_check.nbanks = track->nbanks; in r600_check_texture_resource()
2282 track->nbanks = p->rdev->config.r600.tiling_nbanks; in r600_cs_parse()
2286 track->nbanks = p->rdev->config.rv770.tiling_nbanks; in r600_cs_parse()
/Linux-v6.1/drivers/pinctrl/vt8500/
Dpinctrl-wmt.h61 u32 nbanks; member
Dpinctrl-wmt.c357 if (pin >= (data->nbanks * 32)) { in wmt_pctl_dt_node_to_map()
568 data->gpio_chip.ngpio = data->nbanks * 32; in wmt_pinctrl_probe()
587 0, 0, data->nbanks * 32); in wmt_pinctrl_probe()
Dpinctrl-wm8650.c326 data->nbanks = ARRAY_SIZE(wm8650_banks); in wm8650_pinctrl_probe()
Dpinctrl-wm8850.c344 data->nbanks = ARRAY_SIZE(wm8850_banks); in wm8850_pinctrl_probe()
Dpinctrl-wm8750.c365 data->nbanks = ARRAY_SIZE(wm8750_banks); in wm8750_pinctrl_probe()
Dpinctrl-vt8500.c457 data->nbanks = ARRAY_SIZE(vt8500_banks); in vt8500_pinctrl_probe()
/Linux-v6.1/drivers/mtd/nand/raw/
Ddenali.c93 for (i = 0; i < denali->nbanks; i++) in denali_enable_irq()
102 for (i = 0; i < denali->nbanks; i++) in denali_disable_irq()
118 for (i = 0; i < denali->nbanks; i++) in denali_clear_irq_all()
131 for (i = 0; i < denali->nbanks; i++) { in denali_isr()
1193 if (bank >= denali->nbanks) { in denali_chip_init()
1291 denali->nbanks = 1 << FIELD_GET(FEATURES__N_BANKS, features); in denali_init()
1295 denali->nbanks <<= 1; in denali_init()
1340 iowrite32(GENMASK(denali->nbanks - 1, 0), denali->reg + RB_PIN_ENABLED); in denali_init()
Ddenali_pci.c93 nsels = denali->nbanks; in denali_pci_probe()
Ddenali.h378 int nbanks; member
/Linux-v6.1/drivers/pinctrl/tegra/
Dpinctrl-tegra.c729 for (i = 0; i < pmx->nbanks; i++) { in tegra_pinctrl_suspend()
747 for (i = 0; i < pmx->nbanks; i++) { in tegra_pinctrl_resume()
845 pmx->nbanks = i; in tegra_pinctrl_probe()
847 pmx->regs = devm_kcalloc(&pdev->dev, pmx->nbanks, sizeof(*pmx->regs), in tegra_pinctrl_probe()
857 for (i = 0; i < pmx->nbanks; i++) { in tegra_pinctrl_probe()
Dpinctrl-tegra.h18 int nbanks; member
/Linux-v6.1/drivers/pinctrl/stm32/
Dpinctrl-stm32.c110 unsigned nbanks; member
1278 struct stm32_gpio_bank *bank = &pctl->banks[pctl->nbanks]; in stm32_gpiolib_register_bank()
1316 bank_nr = pctl->nbanks; in stm32_gpiolib_register_bank()
1618 for (i = 0; i < pctl->nbanks; i++) in stm32_pctl_probe()
1624 pctl->nbanks++; in stm32_pctl_probe()
1700 for (i = 0; i < pctl->nbanks; i++) in stm32_pinctrl_suspend()
1712 for (i = 0; i < pctl->nbanks; i++) in stm32_pinctrl_resume()
/Linux-v6.1/sound/isa/msnd/
Dmsnd.c298 int protect = start, nbanks = 0; in snd_msnd_DAPQ() local
329 ++nbanks; in snd_msnd_DAPQ()
351 return nbanks; in snd_msnd_DAPQ()
/Linux-v6.1/drivers/irqchip/
Dirq-stm32-exti.c298 unsigned int nbanks = domain->gc->num_chips; in stm32_irq_handler() local
305 for (i = 0; i < nbanks; i++, irq_base += IRQS_PER_BANK) { in stm32_irq_handler()

12