Searched refs:nr_slots (Results 1 – 12 of 12) sorted by relevance
57 B43legacy_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor()65 if (slot == ring->nr_slots - 1) in op32_fill_descriptor()119 return (ring->nr_slots - ring->used_slots); in free_slots()124 B43legacy_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1)); in next_slot()125 if (slot == ring->nr_slots - 1) in next_slot()132 B43legacy_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1)); in prev_slot()134 return ring->nr_slots - 1; in prev_slot()497 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers()508 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()589 for (i = 0; i < ring->nr_slots; i++) { in free_all_descbuffers()[all …]
135 int nr_slots; member
97 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor()103 if (slot == ring->nr_slots - 1) in op32_fill_descriptor()189 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op64_fill_descriptor()195 if (slot == ring->nr_slots - 1) in op64_fill_descriptor()259 return (ring->nr_slots - ring->used_slots); in free_slots()264 B43_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1)); in next_slot()265 if (slot == ring->nr_slots - 1) in next_slot()272 B43_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1)); in prev_slot()274 return ring->nr_slots - 1; in prev_slot()642 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers()[all …]
241 int nr_slots; member
80 sector_t nr_slots; in alloc_region_table() local107 nr_slots = nr_regions; in alloc_region_table()108 if (sector_div(nr_slots, sctx->region_entries_per_slot)) in alloc_region_table()109 nr_slots++; in alloc_region_table()111 if (nr_slots > ULONG_MAX / sizeof(region_table_slot_t)) { in alloc_region_table()116 sctx->region_table = vmalloc(array_size(nr_slots, in alloc_region_table()
45 u32 syncpt_incrs, u32 syncval, u32 nr_slots);292 u32 syncval, u32 nr_slots) in host1x_hw_cdma_timeout_cpu_incr() argument295 nr_slots); in host1x_hw_cdma_timeout_cpu_incr()
161 int nr_slots; member274 for (i = 0; i < host->nr_slots; i++) { in mmc_omap_release_slot()860 BUG_ON(num >= host->nr_slots); in omap_mmc_notify_cover_event()863 if (host->nr_slots == 0 || !host->slots[num]) in omap_mmc_notify_cover_event()1335 if (pdata->nr_slots == 0) { in mmc_omap_probe()1425 host->nr_slots = pdata->nr_slots; in mmc_omap_probe()1434 for (i = 0; i < pdata->nr_slots; i++) { in mmc_omap_probe()1472 for (i = 0; i < host->nr_slots; i++) in mmc_omap_remove()
2454 unsigned int nr_slots; in atmci_probe() local2539 nr_slots = 0; in atmci_probe()2545 nr_slots++; in atmci_probe()2553 nr_slots++; in atmci_probe()2560 if (!nr_slots) { in atmci_probe()2578 host->mapbase, irq, nr_slots); in atmci_probe()
389 unsigned int nr_slots; in xenvif_get_requests() local394 nr_slots = shinfo->nr_frags + frag_overflow + 1; in xenvif_get_requests()449 nr_slots--; in xenvif_get_requests()460 for (shinfo->nr_frags = 0; nr_slots > 0 && shinfo->nr_frags < MAX_SKB_FRAGS; in xenvif_get_requests()461 nr_slots--) { in xenvif_get_requests()482 if (nr_slots > 0) { in xenvif_get_requests()487 for (shinfo->nr_frags = 0; shinfo->nr_frags < nr_slots; ++txp) { in xenvif_get_requests()
63 int nr_slots; member
307 bridge->nr_slots++; in acpiphp_add_context()310 sun = bridge->nr_slots; in acpiphp_add_context()318 bridge->nr_slots--; in acpiphp_add_context()
29 u32 syncpt_incrs, u32 syncval, u32 nr_slots) in cdma_timeout_cpu_incr() argument