Home
last modified time | relevance | path

Searched refs:ce_id (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/wireless/ath/ath10k/
H A Dce.c57 u32 ce_id = ce_state->id; in shadow_sr_wr_ind_addr() local
60 switch (ce_id) { in shadow_sr_wr_ind_addr()
77 ath10k_warn(ar, "invalid CE id: %d", ce_id); in shadow_sr_wr_ind_addr()
135 u32 ce_id) in ath10k_ce_src_ring_read_index_from_ddr() argument
139 return ce->vaddr_rri[ce_id] & CE_DDR_RRI_MASK; in ath10k_ce_src_ring_read_index_from_ddr()
146 u32 ce_id = COPY_ENGINE_ID(ce_ctrl_addr); in ath10k_ce_src_ring_read_index_get() local
147 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_src_ring_read_index_get()
152 index = ath10k_ce_src_ring_read_index_from_ddr(ar, ce_id); in ath10k_ce_src_ring_read_index_get()
169 u32 ce_id, in ath10k_ce_src_ring_base_addr_set() argument
173 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_src_ring_base_addr_set()
247 ath10k_ce_dest_ring_read_index_from_ddr(struct ath10k * ar,u32 ce_id) ath10k_ce_dest_ring_read_index_from_ddr() argument
259 u32 ce_id = COPY_ENGINE_ID(ce_ctrl_addr); ath10k_ce_dest_ring_read_index_get() local
274 ath10k_ce_dest_ring_base_addr_set(struct ath10k * ar,u32 ce_id,u64 addr) ath10k_ce_dest_ring_base_addr_set() argument
1231 ath10k_ce_per_engine_service(struct ath10k * ar,unsigned int ce_id) ath10k_ce_per_engine_service() argument
1267 int ce_id; ath10k_ce_per_engine_service_any() local
1306 ath10k_ce_disable_interrupt(struct ath10k * ar,int ce_id) ath10k_ce_disable_interrupt() argument
1326 int ce_id; ath10k_ce_disable_interrupts() local
1333 ath10k_ce_enable_interrupt(struct ath10k * ar,int ce_id) ath10k_ce_enable_interrupt() argument
1348 int ce_id; ath10k_ce_enable_interrupts() local
1359 ath10k_ce_init_src_ring(struct ath10k * ar,unsigned int ce_id,const struct ce_attr * attr) ath10k_ce_init_src_ring() argument
1400 ath10k_ce_init_dest_ring(struct ath10k * ar,unsigned int ce_id,const struct ce_attr * attr) ath10k_ce_init_dest_ring() argument
1454 ath10k_ce_alloc_src_ring(struct ath10k * ar,unsigned int ce_id,const struct ce_attr * attr) ath10k_ce_alloc_src_ring() argument
1512 ath10k_ce_alloc_src_ring_64(struct ath10k * ar,unsigned int ce_id,const struct ce_attr * attr) ath10k_ce_alloc_src_ring_64() argument
1569 ath10k_ce_alloc_dest_ring(struct ath10k * ar,unsigned int ce_id,const struct ce_attr * attr) ath10k_ce_alloc_dest_ring() argument
1613 ath10k_ce_alloc_dest_ring_64(struct ath10k * ar,unsigned int ce_id,const struct ce_attr * attr) ath10k_ce_alloc_dest_ring_64() argument
1665 ath10k_ce_init_pipe(struct ath10k * ar,unsigned int ce_id,const struct ce_attr * attr) ath10k_ce_init_pipe() argument
1692 ath10k_ce_deinit_src_ring(struct ath10k * ar,unsigned int ce_id) ath10k_ce_deinit_src_ring() argument
1702 ath10k_ce_deinit_dest_ring(struct ath10k * ar,unsigned int ce_id) ath10k_ce_deinit_dest_ring() argument
1711 ath10k_ce_deinit_pipe(struct ath10k * ar,unsigned int ce_id) ath10k_ce_deinit_pipe() argument
1718 _ath10k_ce_free_pipe(struct ath10k * ar,int ce_id) _ath10k_ce_free_pipe() argument
1749 _ath10k_ce_free_pipe_64(struct ath10k * ar,int ce_id) _ath10k_ce_free_pipe_64() argument
1780 ath10k_ce_free_pipe(struct ath10k * ar,int ce_id) ath10k_ce_free_pipe() argument
1871 ath10k_ce_alloc_pipe(struct ath10k * ar,int ce_id,const struct ce_attr * attr) ath10k_ce_alloc_pipe() argument
[all...]
H A Dce.h223 int ath10k_ce_init_pipe(struct ath10k *ar, unsigned int ce_id,
225 void ath10k_ce_deinit_pipe(struct ath10k *ar, unsigned int ce_id);
226 int ath10k_ce_alloc_pipe(struct ath10k *ar, int ce_id,
228 void ath10k_ce_free_pipe(struct ath10k *ar, int ce_id);
257 void ath10k_ce_per_engine_service(struct ath10k *ar, unsigned int ce_id);
258 void ath10k_ce_disable_interrupt(struct ath10k *ar, int ce_id);
260 void ath10k_ce_enable_interrupt(struct ath10k *ar, int ce_id);
307 u32 ce_id,
310 u32 ce_id,
324 void (*ce_free_pipe)(struct ath10k *ar, int ce_id);
339 ath10k_ce_base_address(struct ath10k * ar,unsigned int ce_id) ath10k_ce_base_address() argument
[all...]
H A Dsnoc.c75 .ce_id = __cpu_to_le16(0),
80 .ce_id = __cpu_to_le16(3),
85 .ce_id = __cpu_to_le16(4),
90 .ce_id = __cpu_to_le16(5),
95 .ce_id = __cpu_to_le16(7),
100 .ce_id = __cpu_to_le16(1),
105 .ce_id = __cpu_to_le16(2),
110 .ce_id = __cpu_to_le16(7),
115 .ce_id = __cpu_to_le16(8),
120 .ce_id
1215 int ce_id = ath10k_snoc_get_ce_id_from_irq(ar, irq); ath10k_snoc_per_engine_handler() local
1236 int ce_id; ath10k_snoc_napi_poll() local
[all...]
H A Dqmi.h67 __le16 ce_id; member
/linux/drivers/net/wireless/ath/ath11k/
H A Dce.c253 static bool ath11k_ce_need_shadow_fix(int ce_id) in ath11k_ce_need_shadow_fix() argument
256 if (ce_id == 4) in ath11k_ce_need_shadow_fix()
527 static void ath11k_ce_srng_msi_ring_params_setup(struct ath11k_base *ab, u32 ce_id, in ath11k_ce_srng_msi_ring_params_setup() argument
545 ath11k_get_ce_msi_idx(ab, ce_id, &msi_data_idx); in ath11k_ce_srng_msi_ring_params_setup()
555 int ce_id, enum hal_ring_type type) in ath11k_ce_init_ring() argument
564 if (!(CE_ATTR_DIS_INTR & ab->hw_params.host_ce_config[ce_id].flags)) in ath11k_ce_init_ring()
565 ath11k_ce_srng_msi_ring_params_setup(ab, ce_id, &params); in ath11k_ce_init_ring()
569 if (!(CE_ATTR_DIS_INTR & ab->hw_params.host_ce_config[ce_id].flags)) in ath11k_ce_init_ring()
573 params.max_buffer_len = ab->hw_params.host_ce_config[ce_id].src_sz_max; in ath11k_ce_init_ring()
574 if (!(ab->hw_params.host_ce_config[ce_id] in ath11k_ce_init_ring()
648 ath11k_ce_alloc_pipe(struct ath11k_base * ab,int ce_id) ath11k_ce_alloc_pipe() argument
687 ath11k_ce_per_engine_service(struct ath11k_base * ab,u16 ce_id) ath11k_ce_per_engine_service() argument
1072 ath11k_ce_get_attr_flags(struct ath11k_base * ab,int ce_id) ath11k_ce_get_attr_flags() argument
[all...]
H A Dhif.h33 void (*get_ce_msi_idx)(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx);
147 static inline void ath11k_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, in ath11k_get_ce_msi_idx() argument
151 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx); in ath11k_get_ce_msi_idx()
153 *msi_data_idx = ce_id; in ath11k_get_ce_msi_idx()
H A Dce.h198 void ath11k_ce_per_engine_service(struct ath11k_base *ab, u16 ce_id);
205 int ath11k_ce_get_attr_flags(struct ath11k_base *ab, int ce_id);
H A Dahb.c272 static void ath11k_ahb_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_enable() argument
282 ce_attr = &ab->hw_params.host_ce_config[ce_id]; in ath11k_ahb_ce_irq_enable()
284 ath11k_ahb_setbit32(ab, ce_id, ie1_reg_addr); in ath11k_ahb_ce_irq_enable()
287 ath11k_ahb_setbit32(ab, ce_id, ie2_reg_addr); in ath11k_ahb_ce_irq_enable()
288 ath11k_ahb_setbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath11k_ahb_ce_irq_enable()
293 static void ath11k_ahb_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_disable() argument
303 ce_attr = &ab->hw_params.host_ce_config[ce_id]; in ath11k_ahb_ce_irq_disable()
305 ath11k_ahb_clearbit32(ab, ce_id, ie1_reg_addr); in ath11k_ahb_ce_irq_disable()
308 ath11k_ahb_clearbit32(ab, ce_id, ie2_reg_addr); in ath11k_ahb_ce_irq_disable()
309 ath11k_ahb_clearbit32(ab, ce_id in ath11k_ahb_ce_irq_disable()
[all...]
H A Dpcic.c304 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx) in ath11k_pcic_get_ce_msi_idx() argument
312 if (ce_id == i) in ath11k_pcic_get_ce_msi_idx()
351 static void ath11k_pcic_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_pcic_ce_irq_enable() argument
361 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_enable()
365 static void ath11k_pcic_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_pcic_ce_irq_disable() argument
375 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_disable()
H A Dpcic.h36 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx);
/linux/drivers/net/wireless/ath/ath12k/
H A Dce.c551 static void ath12k_ce_srng_msi_ring_params_setup(struct ath12k_base *ab, u32 ce_id, in ath12k_ce_srng_msi_ring_params_setup() argument
569 ath12k_hif_get_ce_msi_idx(ab, ce_id, &msi_data_idx); in ath12k_ce_srng_msi_ring_params_setup()
579 int ce_id, enum hal_ring_type type) in ath12k_ce_init_ring() argument
588 if (!(CE_ATTR_DIS_INTR & ab->hw_params->host_ce_config[ce_id].flags)) in ath12k_ce_init_ring()
589 ath12k_ce_srng_msi_ring_params_setup(ab, ce_id, &params); in ath12k_ce_init_ring()
593 if (!(CE_ATTR_DIS_INTR & ab->hw_params->host_ce_config[ce_id].flags)) in ath12k_ce_init_ring()
597 params.max_buffer_len = ab->hw_params->host_ce_config[ce_id].src_sz_max; in ath12k_ce_init_ring()
598 if (!(ab->hw_params->host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) { in ath12k_ce_init_ring()
605 if (!(ab->hw_params->host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) { in ath12k_ce_init_ring()
617 ret = ath12k_hal_srng_setup(ab, type, ce_id, in ath12k_ce_init_ring()
666 ath12k_ce_alloc_pipe(struct ath12k_base * ab,int ce_id) ath12k_ce_alloc_pipe() argument
705 ath12k_ce_per_engine_service(struct ath12k_base * ab,u16 ce_id) ath12k_ce_per_engine_service() argument
1044 ath12k_ce_get_attr_flags(struct ath12k_base * ab,int ce_id) ath12k_ce_get_attr_flags() argument
[all...]
H A Dce.h182 void ath12k_ce_per_engine_service(struct ath12k_base *ab, u16 ce_id);
189 int ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id);
H A Dahb.c209 static void ath12k_ahb_ce_irq_enable(struct ath12k_base *ab, u16 ce_id) in ath12k_ahb_ce_irq_enable() argument
219 ce_attr = &ab->hw_params->host_ce_config[ce_id]; in ath12k_ahb_ce_irq_enable()
221 ath12k_ahb_setbit32(ab, ce_id, ie1_reg_addr); in ath12k_ahb_ce_irq_enable()
224 ath12k_ahb_setbit32(ab, ce_id, ie2_reg_addr); in ath12k_ahb_ce_irq_enable()
225 ath12k_ahb_setbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath12k_ahb_ce_irq_enable()
230 static void ath12k_ahb_ce_irq_disable(struct ath12k_base *ab, u16 ce_id) in ath12k_ahb_ce_irq_disable() argument
240 ce_attr = &ab->hw_params->host_ce_config[ce_id]; in ath12k_ahb_ce_irq_disable()
242 ath12k_ahb_clearbit32(ab, ce_id, ie1_reg_addr); in ath12k_ahb_ce_irq_disable()
245 ath12k_ahb_clearbit32(ab, ce_id, ie2_reg_addr); in ath12k_ahb_ce_irq_disable()
246 ath12k_ahb_clearbit32(ab, ce_id in ath12k_ahb_ce_irq_disable()
[all...]
H A Dpci.h139 void ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id,
H A Dpci.c373 static void ath12k_pci_ce_irq_enable(struct ath12k_base *ab, u16 ce_id) in ath12k_pci_ce_irq_enable() argument
384 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_enable()
388 static void ath12k_pci_ce_irq_disable(struct ath12k_base *ab, u16 ce_id) in ath12k_pci_ce_irq_disable() argument
399 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_disable()
1083 void ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, in ath12k_pci_get_ce_msi_idx() argument
1092 if (ce_id == i) in ath12k_pci_get_ce_msi_idx()