Lines Matching refs:ce_id
724 void ath10k_ce_per_engine_service(struct ath10k *ar, unsigned int ce_id) in ath10k_ce_per_engine_service() argument
727 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_per_engine_service()
763 int ce_id; in ath10k_ce_per_engine_service_any() local
768 for (ce_id = 0; intr_summary && (ce_id < CE_COUNT); ce_id++) { in ath10k_ce_per_engine_service_any()
769 if (intr_summary & (1 << ce_id)) in ath10k_ce_per_engine_service_any()
770 intr_summary &= ~(1 << ce_id); in ath10k_ce_per_engine_service_any()
775 ath10k_ce_per_engine_service(ar, ce_id); in ath10k_ce_per_engine_service_any()
803 int ce_id; in ath10k_ce_disable_interrupts() local
805 for (ce_id = 0; ce_id < CE_COUNT; ce_id++) { in ath10k_ce_disable_interrupts()
806 u32 ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_disable_interrupts()
819 int ce_id; in ath10k_ce_enable_interrupts() local
824 for (ce_id = 0; ce_id < CE_COUNT - 1; ce_id++) in ath10k_ce_enable_interrupts()
825 ath10k_ce_per_engine_handler_adjust(&ar_pci->ce_states[ce_id]); in ath10k_ce_enable_interrupts()
829 unsigned int ce_id, in ath10k_ce_init_src_ring() argument
833 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_init_src_ring()
835 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_src_ring()
860 ce_id, nentries, src_ring->base_addr_owner_space); in ath10k_ce_init_src_ring()
866 unsigned int ce_id, in ath10k_ce_init_dest_ring() argument
870 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_init_dest_ring()
872 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_dest_ring()
894 ce_id, nentries, dest_ring->base_addr_owner_space); in ath10k_ce_init_dest_ring()
900 ath10k_ce_alloc_src_ring(struct ath10k *ar, unsigned int ce_id, in ath10k_ce_alloc_src_ring() argument
967 ath10k_ce_alloc_dest_ring(struct ath10k *ar, unsigned int ce_id, in ath10k_ce_alloc_dest_ring() argument
1026 int ath10k_ce_init_pipe(struct ath10k *ar, unsigned int ce_id, in ath10k_ce_init_pipe() argument
1032 ret = ath10k_ce_init_src_ring(ar, ce_id, attr); in ath10k_ce_init_pipe()
1035 ce_id, ret); in ath10k_ce_init_pipe()
1041 ret = ath10k_ce_init_dest_ring(ar, ce_id, attr); in ath10k_ce_init_pipe()
1044 ce_id, ret); in ath10k_ce_init_pipe()
1052 static void ath10k_ce_deinit_src_ring(struct ath10k *ar, unsigned int ce_id) in ath10k_ce_deinit_src_ring() argument
1054 u32 ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_deinit_src_ring()
1062 static void ath10k_ce_deinit_dest_ring(struct ath10k *ar, unsigned int ce_id) in ath10k_ce_deinit_dest_ring() argument
1064 u32 ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_deinit_dest_ring()
1071 void ath10k_ce_deinit_pipe(struct ath10k *ar, unsigned int ce_id) in ath10k_ce_deinit_pipe() argument
1073 ath10k_ce_deinit_src_ring(ar, ce_id); in ath10k_ce_deinit_pipe()
1074 ath10k_ce_deinit_dest_ring(ar, ce_id); in ath10k_ce_deinit_pipe()
1077 int ath10k_ce_alloc_pipe(struct ath10k *ar, int ce_id, in ath10k_ce_alloc_pipe() argument
1083 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_alloc_pipe()
1100 ce_state->id = ce_id; in ath10k_ce_alloc_pipe()
1101 ce_state->ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_alloc_pipe()
1112 ce_state->src_ring = ath10k_ce_alloc_src_ring(ar, ce_id, attr); in ath10k_ce_alloc_pipe()
1116 ce_id, ret); in ath10k_ce_alloc_pipe()
1123 ce_state->dest_ring = ath10k_ce_alloc_dest_ring(ar, ce_id, in ath10k_ce_alloc_pipe()
1128 ce_id, ret); in ath10k_ce_alloc_pipe()
1137 void ath10k_ce_free_pipe(struct ath10k *ar, int ce_id) in ath10k_ce_free_pipe() argument
1140 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_free_pipe()