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
234 dma_addr_t map_descbuffer(struct b43legacy_dmaring *ring, in map_descbuffer()
254 void unmap_descbuffer(struct b43legacy_dmaring *ring, in unmap_descbuffer()
270 void sync_descbuffer_for_cpu(struct b43legacy_dmaring *ring, in sync_descbuffer_for_cpu()
281 void sync_descbuffer_for_device(struct b43legacy_dmaring *ring, in sync_descbuffer_for_device()
292 void free_descriptor_buffer(struct b43legacy_dmaring *ring, in free_descriptor_buffer()
305 static int alloc_ringmemory(struct b43legacy_dmaring *ring) in alloc_ringmemory()
317 static void free_ringmemory(struct b43legacy_dmaring *ring) in free_ringmemory()
398 static bool b43legacy_dma_mapping_error(struct b43legacy_dmaring *ring, in b43legacy_dma_mapping_error()
427 static int setup_rx_descbuffer(struct b43legacy_dmaring *ring, in setup_rx_descbuffer()
477 static int alloc_initial_descbuffers(struct b43legacy_dmaring *ring) in alloc_initial_descbuffers()
514 static int dmacontroller_setup(struct b43legacy_dmaring *ring) in dmacontroller_setup()
556 static void dmacontroller_cleanup(struct b43legacy_dmaring *ring) in dmacontroller_cleanup()
569 static void free_all_descbuffers(struct b43legacy_dmaring *ring) in free_all_descbuffers()
616 struct b43legacy_dmaring *ring; in b43legacy_setup_dmaring() local
715 static void b43legacy_destroy_dmaring(struct b43legacy_dmaring *ring) in b43legacy_destroy_dmaring()
766 struct b43legacy_dmaring *ring; in b43legacy_dma_init() local
860 static u16 generate_cookie(struct b43legacy_dmaring *ring, in generate_cookie()
903 struct b43legacy_dmaring *ring = NULL; in parse_cookie() local
933 static int dma_tx_fragment(struct b43legacy_dmaring *ring, in dma_tx_fragment()
1034 int should_inject_overflow(struct b43legacy_dmaring *ring) in should_inject_overflow()
1059 struct b43legacy_dmaring *ring; in b43legacy_dma_tx() local
1112 struct b43legacy_dmaring *ring; in b43legacy_dma_handle_txstatus() local
1228 static void dma_rx(struct b43legacy_dmaring *ring, in dma_rx()
1326 void b43legacy_dma_rx(struct b43legacy_dmaring *ring) in b43legacy_dma_rx()
1346 static void b43legacy_dma_tx_suspend_ring(struct b43legacy_dmaring *ring) in b43legacy_dma_tx_suspend_ring()
1352 static void b43legacy_dma_tx_resume_ring(struct b43legacy_dmaring *ring) in b43legacy_dma_tx_resume_ring()