Lines Matching defs:ar

38 #define CE_DESC_FLAGS_META_DATA_MASK ar->hw_values->ce_desc_meta_data_mask
39 #define CE_DESC_FLAGS_META_DATA_LSB ar->hw_values->ce_desc_meta_data_lsb
117 struct ath10k *ar;
137 u32 (*read32)(struct ath10k *ar, u32 offset);
138 void (*write32)(struct ath10k *ar, u32 offset, u32 value);
139 int (*get_num_banks)(struct ath10k *ar);
142 static inline struct ath10k_ce *ath10k_ce_priv(struct ath10k *ar)
144 return (struct ath10k_ce *)ar->ce_priv;
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);
256 void ath10k_ce_per_engine_service_any(struct ath10k *ar);
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);
259 void ath10k_ce_disable_interrupts(struct ath10k *ar);
260 void ath10k_ce_enable_interrupt(struct ath10k *ar, int ce_id);
261 void ath10k_ce_enable_interrupts(struct ath10k *ar);
262 void ath10k_ce_dump_registers(struct ath10k *ar,
265 void ath10k_ce_alloc_rri(struct ath10k *ar);
266 void ath10k_ce_free_rri(struct ath10k *ar);
306 struct ath10k_ce_ring *(*ce_alloc_src_ring)(struct ath10k *ar,
309 struct ath10k_ce_ring *(*ce_alloc_dst_ring)(struct ath10k *ar,
320 void (*ce_extract_desc_data)(struct ath10k *ar,
324 void (*ce_free_pipe)(struct ath10k *ar, int ce_id);
329 void (*ce_set_src_ring_base_addr_hi)(struct ath10k *ar,
332 void (*ce_set_dest_ring_base_addr_hi)(struct ath10k *ar,
339 static inline u32 ath10k_ce_base_address(struct ath10k *ar, unsigned int ce_id)
368 ar->regs->ce_wrap_intr_sum_host_msi_lsb
370 ar->regs->ce_wrap_intr_sum_host_msi_mask
376 static inline u32 ath10k_ce_interrupt_summary(struct ath10k *ar)
378 struct ath10k_ce *ce = ath10k_ce_priv(ar);
381 ce->bus_ops->read32((ar), CE_WRAPPER_BASE_ADDRESS +