Lines Matching refs:b43legacy_dmaring

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()
131 static void update_max_used_slots(struct b43legacy_dmaring *ring, in update_max_used_slots()
146 void update_max_used_slots(struct b43legacy_dmaring *ring, in update_max_used_slots()
153 int request_slot(struct b43legacy_dmaring *ring) in request_slot()
171 static struct b43legacy_dmaring *priority_to_txring( in priority_to_txring()
175 struct b43legacy_dmaring *ring; in priority_to_txring()
226 dma_addr_t map_descbuffer(struct b43legacy_dmaring *ring, in map_descbuffer()
246 void unmap_descbuffer(struct b43legacy_dmaring *ring, in unmap_descbuffer()
262 void sync_descbuffer_for_cpu(struct b43legacy_dmaring *ring, in sync_descbuffer_for_cpu()
273 void sync_descbuffer_for_device(struct b43legacy_dmaring *ring, in sync_descbuffer_for_device()
284 void free_descriptor_buffer(struct b43legacy_dmaring *ring, in free_descriptor_buffer()
297 static int alloc_ringmemory(struct b43legacy_dmaring *ring) in alloc_ringmemory()
309 static void free_ringmemory(struct b43legacy_dmaring *ring) in free_ringmemory()
390 static bool b43legacy_dma_mapping_error(struct b43legacy_dmaring *ring, in b43legacy_dma_mapping_error()
419 static int setup_rx_descbuffer(struct b43legacy_dmaring *ring, in setup_rx_descbuffer()
469 static int alloc_initial_descbuffers(struct b43legacy_dmaring *ring) in alloc_initial_descbuffers()
506 static int dmacontroller_setup(struct b43legacy_dmaring *ring) in dmacontroller_setup()
548 static void dmacontroller_cleanup(struct b43legacy_dmaring *ring) in dmacontroller_cleanup()
561 static void free_all_descbuffers(struct b43legacy_dmaring *ring) in free_all_descbuffers()
603 struct b43legacy_dmaring *b43legacy_setup_dmaring(struct b43legacy_wldev *dev, in b43legacy_setup_dmaring()
608 struct b43legacy_dmaring *ring; in b43legacy_setup_dmaring()
707 static void b43legacy_destroy_dmaring(struct b43legacy_dmaring *ring) in b43legacy_destroy_dmaring()
758 struct b43legacy_dmaring *ring; in b43legacy_dma_init()
852 static u16 generate_cookie(struct b43legacy_dmaring *ring, in generate_cookie()
891 struct b43legacy_dmaring *parse_cookie(struct b43legacy_wldev *dev, in parse_cookie()
895 struct b43legacy_dmaring *ring = NULL; in parse_cookie()
925 static int dma_tx_fragment(struct b43legacy_dmaring *ring, in dma_tx_fragment()
1026 int should_inject_overflow(struct b43legacy_dmaring *ring) in should_inject_overflow()
1051 struct b43legacy_dmaring *ring; in b43legacy_dma_tx()
1104 struct b43legacy_dmaring *ring; in b43legacy_dma_handle_txstatus()
1220 static void dma_rx(struct b43legacy_dmaring *ring, in dma_rx()
1318 void b43legacy_dma_rx(struct b43legacy_dmaring *ring) in b43legacy_dma_rx()
1338 static void b43legacy_dma_tx_suspend_ring(struct b43legacy_dmaring *ring) in b43legacy_dma_tx_suspend_ring()
1344 static void b43legacy_dma_tx_resume_ring(struct b43legacy_dmaring *ring) in b43legacy_dma_tx_resume_ring()