Lines Matching refs:b43_dmaring
72 struct b43_dmadesc_generic *op32_idx2desc(struct b43_dmaring *ring, in op32_idx2desc()
85 static void op32_fill_descriptor(struct b43_dmaring *ring, in op32_fill_descriptor()
118 static void op32_poke_tx(struct b43_dmaring *ring, int slot) in op32_poke_tx()
124 static void op32_tx_suspend(struct b43_dmaring *ring) in op32_tx_suspend()
130 static void op32_tx_resume(struct b43_dmaring *ring) in op32_tx_resume()
136 static int op32_get_current_rxslot(struct b43_dmaring *ring) in op32_get_current_rxslot()
146 static void op32_set_current_rxslot(struct b43_dmaring *ring, int slot) in op32_set_current_rxslot()
164 struct b43_dmadesc_generic *op64_idx2desc(struct b43_dmaring *ring, in op64_idx2desc()
177 static void op64_fill_descriptor(struct b43_dmaring *ring, in op64_fill_descriptor()
213 static void op64_poke_tx(struct b43_dmaring *ring, int slot) in op64_poke_tx()
219 static void op64_tx_suspend(struct b43_dmaring *ring) in op64_tx_suspend()
225 static void op64_tx_resume(struct b43_dmaring *ring) in op64_tx_resume()
231 static int op64_get_current_rxslot(struct b43_dmaring *ring) in op64_get_current_rxslot()
241 static void op64_set_current_rxslot(struct b43_dmaring *ring, int slot) in op64_set_current_rxslot()
257 static inline int free_slots(struct b43_dmaring *ring) in free_slots()
262 static inline int next_slot(struct b43_dmaring *ring, int slot) in next_slot()
270 static inline int prev_slot(struct b43_dmaring *ring, int slot) in prev_slot()
279 static void update_max_used_slots(struct b43_dmaring *ring, in update_max_used_slots()
294 void update_max_used_slots(struct b43_dmaring *ring, int current_used_slots) in update_max_used_slots()
300 static inline int request_slot(struct b43_dmaring *ring) in request_slot()
347 dma_addr_t map_descbuffer(struct b43_dmaring *ring, in map_descbuffer()
364 void unmap_descbuffer(struct b43_dmaring *ring, in unmap_descbuffer()
377 void sync_descbuffer_for_cpu(struct b43_dmaring *ring, in sync_descbuffer_for_cpu()
386 void sync_descbuffer_for_device(struct b43_dmaring *ring, in sync_descbuffer_for_device()
395 void free_descriptor_buffer(struct b43_dmaring *ring, in free_descriptor_buffer()
407 static int alloc_ringmemory(struct b43_dmaring *ring) in alloc_ringmemory()
430 static void free_ringmemory(struct b43_dmaring *ring) in free_ringmemory()
538 static bool b43_dma_mapping_error(struct b43_dmaring *ring, in b43_dma_mapping_error()
570 static bool b43_rx_buffer_is_poisoned(struct b43_dmaring *ring, struct sk_buff *skb) in b43_rx_buffer_is_poisoned()
577 static void b43_poison_rx_buffer(struct b43_dmaring *ring, struct sk_buff *skb) in b43_poison_rx_buffer()
592 static int setup_rx_descbuffer(struct b43_dmaring *ring, in setup_rx_descbuffer()
636 static int alloc_initial_descbuffers(struct b43_dmaring *ring) in alloc_initial_descbuffers()
672 static int dmacontroller_setup(struct b43_dmaring *ring) in dmacontroller_setup()
753 static void dmacontroller_cleanup(struct b43_dmaring *ring) in dmacontroller_cleanup()
774 static void free_all_descbuffers(struct b43_dmaring *ring) in free_all_descbuffers()
832 struct b43_dmaring *b43_setup_dmaring(struct b43_wldev *dev, in b43_setup_dmaring()
837 struct b43_dmaring *ring; in b43_setup_dmaring()
966 static void b43_destroy_dmaring(struct b43_dmaring *ring, in b43_destroy_dmaring()
1136 static u16 generate_cookie(struct b43_dmaring *ring, int slot) in generate_cookie()
1157 struct b43_dmaring *parse_cookie(struct b43_wldev *dev, u16 cookie, int *slot) in parse_cookie()
1160 struct b43_dmaring *ring = NULL; in parse_cookie()
1189 static int dma_tx_fragment(struct b43_dmaring *ring, in dma_tx_fragment()
1288 static inline int should_inject_overflow(struct b43_dmaring *ring) in should_inject_overflow()
1310 static struct b43_dmaring *select_ring_by_priority(struct b43_wldev *dev, in select_ring_by_priority()
1313 struct b43_dmaring *ring; in select_ring_by_priority()
1342 struct b43_dmaring *ring; in b43_dma_tx()
1418 struct b43_dmaring *ring; in b43_dma_handle_txstatus()
1582 static void dma_rx(struct b43_dmaring *ring, int *slot) in dma_rx()
1668 void b43_dma_handle_rx_overflow(struct b43_dmaring *ring) in b43_dma_handle_rx_overflow()
1687 void b43_dma_rx(struct b43_dmaring *ring) in b43_dma_rx()
1707 static void b43_dma_tx_suspend_ring(struct b43_dmaring *ring) in b43_dma_tx_suspend_ring()
1713 static void b43_dma_tx_resume_ring(struct b43_dmaring *ring) in b43_dma_tx_resume_ring()