Lines Matching defs:ring
32 struct b43legacy_dmadesc32 *op32_idx2desc(struct b43legacy_dmaring *ring, in op32_idx2desc()
45 static void op32_fill_descriptor(struct b43legacy_dmaring *ring, in op32_fill_descriptor()
80 static void op32_poke_tx(struct b43legacy_dmaring *ring, int slot) in op32_poke_tx()
86 static void op32_tx_suspend(struct b43legacy_dmaring *ring) in op32_tx_suspend()
93 static void op32_tx_resume(struct b43legacy_dmaring *ring) in op32_tx_resume()
100 static int op32_get_current_rxslot(struct b43legacy_dmaring *ring) in op32_get_current_rxslot()
110 static void op32_set_current_rxslot(struct b43legacy_dmaring *ring, in op32_set_current_rxslot()
117 static inline int free_slots(struct b43legacy_dmaring *ring) in free_slots()
122 static inline int next_slot(struct b43legacy_dmaring *ring, int slot) in next_slot()
130 static inline int prev_slot(struct b43legacy_dmaring *ring, int slot) in prev_slot()
139 static void update_max_used_slots(struct b43legacy_dmaring *ring, in update_max_used_slots()
154 void update_max_used_slots(struct b43legacy_dmaring *ring, in update_max_used_slots()
161 int request_slot(struct b43legacy_dmaring *ring) in request_slot()
183 struct b43legacy_dmaring *ring; in priority_to_txring() local
217 static inline int txring_to_priority(struct b43legacy_dmaring *ring) in txring_to_priority()
247 dma_addr_t map_descbuffer(struct b43legacy_dmaring *ring, in map_descbuffer()
267 void unmap_descbuffer(struct b43legacy_dmaring *ring, in unmap_descbuffer()
283 void sync_descbuffer_for_cpu(struct b43legacy_dmaring *ring, in sync_descbuffer_for_cpu()
294 void sync_descbuffer_for_device(struct b43legacy_dmaring *ring, in sync_descbuffer_for_device()
305 void free_descriptor_buffer(struct b43legacy_dmaring *ring, in free_descriptor_buffer()
318 static int alloc_ringmemory(struct b43legacy_dmaring *ring) in alloc_ringmemory()
330 static void free_ringmemory(struct b43legacy_dmaring *ring) in free_ringmemory()
411 static bool b43legacy_dma_mapping_error(struct b43legacy_dmaring *ring, in b43legacy_dma_mapping_error()
440 static int setup_rx_descbuffer(struct b43legacy_dmaring *ring, in setup_rx_descbuffer()
490 static int alloc_initial_descbuffers(struct b43legacy_dmaring *ring) in alloc_initial_descbuffers()
527 static int dmacontroller_setup(struct b43legacy_dmaring *ring) in dmacontroller_setup()
569 static void dmacontroller_cleanup(struct b43legacy_dmaring *ring) in dmacontroller_cleanup()
582 static void free_all_descbuffers(struct b43legacy_dmaring *ring) in free_all_descbuffers()
629 struct b43legacy_dmaring *ring; in b43legacy_setup_dmaring() local
728 static void b43legacy_destroy_dmaring(struct b43legacy_dmaring *ring) in b43legacy_destroy_dmaring()
779 struct b43legacy_dmaring *ring; in b43legacy_dma_init() local
873 static u16 generate_cookie(struct b43legacy_dmaring *ring, in generate_cookie()
916 struct b43legacy_dmaring *ring = NULL; in parse_cookie() local
946 static int dma_tx_fragment(struct b43legacy_dmaring *ring, in dma_tx_fragment()
1047 int should_inject_overflow(struct b43legacy_dmaring *ring) in should_inject_overflow()
1072 struct b43legacy_dmaring *ring; in b43legacy_dma_tx() local
1125 struct b43legacy_dmaring *ring; in b43legacy_dma_handle_txstatus() local
1241 static void dma_rx(struct b43legacy_dmaring *ring, in dma_rx()
1339 void b43legacy_dma_rx(struct b43legacy_dmaring *ring) in b43legacy_dma_rx()
1359 static void b43legacy_dma_tx_suspend_ring(struct b43legacy_dmaring *ring) in b43legacy_dma_tx_suspend_ring()
1365 static void b43legacy_dma_tx_resume_ring(struct b43legacy_dmaring *ring) in b43legacy_dma_tx_resume_ring()