Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/
H A Dpinctrl-at91-pio4.c87 unsigned int nbanks; member
132 unsigned int nbanks; member
286 for (n = 0; n < atmel_pioctrl->nbanks; n++) { in atmel_gpio_irq_handler()
353 for (bank = 0; bank < atmel_pioctrl->nbanks; bank++) { in atmel_gpio_get_multiple()
409 for (bank = 0; bank < atmel_pioctrl->nbanks; bank++) { in atmel_gpio_set_multiple()
997 for (i = 0; i < atmel_pioctrl->nbanks; i++) { in atmel_pctrl_suspend()
1021 for (i = 0; i < atmel_pioctrl->nbanks; i++) { in atmel_pctrl_resume()
1046 .nbanks = 4,
1051 .nbanks = 5,
1095 atmel_pioctrl->nbanks = atmel_pioctrl_data->nbanks; in atmel_pinctrl_probe()
[all …]
H A Dpinctrl-st.c329 int nbanks; member
1040 info->nbanks++; in st_pctl_dt_child_count()
1173 for (i = 0; i < info->nbanks; i++) { in st_pctl_dt_calculate_pin()
1463 for_each_set_bit(n, &status, info->nbanks) in st_gpio_irqmux_handler()
1599 if (!info->nbanks) in st_pctl_probe_dt()
1602 dev_info(dev, "nbanks = %d\n", info->nbanks); in st_pctl_probe_dt()
1610 info->banks = devm_kcalloc(dev, info->nbanks, sizeof(*info->banks), GFP_KERNEL); in st_pctl_probe_dt()
1631 pctl_desc->npins = info->nbanks * ST_GPIO_PINS_PER_BANK; in st_pctl_probe_dt()
1711 for (i = 0; i < info->nbanks; i++) in st_pctl_probe()
H A Dpinctrl-microchip-sgpio.c906 int div_clock = 0, ret, port, i, nbanks; in microchip_sgpio_probe() local
956 nbanks = device_get_child_node_count(dev); in microchip_sgpio_probe()
957 if (nbanks != 2) { in microchip_sgpio_probe()
958 dev_err(dev, "Must have 2 banks (have %d)\n", nbanks); in microchip_sgpio_probe()
H A Dpinctrl-pistachio.c114 unsigned int nbanks; member
1369 for (i = 0; i < pctl->nbanks; i++) { in pistachio_gpio_register()
1479 pctl->nbanks = ARRAY_SIZE(pistachio_gpio_banks); in pistachio_pinctrl_probe()
H A Dpinctrl-pic32.c79 unsigned int nbanks; member
2196 pctl->nbanks = ARRAY_SIZE(pic32_gpio_banks); in pic32_pinctrl_probe()
/linux/drivers/gpio/
H A Dgpio-uniphier.c428 unsigned int nbanks = uniphier_gpio_get_nbanks(priv->chip.ngpio); in uniphier_gpio_suspend() local
433 for (i = 0; i < nbanks; i++) { in uniphier_gpio_suspend()
450 unsigned int nbanks = uniphier_gpio_get_nbanks(priv->chip.ngpio); in uniphier_gpio_resume() local
455 for (i = 0; i < nbanks; i++) { in uniphier_gpio_resume()
H A Dgpio-pxa.c343 int i, gpio, nbanks = DIV_ROUND_UP(ngpio, 32); in pxa_init_gpio_chip() local
346 pchip->banks = devm_kcalloc(pchip->dev, nbanks, sizeof(*pchip->banks), in pxa_init_gpio_chip()
367 for (i = 0, gpio = 0; i < nbanks; i++, gpio += 32) { in pxa_init_gpio_chip()
/linux/drivers/gpu/drm/radeon/
H A Devergreen_cs.c45 u32 nbanks; member
104 static u32 evergreen_cs_get_num_banks(u32 nbanks) in evergreen_cs_get_num_banks() argument
106 switch (nbanks) { in evergreen_cs_get_num_banks()
177 unsigned nbanks; member
271 halign = (8 * surf->bankh * surf->nbanks) / surf->mtilea; in evergreen_surface_check_2d()
339 switch (surf->nbanks) { in evergreen_surface_value_conv_check()
340 case 0: surf->nbanks = 2; break; in evergreen_surface_value_conv_check()
341 case 1: surf->nbanks = 4; break; in evergreen_surface_value_conv_check()
342 case 2: surf->nbanks = 8; break; in evergreen_surface_value_conv_check()
343 case 3: surf->nbanks = 16; break; in evergreen_surface_value_conv_check()
[all …]
H A 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/drivers/mtd/nand/raw/
H A 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()
H A Ddenali_pci.c95 nsels = denali->nbanks; in denali_pci_probe()
H A Ddenali.h378 int nbanks; member
/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra.c724 for (i = 0; i < pmx->nbanks; i++) { in tegra_pinctrl_suspend()
742 for (i = 0; i < pmx->nbanks; i++) { in tegra_pinctrl_resume()
851 pmx->nbanks = i; in tegra_pinctrl_probe()
853 pmx->regs = devm_kcalloc(&pdev->dev, pmx->nbanks, sizeof(*pmx->regs), in tegra_pinctrl_probe()
863 for (i = 0; i < pmx->nbanks; i++) { in tegra_pinctrl_probe()
H A Dpinctrl-tegra.h21 int nbanks; member
/linux/drivers/pinctrl/vt8500/
H A Dpinctrl-wmt.h61 u32 nbanks; member
H A Dpinctrl-wmt.c357 if (pin >= (data->nbanks * 32)) { in wmt_pctl_dt_node_to_map()
563 data->gpio_chip.ngpio = data->nbanks * 32; in wmt_pinctrl_probe()
582 0, 0, data->nbanks * 32); in wmt_pinctrl_probe()
H A Dpinctrl-wm8650.c326 data->nbanks = ARRAY_SIZE(wm8650_banks); in wm8650_pinctrl_probe()
H A Dpinctrl-wm8850.c344 data->nbanks = ARRAY_SIZE(wm8850_banks); in wm8850_pinctrl_probe()
H A Dpinctrl-wm8750.c365 data->nbanks = ARRAY_SIZE(wm8750_banks); in wm8750_pinctrl_probe()
H A Dpinctrl-vt8500.c457 data->nbanks = ARRAY_SIZE(vt8500_banks); in vt8500_pinctrl_probe()
H A Dpinctrl-wm8505.c488 data->nbanks = ARRAY_SIZE(wm8505_banks); in wm8505_pinctrl_probe()
/linux/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.c111 unsigned nbanks; member
1290 struct stm32_gpio_bank *bank = &pctl->banks[pctl->nbanks]; in stm32_gpiolib_register_bank()
1330 bank_nr = pctl->nbanks; in stm32_gpiolib_register_bank()
1649 for (i = 0; i < pctl->nbanks; i++) in stm32_pctl_probe()
1655 pctl->nbanks++; in stm32_pctl_probe()
1731 for (i = 0; i < pctl->nbanks; i++) in stm32_pinctrl_suspend()
1743 for (i = 0; i < pctl->nbanks; i++) in stm32_pinctrl_resume()
/linux/drivers/irqchip/
H A Dirq-stm32-exti.c120 unsigned int nbanks = domain->gc->num_chips; in stm32_irq_handler() local
127 for (i = 0; i < nbanks; i++, irq_base += IRQS_PER_BANK) { in stm32_irq_handler()
/linux/sound/isa/msnd/
H A Dmsnd.c298 int protect = start, nbanks = 0; in snd_msnd_DAPQ() local
329 ++nbanks; in snd_msnd_DAPQ()
341 return nbanks; in snd_msnd_DAPQ()