Searched refs:nr_slots (Results 1 – 15 of 15) sorted by relevance
70 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 …]
134 int nr_slots; member
110 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 …]
240 int nr_slots; member
81 sector_t nr_slots; in alloc_region_table() local108 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()
53 u32 syncpt_incrs, u32 syncval, u32 nr_slots);272 u32 syncval, u32 nr_slots) in host1x_hw_cdma_timeout_cpu_incr() argument275 nr_slots); in host1x_hw_cdma_timeout_cpu_incr()
164 int nr_slots; member277 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()
2383 unsigned int nr_slots; in atmci_probe() local2458 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()
1982 pdata->nr_slots = 1; in of_get_hsmmc_pdata()2053 if (pdata->nr_slots == 0) { in omap_hsmmc_probe()
40 u32 syncpt_incrs, u32 syncval, u32 nr_slots) in cdma_timeout_cpu_incr() argument53 while (nr_slots--) { in cdma_timeout_cpu_incr()
73 int nr_slots; member
341 bridge->nr_slots++; in acpiphp_add_context()344 sun = bridge->nr_slots; in acpiphp_add_context()352 bridge->nr_slots--; in acpiphp_add_context()
287 fmc->nr_slots = ff_nr_dev; in ff_dev_create()
205 fmc->nr_slots = n; /* each slot must know how many are there */ in fmc_device_register_n()
1005 unsigned int nr_slots, frag_overflow = 0; in xenvif_get_requests() local1015 nr_slots = shinfo->nr_frags; in xenvif_get_requests()1020 for (shinfo->nr_frags = start; shinfo->nr_frags < nr_slots; in xenvif_get_requests()