/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | ce.c | 57 switch (ce_id) { in shadow_sr_wr_ind_addr() 132 u32 ce_id) in ath10k_ce_src_ring_read_index_from_ddr() argument 166 u32 ce_id, in ath10k_ce_src_ring_base_addr_set() argument 271 u32 ce_id, in ath10k_ce_dest_ring_base_addr_set() argument 1264 int ce_id; in ath10k_ce_per_engine_service_any() local 1269 for (ce_id = 0; intr_summary && (ce_id < CE_COUNT); ce_id++) { in ath10k_ce_per_engine_service_any() 1323 int ce_id; in ath10k_ce_disable_interrupts() local 1325 for (ce_id = 0; ce_id < CE_COUNT; ce_id++) in ath10k_ce_disable_interrupts() 1345 int ce_id; in ath10k_ce_enable_interrupts() local 1350 for (ce_id = 0; ce_id < CE_COUNT; ce_id++) in ath10k_ce_enable_interrupts() [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); [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), 1214 if (ce_id < 0 || ce_id >= ARRAY_SIZE(ar_snoc->pipe_info)) { in ath10k_snoc_per_engine_handler() 1216 ce_id); in ath10k_snoc_per_engine_handler() 1233 int ce_id; in ath10k_snoc_napi_poll() local [all …]
|
H A D | qmi.h | 67 __le16 ce_id; member
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A 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() 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 595 ret = ath11k_hal_srng_setup(ab, type, ce_id, 0, ¶ms); in ath11k_ce_init_ring() 598 ret, ce_id); in ath11k_ce_init_ring() 605 ath11k_ce_need_shadow_fix(ce_id)) in ath11k_ce_init_ring() 652 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath11k_ce_alloc_pipe() 691 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath11k_ce_per_engine_service() 1076 if (ce_id >= ab->hw_params.ce_count) in ath11k_ce_get_attr_flags() [all …]
|
H A D | hif.h | 33 void (*get_ce_msi_idx)(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx); 140 static inline void ath11k_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, in ath11k_get_ce_msi_idx() argument 144 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx); in ath11k_get_ce_msi_idx() 146 *msi_data_idx = ce_id; in ath11k_get_ce_msi_idx()
|
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 | ahb.c | 271 static void ath11k_ahb_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_enable() argument 281 ce_attr = &ab->hw_params.host_ce_config[ce_id]; in ath11k_ahb_ce_irq_enable() 283 ath11k_ahb_setbit32(ab, ce_id, ie1_reg_addr); in ath11k_ahb_ce_irq_enable() 286 ath11k_ahb_setbit32(ab, ce_id, ie2_reg_addr); in ath11k_ahb_ce_irq_enable() 287 ath11k_ahb_setbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath11k_ahb_ce_irq_enable() 292 static void ath11k_ahb_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_disable() argument 302 ce_attr = &ab->hw_params.host_ce_config[ce_id]; in ath11k_ahb_ce_irq_disable() 304 ath11k_ahb_clearbit32(ab, ce_id, ie1_reg_addr); in ath11k_ahb_ce_irq_disable() 307 ath11k_ahb_clearbit32(ab, ce_id, ie2_reg_addr); in ath11k_ahb_ce_irq_disable() 308 ath11k_ahb_clearbit32(ab, ce_id + CE_HOST_IE_3_SHIFT, in ath11k_ahb_ce_irq_disable()
|
H A D | pcic.c | 280 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 288 if (ce_id == i) in ath11k_pcic_get_ce_msi_idx() 326 static void ath11k_pcic_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_pcic_ce_irq_enable() argument 336 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_enable() 340 static void ath11k_pcic_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_pcic_ce_irq_disable() argument 350 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_disable()
|
H A D | pcic.h | 36 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx);
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | ce.c | 483 ath12k_hif_get_ce_msi_idx(ab, ce_id, &msi_data_idx); in ath12k_ce_srng_msi_ring_params_setup() 493 int ce_id, enum hal_ring_type type) in ath12k_ce_init_ring() argument 503 ath12k_ce_srng_msi_ring_params_setup(ab, ce_id, ¶ms); in ath12k_ce_init_ring() 531 ret = ath12k_hal_srng_setup(ab, type, ce_id, 0, ¶ms); in ath12k_ce_init_ring() 534 ret, ce_id); in ath12k_ce_init_ring() 580 static int ath12k_ce_alloc_pipe(struct ath12k_base *ab, int ce_id) in ath12k_ce_alloc_pipe() argument 582 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath12k_ce_alloc_pipe() 621 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath12k_ce_per_engine_service() 958 int ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id) in ath12k_ce_get_attr_flags() argument 960 if (ce_id >= ab->hw_params->ce_count) in ath12k_ce_get_attr_flags() [all …]
|
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, in ath12k_hif_get_ce_msi_idx() argument 70 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx); in ath12k_hif_get_ce_msi_idx() 72 *msi_data_idx = ce_id; in ath12k_hif_get_ce_msi_idx()
|
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 | pci.c | 356 static void ath12k_pci_ce_irq_enable(struct ath12k_base *ab, u16 ce_id) in ath12k_pci_ce_irq_enable() argument 360 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_enable() 364 static void ath12k_pci_ce_irq_disable(struct ath12k_base *ab, u16 ce_id) in ath12k_pci_ce_irq_disable() argument 368 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_disable() 943 void ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, in ath12k_pci_get_ce_msi_idx() argument 952 if (ce_id == i) in ath12k_pci_get_ce_msi_idx()
|
H A D | pci.h | 129 void ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id,
|