Lines Matching refs:ce_id

706 void ath10k_ce_per_engine_service(struct ath10k *ar, unsigned int ce_id)  in ath10k_ce_per_engine_service()  argument
709 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_per_engine_service()
745 int ce_id; in ath10k_ce_per_engine_service_any() local
750 for (ce_id = 0; intr_summary && (ce_id < CE_COUNT); ce_id++) { in ath10k_ce_per_engine_service_any()
751 if (intr_summary & (1 << ce_id)) in ath10k_ce_per_engine_service_any()
752 intr_summary &= ~(1 << ce_id); in ath10k_ce_per_engine_service_any()
757 ath10k_ce_per_engine_service(ar, ce_id); in ath10k_ce_per_engine_service_any()
785 int ce_id; in ath10k_ce_disable_interrupts() local
787 for (ce_id = 0; ce_id < CE_COUNT; ce_id++) { in ath10k_ce_disable_interrupts()
788 u32 ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_disable_interrupts()
801 int ce_id; in ath10k_ce_enable_interrupts() local
806 for (ce_id = 0; ce_id < CE_COUNT - 1; ce_id++) in ath10k_ce_enable_interrupts()
807 ath10k_ce_per_engine_handler_adjust(&ar_pci->ce_states[ce_id]); in ath10k_ce_enable_interrupts()
811 unsigned int ce_id, in ath10k_ce_init_src_ring() argument
815 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_init_src_ring()
817 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_src_ring()
842 ce_id, nentries, src_ring->base_addr_owner_space); in ath10k_ce_init_src_ring()
848 unsigned int ce_id, in ath10k_ce_init_dest_ring() argument
852 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_init_dest_ring()
854 u32 nentries, ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_init_dest_ring()
876 ce_id, nentries, dest_ring->base_addr_owner_space); in ath10k_ce_init_dest_ring()
882 ath10k_ce_alloc_src_ring(struct ath10k *ar, unsigned int ce_id, in ath10k_ce_alloc_src_ring() argument
928 ath10k_ce_alloc_dest_ring(struct ath10k *ar, unsigned int ce_id, in ath10k_ce_alloc_dest_ring() argument
987 int ath10k_ce_init_pipe(struct ath10k *ar, unsigned int ce_id, in ath10k_ce_init_pipe() argument
993 ret = ath10k_ce_init_src_ring(ar, ce_id, attr); in ath10k_ce_init_pipe()
996 ce_id, ret); in ath10k_ce_init_pipe()
1002 ret = ath10k_ce_init_dest_ring(ar, ce_id, attr); in ath10k_ce_init_pipe()
1005 ce_id, ret); in ath10k_ce_init_pipe()
1013 static void ath10k_ce_deinit_src_ring(struct ath10k *ar, unsigned int ce_id) in ath10k_ce_deinit_src_ring() argument
1015 u32 ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_deinit_src_ring()
1023 static void ath10k_ce_deinit_dest_ring(struct ath10k *ar, unsigned int ce_id) in ath10k_ce_deinit_dest_ring() argument
1025 u32 ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_deinit_dest_ring()
1032 void ath10k_ce_deinit_pipe(struct ath10k *ar, unsigned int ce_id) in ath10k_ce_deinit_pipe() argument
1034 ath10k_ce_deinit_src_ring(ar, ce_id); in ath10k_ce_deinit_pipe()
1035 ath10k_ce_deinit_dest_ring(ar, ce_id); in ath10k_ce_deinit_pipe()
1038 int ath10k_ce_alloc_pipe(struct ath10k *ar, int ce_id, in ath10k_ce_alloc_pipe() argument
1042 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_alloc_pipe()
1059 ce_state->id = ce_id; in ath10k_ce_alloc_pipe()
1060 ce_state->ctrl_addr = ath10k_ce_base_address(ar, ce_id); in ath10k_ce_alloc_pipe()
1071 ce_state->src_ring = ath10k_ce_alloc_src_ring(ar, ce_id, attr); in ath10k_ce_alloc_pipe()
1075 ce_id, ret); in ath10k_ce_alloc_pipe()
1082 ce_state->dest_ring = ath10k_ce_alloc_dest_ring(ar, ce_id, in ath10k_ce_alloc_pipe()
1087 ce_id, ret); in ath10k_ce_alloc_pipe()
1096 void ath10k_ce_free_pipe(struct ath10k *ar, int ce_id) in ath10k_ce_free_pipe() argument
1099 struct ath10k_ce_pipe *ce_state = &ar_pci->ce_states[ce_id]; in ath10k_ce_free_pipe()