Home
last modified time | relevance | path

Searched refs:nr_slots (Results 1 – 15 of 15) sorted by relevance

/drivers/net/wireless/b43legacy/
Ddma.c70 B43legacy_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor()
78 if (slot == ring->nr_slots - 1) in op32_fill_descriptor()
132 return (ring->nr_slots - ring->used_slots); in free_slots()
137 B43legacy_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1)); in next_slot()
138 if (slot == ring->nr_slots - 1) in next_slot()
145 B43legacy_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1)); in prev_slot()
147 return ring->nr_slots - 1; in prev_slot()
510 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers()
521 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()
602 for (i = 0; i < ring->nr_slots; i++) { in free_all_descbuffers()
[all …]
Ddma.h134 int nr_slots; member
/drivers/net/wireless/b43/
Ddma.c110 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor()
116 if (slot == ring->nr_slots - 1) in op32_fill_descriptor()
202 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op64_fill_descriptor()
208 if (slot == ring->nr_slots - 1) in op64_fill_descriptor()
272 return (ring->nr_slots - ring->used_slots); in free_slots()
277 B43_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1)); in next_slot()
278 if (slot == ring->nr_slots - 1) in next_slot()
285 B43_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1)); in prev_slot()
287 return ring->nr_slots - 1; in prev_slot()
655 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers()
[all …]
Ddma.h240 int nr_slots; member
/drivers/md/
Ddm-switch.c81 sector_t nr_slots; in alloc_region_table() local
108 nr_slots = nr_regions; in alloc_region_table()
109 if (sector_div(nr_slots, sctx->region_entries_per_slot)) in alloc_region_table()
110 nr_slots++; in alloc_region_table()
112 if (nr_slots > ULONG_MAX / sizeof(region_table_slot_t)) { in alloc_region_table()
117 sctx->region_table = vmalloc(nr_slots * sizeof(region_table_slot_t)); in alloc_region_table()
/drivers/gpu/host1x/
Ddev.h53 u32 syncpt_incrs, u32 syncval, u32 nr_slots);
272 u32 syncval, u32 nr_slots) in host1x_hw_cdma_timeout_cpu_incr() argument
275 nr_slots); in host1x_hw_cdma_timeout_cpu_incr()
/drivers/mmc/host/
Domap.c164 int nr_slots; member
277 for (i = 0; i < host->nr_slots; i++) { in mmc_omap_release_slot()
863 BUG_ON(num >= host->nr_slots); in omap_mmc_notify_cover_event()
866 if (host->nr_slots == 0 || !host->slots[num]) in omap_mmc_notify_cover_event()
1332 if (pdata->nr_slots == 0) { in mmc_omap_probe()
1418 host->nr_slots = pdata->nr_slots; in mmc_omap_probe()
1425 for (i = 0; i < pdata->nr_slots; i++) { in mmc_omap_probe()
1463 for (i = 0; i < host->nr_slots; i++) in mmc_omap_remove()
Datmel-mci.c2383 unsigned int nr_slots; in atmci_probe() local
2458 nr_slots = 0; in atmci_probe()
2464 nr_slots++; in atmci_probe()
2472 nr_slots++; in atmci_probe()
2479 if (!nr_slots) { in atmci_probe()
2497 host->mapbase, irq, nr_slots); in atmci_probe()
Domap_hsmmc.c1982 pdata->nr_slots = 1; in of_get_hsmmc_pdata()
2053 if (pdata->nr_slots == 0) { in omap_hsmmc_probe()
/drivers/gpu/host1x/hw/
Dcdma_hw.c40 u32 syncpt_incrs, u32 syncval, u32 nr_slots) in cdma_timeout_cpu_incr() argument
53 while (nr_slots--) { in cdma_timeout_cpu_incr()
/drivers/pci/hotplug/
Dacpiphp.h73 int nr_slots; member
Dacpiphp_glue.c341 bridge->nr_slots++; in acpiphp_add_context()
344 sun = bridge->nr_slots; in acpiphp_add_context()
352 bridge->nr_slots--; in acpiphp_add_context()
/drivers/fmc/
Dfmc-fakedev.c287 fmc->nr_slots = ff_nr_dev; in ff_dev_create()
Dfmc-core.c205 fmc->nr_slots = n; /* each slot must know how many are there */ in fmc_device_register_n()
/drivers/net/xen-netback/
Dnetback.c1005 unsigned int nr_slots, frag_overflow = 0; in xenvif_get_requests() local
1015 nr_slots = shinfo->nr_frags; in xenvif_get_requests()
1020 for (shinfo->nr_frags = start; shinfo->nr_frags < nr_slots; in xenvif_get_requests()