/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 54 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 …]
|
D | ce.h | 223 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 …]
|
D | snoc.c | 75 .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 = __cpu_to_le16(9), [all …]
|
D | qmi.h | 67 __le16 ce_id; member
|
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | ce.c | 251 static bool ath11k_ce_need_shadow_fix(int ce_id) in ath11k_ce_need_shadow_fix() argument 254 if (ce_id == 4) in ath11k_ce_need_shadow_fix() 529 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 547 ath11k_get_ce_msi_idx(ab, ce_id, &msi_data_idx); in ath11k_ce_srng_msi_ring_params_setup() 557 int ce_id, enum hal_ring_type type) in ath11k_ce_init_ring() argument 566 if (!(CE_ATTR_DIS_INTR & ab->hw_params.host_ce_config[ce_id].flags)) in ath11k_ce_init_ring() 567 ath11k_ce_srng_msi_ring_params_setup(ab, ce_id, ¶ms); in ath11k_ce_init_ring() 571 if (!(CE_ATTR_DIS_INTR & ab->hw_params.host_ce_config[ce_id].flags)) in ath11k_ce_init_ring() 575 params.max_buffer_len = ab->hw_params.host_ce_config[ce_id].src_sz_max; in ath11k_ce_init_ring() 576 if (!(ab->hw_params.host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) { in ath11k_ce_init_ring() [all …]
|
D | hif.h | 32 void (*get_ce_msi_idx)(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx); 139 static inline void ath11k_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, in ath11k_get_ce_msi_idx() argument 143 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx); in ath11k_get_ce_msi_idx() 145 *msi_data_idx = ce_id; in ath11k_get_ce_msi_idx()
|
D | ce.h | 181 void ath11k_ce_per_engine_service(struct ath11k_base *ab, u16 ce_id); 188 int ath11k_ce_get_attr_flags(struct ath11k_base *ab, int ce_id);
|
D | ahb.c | 267 static void ath11k_ahb_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_enable() argument 271 ce_attr = &ab->hw_params.host_ce_config[ce_id]; in ath11k_ahb_ce_irq_enable() 273 ath11k_ahb_setbit32(ab, ce_id, CE_HOST_IE_ADDRESS); in ath11k_ahb_ce_irq_enable() 276 ath11k_ahb_setbit32(ab, ce_id, CE_HOST_IE_2_ADDRESS); in ath11k_ahb_ce_irq_enable() 277 ath11k_ahb_setbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath11k_ahb_ce_irq_enable() 282 static void ath11k_ahb_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_disable() argument 286 ce_attr = &ab->hw_params.host_ce_config[ce_id]; in ath11k_ahb_ce_irq_disable() 288 ath11k_ahb_clearbit32(ab, ce_id, CE_HOST_IE_ADDRESS); in ath11k_ahb_ce_irq_disable() 291 ath11k_ahb_clearbit32(ab, ce_id, CE_HOST_IE_2_ADDRESS); in ath11k_ahb_ce_irq_disable() 292 ath11k_ahb_clearbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath11k_ahb_ce_irq_disable()
|
D | pcic.c | 273 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 281 if (ce_id == i) in ath11k_pcic_get_ce_msi_idx() 319 static void ath11k_pcic_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_pcic_ce_irq_enable() argument 329 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_enable() 333 static void ath11k_pcic_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_pcic_ce_irq_disable() argument 343 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_disable()
|
D | pcic.h | 36 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx);
|