Searched refs:used_slots (Results 1 – 6 of 6) sorted by relevance
132 return (ring->nr_slots - ring->used_slots); in free_slots()184 ring->used_slots++; in request_slot()186 update_max_used_slots(ring, ring->used_slots); in request_slot()526 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()605 if (!ring->used_slots) in free_all_descbuffers()1035 old_used_slots = ring->used_slots; in dma_tx_fragment()1049 ring->used_slots = old_used_slots; in dma_tx_fragment()1058 ring->used_slots = old_used_slots; in dma_tx_fragment()1078 ring->used_slots = old_used_slots; in dma_tx_fragment()1096 ring->used_slots = old_used_slots; in dma_tx_fragment()[all …]
136 int used_slots; member
272 return (ring->nr_slots - ring->used_slots); in free_slots()323 ring->used_slots++; in request_slot()325 update_max_used_slots(ring, ring->used_slots); in request_slot()671 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()797 if (!ring->used_slots) in free_all_descbuffers()1280 old_used_slots = ring->used_slots; in dma_tx_fragment()1293 ring->used_slots = old_used_slots; in dma_tx_fragment()1301 ring->used_slots = old_used_slots; in dma_tx_fragment()1323 ring->used_slots = old_used_slots; in dma_tx_fragment()1333 ring->used_slots = old_used_slots; in dma_tx_fragment()[all …]
242 int used_slots; member
540 unsigned int used_slots; member1277 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()1278 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()1281 np->tx_info[entry].used_slots = 1; in start_tx()1282 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()1376 np->dirty_tx += np->tx_info[entry].used_slots; in intr_handler()1377 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in intr_handler()
1263 size_t slots = 0, used_slots = 0; in i2400m_fw_check() local1291 if (used_slots + 1 >= slots) { in i2400m_fw_check()1302 i2400m->fw_hdrs[used_slots] = bcf_hdr; in i2400m_fw_check()1303 used_slots++; in i2400m_fw_check()