Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath10k/
Dce.c54 u32 ce_id = ce_state->id; in shadow_sr_wr_ind_addr() local
57 switch (ce_id) { in shadow_sr_wr_ind_addr()
74 ath10k_warn(ar, "invalid CE id: %d", ce_id); in shadow_sr_wr_ind_addr()
83 u32 ce_id = ce_state->id; in shadow_dst_wr_ind_addr() local
86 switch (ce_id) { in shadow_dst_wr_ind_addr()
112 ath10k_warn(ar, "invalid CE id: %d", ce_id); in shadow_dst_wr_ind_addr()
178 u32 ce_id) in ath10k_ce_src_ring_read_index_from_ddr() argument
182 return ce->vaddr_rri[ce_id] & CE_DDR_RRI_MASK; in ath10k_ce_src_ring_read_index_from_ddr()
189 u32 ce_id = COPY_ENGINE_ID(ce_ctrl_addr); in ath10k_ce_src_ring_read_index_get() local
190 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_src_ring_read_index_get()
[all …]
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 …]
Dsnoc.c74 .ce_id = __cpu_to_le16(0),
79 .ce_id = __cpu_to_le16(3),
84 .ce_id = __cpu_to_le16(4),
89 .ce_id = __cpu_to_le16(5),
94 .ce_id = __cpu_to_le16(7),
99 .ce_id = __cpu_to_le16(1),
104 .ce_id = __cpu_to_le16(2),
109 .ce_id = __cpu_to_le16(7),
114 .ce_id = __cpu_to_le16(8),
119 .ce_id = __cpu_to_le16(9),
[all …]
Dqmi.h67 __le16 ce_id; member
/drivers/net/wireless/ath/ath11k/
Dce.c190 static bool ath11k_ce_need_shadow_fix(int ce_id) in ath11k_ce_need_shadow_fix() argument
193 if (ce_id == 4) in ath11k_ce_need_shadow_fix()
454 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
475 ring_params->msi_data = (ce_id % msi_data_count) + msi_data_start; in ath11k_ce_srng_msi_ring_params_setup()
481 int ce_id, enum hal_ring_type type) in ath11k_ce_init_ring() argument
490 if (!(CE_ATTR_DIS_INTR & ab->hw_params.host_ce_config[ce_id].flags)) in ath11k_ce_init_ring()
491 ath11k_ce_srng_msi_ring_params_setup(ab, ce_id, &params); in ath11k_ce_init_ring()
495 if (!(CE_ATTR_DIS_INTR & ab->hw_params.host_ce_config[ce_id].flags)) in ath11k_ce_init_ring()
499 params.max_buffer_len = ab->hw_params.host_ce_config[ce_id].src_sz_max; in ath11k_ce_init_ring()
500 if (!(ab->hw_params.host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) { in ath11k_ce_init_ring()
[all …]
Dahb.c210 static void ath11k_ahb_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_enable() argument
214 ce_attr = &ab->hw_params.host_ce_config[ce_id]; in ath11k_ahb_ce_irq_enable()
216 ath11k_ahb_setbit32(ab, ce_id, CE_HOST_IE_ADDRESS); in ath11k_ahb_ce_irq_enable()
219 ath11k_ahb_setbit32(ab, ce_id, CE_HOST_IE_2_ADDRESS); in ath11k_ahb_ce_irq_enable()
220 ath11k_ahb_setbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath11k_ahb_ce_irq_enable()
225 static void ath11k_ahb_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_disable() argument
229 ce_attr = &ab->hw_params.host_ce_config[ce_id]; in ath11k_ahb_ce_irq_disable()
231 ath11k_ahb_clearbit32(ab, ce_id, CE_HOST_IE_ADDRESS); in ath11k_ahb_ce_irq_disable()
234 ath11k_ahb_clearbit32(ab, ce_id, CE_HOST_IE_2_ADDRESS); in ath11k_ahb_ce_irq_disable()
235 ath11k_ahb_clearbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath11k_ahb_ce_irq_disable()
Dce.h179 void ath11k_ce_per_engine_service(struct ath11k_base *ab, u16 ce_id);
186 int ath11k_ce_get_attr_flags(struct ath11k_base *ab, int ce_id);
Dpci.c342 static void ath11k_pci_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_pci_ce_irq_enable() argument
346 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pci_ce_irq_enable()
350 static void ath11k_pci_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_pci_ce_irq_disable() argument
354 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pci_ce_irq_disable()