Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath10k/
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);
[all …]
H A Dsnoc.c78 .ce_id = __cpu_to_le16(0),
83 .ce_id = __cpu_to_le16(3),
88 .ce_id = __cpu_to_le16(4),
93 .ce_id = __cpu_to_le16(5),
98 .ce_id = __cpu_to_le16(7),
103 .ce_id = __cpu_to_le16(1),
108 .ce_id = __cpu_to_le16(2),
113 .ce_id = __cpu_to_le16(7),
118 .ce_id = __cpu_to_le16(8),
123 .ce_id = __cpu_to_le16(9),
[all …]
H A Dqmi.h67 __le16 ce_id; member
/linux/drivers/net/wireless/ath/ath12k/
H A Dce.c251 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
269 ath12k_hif_get_ce_msi_idx(ab, ce_id, &msi_data_idx); in ath12k_ce_srng_msi_ring_params_setup()
279 int ce_id, enum hal_ring_type type) in ath12k_ce_init_ring() argument
288 if (!(CE_ATTR_DIS_INTR & ab->hw_params->host_ce_config[ce_id].flags)) in ath12k_ce_init_ring()
289 ath12k_ce_srng_msi_ring_params_setup(ab, ce_id, &params); in ath12k_ce_init_ring()
293 if (!(CE_ATTR_DIS_INTR & ab->hw_params->host_ce_config[ce_id].flags)) in ath12k_ce_init_ring()
297 params.max_buffer_len = ab->hw_params->host_ce_config[ce_id].src_sz_max; in ath12k_ce_init_ring()
298 if (!(ab->hw_params->host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) { in ath12k_ce_init_ring()
305 if (!(ab->hw_params->host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) { in ath12k_ce_init_ring()
317 ret = ath12k_hal_srng_setup(ab, type, ce_id, 0, &params); in ath12k_ce_init_ring()
[all …]
H A Dahb.c218 static void ath12k_ahb_ce_irq_enable(struct ath12k_base *ab, u16 ce_id) in ath12k_ahb_ce_irq_enable() argument
228 ce_attr = &ab->hw_params->host_ce_config[ce_id]; in ath12k_ahb_ce_irq_enable()
230 ath12k_ahb_setbit32(ab, ce_id, ie1_reg_addr); in ath12k_ahb_ce_irq_enable()
233 ath12k_ahb_setbit32(ab, ce_id, ie2_reg_addr); in ath12k_ahb_ce_irq_enable()
234 ath12k_ahb_setbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath12k_ahb_ce_irq_enable()
239 static void ath12k_ahb_ce_irq_disable(struct ath12k_base *ab, u16 ce_id) in ath12k_ahb_ce_irq_disable() argument
249 ce_attr = &ab->hw_params->host_ce_config[ce_id]; in ath12k_ahb_ce_irq_disable()
251 ath12k_ahb_clearbit32(ab, ce_id, ie1_reg_addr); in ath12k_ahb_ce_irq_disable()
254 ath12k_ahb_clearbit32(ab, ce_id, ie2_reg_addr); in ath12k_ahb_ce_irq_disable()
255 ath12k_ahb_clearbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath12k_ahb_ce_irq_disable()
H A Dpci.c345 static void ath12k_pci_ce_irq_enable(struct ath12k_base *ab, u16 ce_id) in ath12k_pci_ce_irq_enable() argument
356 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_enable()
360 static void ath12k_pci_ce_irq_disable(struct ath12k_base *ab, u16 ce_id) in ath12k_pci_ce_irq_disable() argument
371 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_disable()
1065 void ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, in ath12k_pci_get_ce_msi_idx() argument
1074 if (ce_id == i) in ath12k_pci_get_ce_msi_idx()
/linux/drivers/net/wireless/ath/ath11k/
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 + CE_HOST_IE_3_SHIFT, in ath11k_ahb_ce_irq_disable()