Lines Matching refs:ce
146 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_read32() local
148 return ce->bus_ops->read32(ar, offset); in ath10k_ce_read32()
153 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_write32() local
155 ce->bus_ops->write32(ar, offset, value); in ath10k_ce_write32()
191 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_src_ring_read_index_from_ddr() local
193 return ce->vaddr_rri[ce_id] & CE_DDR_RRI_MASK; in ath10k_ce_src_ring_read_index_from_ddr()
199 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_src_ring_read_index_get() local
201 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_src_ring_read_index_get()
291 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_dest_ring_read_index_from_ddr() local
293 return (ce->vaddr_rri[ce_id] >> CE_DDR_DRRI_SHIFT) & in ath10k_ce_dest_ring_read_index_from_ddr()
300 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_dest_ring_read_index_get() local
302 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_dest_ring_read_index_get()
607 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_ce_send_revert() local
611 lockdep_assert_held(&ce->ce_lock); in __ath10k_ce_send_revert()
640 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_send() local
643 spin_lock_bh(&ce->ce_lock); in ath10k_ce_send()
646 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_send()
655 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_num_free_src_entries() local
658 spin_lock_bh(&ce->ce_lock); in ath10k_ce_num_free_src_entries()
662 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_num_free_src_entries()
671 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_ce_rx_num_free_bufs() local
677 lockdep_assert_held(&ce->ce_lock); in __ath10k_ce_rx_num_free_bufs()
687 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_ce_rx_post_buf() local
696 lockdep_assert_held(&ce->ce_lock); in __ath10k_ce_rx_post_buf()
718 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_ce_rx_post_buf_64() local
728 lockdep_assert_held(&ce->ce_lock); in __ath10k_ce_rx_post_buf_64()
771 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_rx_post_buf() local
774 spin_lock_bh(&ce->ce_lock); in ath10k_ce_rx_post_buf()
776 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_rx_post_buf()
900 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_completed_recv_next() local
903 spin_lock_bh(&ce->ce_lock); in ath10k_ce_completed_recv_next()
908 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_completed_recv_next()
924 struct ath10k_ce *ce; in _ath10k_ce_revoke_recv_next() local
932 ce = ath10k_ce_priv(ar); in _ath10k_ce_revoke_recv_next()
934 spin_lock_bh(&ce->ce_lock); in _ath10k_ce_revoke_recv_next()
962 spin_unlock_bh(&ce->ce_lock); in _ath10k_ce_revoke_recv_next()
977 struct ath10k_ce *ce; in _ath10k_ce_revoke_recv_next_64() local
985 ce = ath10k_ce_priv(ar); in _ath10k_ce_revoke_recv_next_64()
987 spin_lock_bh(&ce->ce_lock); in _ath10k_ce_revoke_recv_next_64()
1016 spin_unlock_bh(&ce->ce_lock); in _ath10k_ce_revoke_recv_next_64()
1137 struct ath10k_ce *ce; in ath10k_ce_cancel_send_next() local
1145 ce = ath10k_ce_priv(ar); in ath10k_ce_cancel_send_next()
1147 spin_lock_bh(&ce->ce_lock); in ath10k_ce_cancel_send_next()
1173 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_cancel_send_next()
1183 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_completed_send_next() local
1186 spin_lock_bh(&ce->ce_lock); in ath10k_ce_completed_send_next()
1189 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_completed_send_next()
1203 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_per_engine_service() local
1204 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_per_engine_service()
1208 spin_lock_bh(&ce->ce_lock); in ath10k_ce_per_engine_service()
1214 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_per_engine_service()
1222 spin_lock_bh(&ce->ce_lock); in ath10k_ce_per_engine_service()
1230 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_per_engine_service()
1299 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_enable_interrupts() local
1307 ce_state = &ce->ce_states[ce_id]; in ath10k_ce_enable_interrupts()
1317 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_init_src_ring() local
1318 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_init_src_ring()
1358 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_init_dest_ring() local
1359 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_init_dest_ring()
1686 struct ath10k_ce *ce = ath10k_ce_priv(ar); in _ath10k_ce_free_pipe() local
1687 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in _ath10k_ce_free_pipe()
1717 struct ath10k_ce *ce = ath10k_ce_priv(ar); in _ath10k_ce_free_pipe_64() local
1718 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in _ath10k_ce_free_pipe_64()
1748 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_free_pipe() local
1749 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_free_pipe()
1758 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_dump_registers() local
1766 spin_lock_bh(&ce->ce_lock); in ath10k_ce_dump_registers()
1791 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_dump_registers()
1834 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_alloc_pipe() local
1835 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_alloc_pipe()
1898 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_alloc_rri() local
1900 ce->vaddr_rri = dma_alloc_coherent(ar->dev, in ath10k_ce_alloc_rri()
1902 &ce->paddr_rri, GFP_KERNEL); in ath10k_ce_alloc_rri()
1904 if (!ce->vaddr_rri) in ath10k_ce_alloc_rri()
1908 lower_32_bits(ce->paddr_rri)); in ath10k_ce_alloc_rri()
1910 (upper_32_bits(ce->paddr_rri) & in ath10k_ce_alloc_rri()
1921 memset(ce->vaddr_rri, 0, CE_COUNT * sizeof(u32)); in ath10k_ce_alloc_rri()
1927 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_free_rri() local
1930 ce->vaddr_rri, in ath10k_ce_free_rri()
1931 ce->paddr_rri); in ath10k_ce_free_rri()