Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath10k/
A Dce.c60 switch (ce_id) { in shadow_sr_wr_ind_addr()
135 u32 ce_id) in ath10k_ce_src_ring_read_index_from_ddr() argument
169 u32 ce_id, in ath10k_ce_src_ring_base_addr_set() argument
274 u32 ce_id, in ath10k_ce_dest_ring_base_addr_set() argument
1267 int ce_id; in ath10k_ce_per_engine_service_any() local
1272 for (ce_id = 0; intr_summary && (ce_id < CE_COUNT); ce_id++) { in ath10k_ce_per_engine_service_any()
1326 int ce_id; in ath10k_ce_disable_interrupts() local
1328 for (ce_id = 0; ce_id < CE_COUNT; ce_id++) in ath10k_ce_disable_interrupts()
1348 int ce_id; in ath10k_ce_enable_interrupts() local
1353 for (ce_id = 0; ce_id < CE_COUNT; ce_id++) in ath10k_ce_enable_interrupts()
[all …]
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);
[all …]
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),
1217 if (ce_id < 0 || ce_id >= ARRAY_SIZE(ar_snoc->pipe_info)) { in ath10k_snoc_per_engine_handler()
1219 ce_id); in ath10k_snoc_per_engine_handler()
1236 int ce_id; in ath10k_snoc_napi_poll() local
[all …]
A Dqmi.h67 __le16 ce_id; member
/drivers/net/wireless/ath/ath11k/
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()
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
593 ret = ath11k_hal_srng_setup(ab, type, ce_id, 0, &params); in ath11k_ce_init_ring()
596 ret, ce_id); in ath11k_ce_init_ring()
603 ath11k_ce_need_shadow_fix(ce_id)) in ath11k_ce_init_ring()
650 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath11k_ce_alloc_pipe()
689 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath11k_ce_per_engine_service()
1074 if (ce_id >= ab->hw_params.ce_count) in ath11k_ce_get_attr_flags()
[all …]
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()
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 + CE_HOST_IE_3_SHIFT, in ath11k_ahb_ce_irq_disable()
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);
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()
A Dpcic.h36 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx);
/drivers/net/wireless/ath/ath12k/
A Dce.c569 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
589 ath12k_ce_srng_msi_ring_params_setup(ab, ce_id, &params); in ath12k_ce_init_ring()
617 ret = ath12k_hal_srng_setup(ab, type, ce_id, 0, &params); in ath12k_ce_init_ring()
620 ret, ce_id); in ath12k_ce_init_ring()
666 static int ath12k_ce_alloc_pipe(struct ath12k_base *ab, int ce_id) in ath12k_ce_alloc_pipe() argument
668 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath12k_ce_alloc_pipe()
707 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath12k_ce_per_engine_service()
1044 int ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id) in ath12k_ce_get_attr_flags() argument
1046 if (ce_id >= ab->hw_params->ce_count) in ath12k_ce_get_attr_flags()
[all …]
A Dhif.h32 void (*get_ce_msi_idx)(struct ath12k_base *ab, u32 ce_id, u32 *msi_idx);
68 static inline void ath12k_hif_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, in ath12k_hif_get_ce_msi_idx() argument
72 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx); in ath12k_hif_get_ce_msi_idx()
74 *msi_data_idx = ce_id; in ath12k_hif_get_ce_msi_idx()
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 + CE_HOST_IE_3_SHIFT, in ath12k_ahb_ce_irq_disable()
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);
A Dpci.h139 void ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id,
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()

Completed in 43 milliseconds