Lines Matching refs:ce
89 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_read32() local
91 return ce->bus_ops->read32(ar, offset); in ath10k_ce_read32()
96 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_write32() local
98 ce->bus_ops->write32(ar, offset, value); in ath10k_ce_write32()
134 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_src_ring_read_index_from_ddr() local
136 return ce->vaddr_rri[ce_id] & CE_DDR_RRI_MASK; in ath10k_ce_src_ring_read_index_from_ddr()
142 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_src_ring_read_index_get() local
144 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_src_ring_read_index_get()
169 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_src_ring_base_addr_set() local
170 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_src_ring_base_addr_set()
246 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_dest_ring_read_index_from_ddr() local
248 return (ce->vaddr_rri[ce_id] >> CE_DDR_DRRI_SHIFT) & in ath10k_ce_dest_ring_read_index_from_ddr()
255 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_dest_ring_read_index_get() local
257 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_dest_ring_read_index_get()
274 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_dest_ring_base_addr_set() local
275 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_dest_ring_base_addr_set()
574 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_ce_send_revert() local
578 lockdep_assert_held(&ce->ce_lock); in __ath10k_ce_send_revert()
607 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_send() local
610 spin_lock_bh(&ce->ce_lock); in ath10k_ce_send()
613 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_send()
622 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_num_free_src_entries() local
625 spin_lock_bh(&ce->ce_lock); in ath10k_ce_num_free_src_entries()
629 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_num_free_src_entries()
638 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_ce_rx_num_free_bufs() local
644 lockdep_assert_held(&ce->ce_lock); in __ath10k_ce_rx_num_free_bufs()
654 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_ce_rx_post_buf() local
663 lockdep_assert_held(&ce->ce_lock); in __ath10k_ce_rx_post_buf()
685 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_ce_rx_post_buf_64() local
695 lockdep_assert_held(&ce->ce_lock); in __ath10k_ce_rx_post_buf_64()
738 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_rx_post_buf() local
741 spin_lock_bh(&ce->ce_lock); in ath10k_ce_rx_post_buf()
743 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_rx_post_buf()
867 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_completed_recv_next() local
870 spin_lock_bh(&ce->ce_lock); in ath10k_ce_completed_recv_next()
875 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_completed_recv_next()
891 struct ath10k_ce *ce; in _ath10k_ce_revoke_recv_next() local
899 ce = ath10k_ce_priv(ar); in _ath10k_ce_revoke_recv_next()
901 spin_lock_bh(&ce->ce_lock); in _ath10k_ce_revoke_recv_next()
929 spin_unlock_bh(&ce->ce_lock); in _ath10k_ce_revoke_recv_next()
944 struct ath10k_ce *ce; in _ath10k_ce_revoke_recv_next_64() local
952 ce = ath10k_ce_priv(ar); in _ath10k_ce_revoke_recv_next_64()
954 spin_lock_bh(&ce->ce_lock); in _ath10k_ce_revoke_recv_next_64()
983 spin_unlock_bh(&ce->ce_lock); in _ath10k_ce_revoke_recv_next_64()
1164 struct ath10k_ce *ce; in ath10k_ce_cancel_send_next() local
1172 ce = ath10k_ce_priv(ar); in ath10k_ce_cancel_send_next()
1174 spin_lock_bh(&ce->ce_lock); in ath10k_ce_cancel_send_next()
1200 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_cancel_send_next()
1210 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_completed_send_next() local
1213 spin_lock_bh(&ce->ce_lock); in ath10k_ce_completed_send_next()
1216 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_completed_send_next()
1230 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_per_engine_service() local
1231 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_per_engine_service()
1305 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_disable_interrupt() local
1309 ce_state = &ce->ce_states[ce_id]; in ath10k_ce_disable_interrupt()
1332 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_enable_interrupt() local
1335 ce_state = &ce->ce_states[ce_id]; in ath10k_ce_enable_interrupt()
1359 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_init_src_ring() local
1360 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_init_src_ring()
1400 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_init_dest_ring() local
1401 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_init_dest_ring()
1717 struct ath10k_ce *ce = ath10k_ce_priv(ar); in _ath10k_ce_free_pipe() local
1718 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in _ath10k_ce_free_pipe()
1748 struct ath10k_ce *ce = ath10k_ce_priv(ar); in _ath10k_ce_free_pipe_64() local
1749 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in _ath10k_ce_free_pipe_64()
1779 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_free_pipe() local
1780 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_free_pipe()
1789 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_dump_registers() local
1797 spin_lock_bh(&ce->ce_lock); in ath10k_ce_dump_registers()
1826 spin_unlock_bh(&ce->ce_lock); in ath10k_ce_dump_registers()
1875 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_alloc_pipe() local
1876 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_alloc_pipe()
1939 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_alloc_rri() local
1941 ce->vaddr_rri = dma_alloc_coherent(ar->dev, in ath10k_ce_alloc_rri()
1943 &ce->paddr_rri, GFP_KERNEL); in ath10k_ce_alloc_rri()
1945 if (!ce->vaddr_rri) in ath10k_ce_alloc_rri()
1949 lower_32_bits(ce->paddr_rri)); in ath10k_ce_alloc_rri()
1951 (upper_32_bits(ce->paddr_rri) & in ath10k_ce_alloc_rri()
1966 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_free_rri() local
1969 ce->vaddr_rri, in ath10k_ce_free_rri()
1970 ce->paddr_rri); in ath10k_ce_free_rri()