Lines Matching refs:b43legacy_dmaring
46 struct b43legacy_dmaring *ring, in op32_idx2desc()
59 static void op32_fill_descriptor(struct b43legacy_dmaring *ring, in op32_fill_descriptor()
94 static void op32_poke_tx(struct b43legacy_dmaring *ring, int slot) in op32_poke_tx()
100 static void op32_tx_suspend(struct b43legacy_dmaring *ring) in op32_tx_suspend()
107 static void op32_tx_resume(struct b43legacy_dmaring *ring) in op32_tx_resume()
114 static int op32_get_current_rxslot(struct b43legacy_dmaring *ring) in op32_get_current_rxslot()
124 static void op32_set_current_rxslot(struct b43legacy_dmaring *ring, in op32_set_current_rxslot()
144 struct b43legacy_dmaring *ring, in op64_idx2desc()
158 static void op64_fill_descriptor(struct b43legacy_dmaring *ring, in op64_fill_descriptor()
198 static void op64_poke_tx(struct b43legacy_dmaring *ring, int slot) in op64_poke_tx()
204 static void op64_tx_suspend(struct b43legacy_dmaring *ring) in op64_tx_suspend()
211 static void op64_tx_resume(struct b43legacy_dmaring *ring) in op64_tx_resume()
218 static int op64_get_current_rxslot(struct b43legacy_dmaring *ring) in op64_get_current_rxslot()
228 static void op64_set_current_rxslot(struct b43legacy_dmaring *ring, in op64_set_current_rxslot()
246 static inline int free_slots(struct b43legacy_dmaring *ring) in free_slots()
251 static inline int next_slot(struct b43legacy_dmaring *ring, int slot) in next_slot()
259 static inline int prev_slot(struct b43legacy_dmaring *ring, int slot) in prev_slot()
268 static void update_max_used_slots(struct b43legacy_dmaring *ring, in update_max_used_slots()
283 void update_max_used_slots(struct b43legacy_dmaring *ring, in update_max_used_slots()
290 int request_slot(struct b43legacy_dmaring *ring) in request_slot()
308 static struct b43legacy_dmaring *priority_to_txring( in priority_to_txring()
312 struct b43legacy_dmaring *ring; in priority_to_txring()
346 static inline int txring_to_priority(struct b43legacy_dmaring *ring) in txring_to_priority()
389 dma_addr_t map_descbuffer(struct b43legacy_dmaring *ring, in map_descbuffer()
409 void unmap_descbuffer(struct b43legacy_dmaring *ring, in unmap_descbuffer()
425 void sync_descbuffer_for_cpu(struct b43legacy_dmaring *ring, in sync_descbuffer_for_cpu()
436 void sync_descbuffer_for_device(struct b43legacy_dmaring *ring, in sync_descbuffer_for_device()
447 void free_descriptor_buffer(struct b43legacy_dmaring *ring, in free_descriptor_buffer()
460 static int alloc_ringmemory(struct b43legacy_dmaring *ring) in alloc_ringmemory()
477 static void free_ringmemory(struct b43legacy_dmaring *ring) in free_ringmemory()
587 static bool b43legacy_dma_mapping_error(struct b43legacy_dmaring *ring, in b43legacy_dma_mapping_error()
619 static int setup_rx_descbuffer(struct b43legacy_dmaring *ring, in setup_rx_descbuffer()
670 static int alloc_initial_descbuffers(struct b43legacy_dmaring *ring) in alloc_initial_descbuffers()
707 static int dmacontroller_setup(struct b43legacy_dmaring *ring) in dmacontroller_setup()
797 static void dmacontroller_cleanup(struct b43legacy_dmaring *ring) in dmacontroller_cleanup()
818 static void free_all_descbuffers(struct b43legacy_dmaring *ring) in free_all_descbuffers()
877 struct b43legacy_dmaring *b43legacy_setup_dmaring(struct b43legacy_wldev *dev, in b43legacy_setup_dmaring()
882 struct b43legacy_dmaring *ring; in b43legacy_setup_dmaring()
986 static void b43legacy_destroy_dmaring(struct b43legacy_dmaring *ring) in b43legacy_destroy_dmaring()
1077 struct b43legacy_dmaring *ring; in b43legacy_dma_init()
1173 static u16 generate_cookie(struct b43legacy_dmaring *ring, in generate_cookie()
1212 struct b43legacy_dmaring *parse_cookie(struct b43legacy_wldev *dev, in parse_cookie()
1216 struct b43legacy_dmaring *ring = NULL; in parse_cookie()
1246 static int dma_tx_fragment(struct b43legacy_dmaring *ring, in dma_tx_fragment()
1348 int should_inject_overflow(struct b43legacy_dmaring *ring) in should_inject_overflow()
1373 struct b43legacy_dmaring *ring; in b43legacy_dma_tx()
1437 struct b43legacy_dmaring *ring; in b43legacy_dma_handle_txstatus()
1533 static void dma_rx(struct b43legacy_dmaring *ring, in dma_rx()
1632 void b43legacy_dma_rx(struct b43legacy_dmaring *ring) in b43legacy_dma_rx()
1653 static void b43legacy_dma_tx_suspend_ring(struct b43legacy_dmaring *ring) in b43legacy_dma_tx_suspend_ring()
1663 static void b43legacy_dma_tx_resume_ring(struct b43legacy_dmaring *ring) in b43legacy_dma_tx_resume_ring()