/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | ce.c | 55 u32 ce_id = ce_state->id; local 58 switch (ce_id) { 75 ath10k_warn(ar, "invalid CE id: %d", ce_id); 133 u32 ce_id) 137 return ce->vaddr_rri[ce_id] & CE_DDR_RRI_MASK; 144 u32 ce_id = COPY_ENGINE_ID(ce_ctrl_addr); local 145 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; 150 index = ath10k_ce_src_ring_read_index_from_ddr(ar, ce_id); 167 u32 ce_id, 171 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; 132 ath10k_ce_src_ring_read_index_from_ddr(struct ath10k *ar, u32 ce_id) argument 166 ath10k_ce_src_ring_base_addr_set(struct ath10k *ar, u32 ce_id, u64 addr) argument 245 ath10k_ce_dest_ring_read_index_from_ddr(struct ath10k *ar, u32 ce_id) argument 257 u32 ce_id = COPY_ENGINE_ID(ce_ctrl_addr); local 271 ath10k_ce_dest_ring_base_addr_set(struct ath10k *ar, u32 ce_id, u64 addr) argument 1229 ath10k_ce_per_engine_service(struct ath10k *ar, unsigned int ce_id) argument 1265 int ce_id; local 1304 ath10k_ce_disable_interrupt(struct ath10k *ar, int ce_id) argument 1324 int ce_id; local 1331 ath10k_ce_enable_interrupt(struct ath10k *ar, int ce_id) argument 1346 int ce_id; local 1356 ath10k_ce_init_src_ring(struct ath10k *ar, unsigned int ce_id, const struct ce_attr *attr) argument 1397 ath10k_ce_init_dest_ring(struct ath10k *ar, unsigned int ce_id, const struct ce_attr *attr) argument 1452 ath10k_ce_alloc_src_ring(struct ath10k *ar, unsigned int ce_id, const struct ce_attr *attr) argument 1510 ath10k_ce_alloc_src_ring_64(struct ath10k *ar, unsigned int ce_id, const struct ce_attr *attr) argument 1567 ath10k_ce_alloc_dest_ring(struct ath10k *ar, unsigned int ce_id, const struct ce_attr *attr) argument 1611 ath10k_ce_alloc_dest_ring_64(struct ath10k *ar, unsigned int ce_id, const struct ce_attr *attr) argument 1663 ath10k_ce_init_pipe(struct ath10k *ar, unsigned int ce_id, const struct ce_attr *attr) argument 1690 ath10k_ce_deinit_src_ring(struct ath10k *ar, unsigned int ce_id) argument 1700 ath10k_ce_deinit_dest_ring(struct ath10k *ar, unsigned int ce_id) argument 1709 ath10k_ce_deinit_pipe(struct ath10k *ar, unsigned int ce_id) argument 1716 _ath10k_ce_free_pipe(struct ath10k *ar, int ce_id) argument 1747 _ath10k_ce_free_pipe_64(struct ath10k *ar, int ce_id) argument 1778 ath10k_ce_free_pipe(struct ath10k *ar, int ce_id) argument 1869 ath10k_ce_alloc_pipe(struct ath10k *ar, int ce_id, const struct ce_attr *attr) argument [all...] |
H A 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); 339 ath10k_ce_base_address(struct ath10k *ar, unsigned int ce_id) argument [all...] |
H A 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 1212 int ce_id = ath10k_snoc_get_ce_id_from_irq(ar, irq); local 1233 int ce_id; local [all...] |
H A D | qmi.h | 67 __le16 ce_id; member in struct:ath10k_shadow_reg_cfg
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | hif.h | 32 void (*get_ce_msi_idx)(struct ath12k_base *ab, u32 ce_id, u32 *msi_idx); 66 static inline void ath12k_hif_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, argument 70 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx); 72 *msi_data_idx = ce_id;
|
H A D | ce.h | 170 void ath12k_ce_per_engine_service(struct ath12k_base *ab, u16 ce_id); 177 int ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id);
|
H A D | ce.c | 465 static void ath12k_ce_srng_msi_ring_params_setup(struct ath12k_base *ab, u32 ce_id, argument 483 ath12k_hif_get_ce_msi_idx(ab, ce_id, &msi_data_idx); 493 int ce_id, enum hal_ring_type type) 502 if (!(CE_ATTR_DIS_INTR & ab->hw_params->host_ce_config[ce_id].flags)) 503 ath12k_ce_srng_msi_ring_params_setup(ab, ce_id, ¶ms); 507 if (!(CE_ATTR_DIS_INTR & ab->hw_params->host_ce_config[ce_id].flags)) 511 params.max_buffer_len = ab->hw_params->host_ce_config[ce_id].src_sz_max; 512 if (!(ab->hw_params->host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) { 519 if (!(ab->hw_params->host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) { 531 ret = ath12k_hal_srng_setup(ab, type, ce_id, 491 ath12k_ce_init_ring(struct ath12k_base *ab, struct ath12k_ce_ring *ce_ring, int ce_id, enum hal_ring_type type) argument 580 ath12k_ce_alloc_pipe(struct ath12k_base *ab, int ce_id) argument 619 ath12k_ce_per_engine_service(struct ath12k_base *ab, u16 ce_id) argument 958 ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id) argument [all...] |
H A D | pci.h | 135 void ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id,
|
H A D | pci.c | 370 static void ath12k_pci_ce_irq_enable(struct ath12k_base *ab, u16 ce_id) argument 381 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; 385 static void ath12k_pci_ce_irq_disable(struct ath12k_base *ab, u16 ce_id) argument 396 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; 1062 void ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, argument 1071 if (ce_id == i)
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | hif.h | 33 void (*get_ce_msi_idx)(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx); 146 static inline void ath11k_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, argument 150 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx); 152 *msi_data_idx = ce_id;
|
H A D | ce.c | 251 static bool ath11k_ce_need_shadow_fix(int ce_id) argument 254 if (ce_id == 4) 529 static void ath11k_ce_srng_msi_ring_params_setup(struct ath11k_base *ab, u32 ce_id, argument 547 ath11k_get_ce_msi_idx(ab, ce_id, &msi_data_idx); 557 int ce_id, enum hal_ring_type type) 566 if (!(CE_ATTR_DIS_INTR & ab->hw_params.host_ce_config[ce_id].flags)) 567 ath11k_ce_srng_msi_ring_params_setup(ab, ce_id, ¶ms); 571 if (!(CE_ATTR_DIS_INTR & ab->hw_params.host_ce_config[ce_id].flags)) 575 params.max_buffer_len = ab->hw_params.host_ce_config[ce_id].src_sz_max; 576 if (!(ab->hw_params.host_ce_config[ce_id] 555 ath11k_ce_init_ring(struct ath11k_base *ab, struct ath11k_ce_ring *ce_ring, int ce_id, enum hal_ring_type type) argument 650 ath11k_ce_alloc_pipe(struct ath11k_base *ab, int ce_id) argument 689 ath11k_ce_per_engine_service(struct ath11k_base *ab, u16 ce_id) argument 1074 ath11k_ce_get_attr_flags(struct ath11k_base *ab, int ce_id) argument [all...] |
H A D | ce.h | 198 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 D | pcic.h | 36 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx);
|
H A D | ahb.c | 272 static void ath11k_ahb_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) argument 282 ce_attr = &ab->hw_params.host_ce_config[ce_id]; 284 ath11k_ahb_setbit32(ab, ce_id, ie1_reg_addr); 287 ath11k_ahb_setbit32(ab, ce_id, ie2_reg_addr); 288 ath11k_ahb_setbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, 293 static void ath11k_ahb_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) argument 303 ce_attr = &ab->hw_params.host_ce_config[ce_id]; 305 ath11k_ahb_clearbit32(ab, ce_id, ie1_reg_addr); 308 ath11k_ahb_clearbit32(ab, ce_id, ie2_reg_addr); 309 ath11k_ahb_clearbit32(ab, ce_id [all...] |
H A D | pcic.c | 291 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx) argument 299 if (ce_id == i) 338 static void ath11k_pcic_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) argument 348 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; 352 static void ath11k_pcic_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) argument 362 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id;
|