Lines Matching full:ab
14 int (*read)(struct ath11k_base *ab, void *buf, u32 start, u32 end);
21 int (*suspend)(struct ath11k_base *ab);
22 int (*resume)(struct ath11k_base *ab);
25 int (*get_user_msi_vector)(struct ath11k_base *ab, char *user_name,
28 void (*get_msi_address)(struct ath11k_base *ab, u32 *msi_addr_lo,
30 void (*ce_irq_enable)(struct ath11k_base *ab);
31 void (*ce_irq_disable)(struct ath11k_base *ab);
32 void (*get_ce_msi_idx)(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx);
35 static inline void ath11k_hif_ce_irq_enable(struct ath11k_base *ab) in ath11k_hif_ce_irq_enable() argument
37 if (ab->hif.ops->ce_irq_enable) in ath11k_hif_ce_irq_enable()
38 ab->hif.ops->ce_irq_enable(ab); in ath11k_hif_ce_irq_enable()
41 static inline void ath11k_hif_ce_irq_disable(struct ath11k_base *ab) in ath11k_hif_ce_irq_disable() argument
43 if (ab->hif.ops->ce_irq_disable) in ath11k_hif_ce_irq_disable()
44 ab->hif.ops->ce_irq_disable(ab); in ath11k_hif_ce_irq_disable()
77 static inline int ath11k_hif_suspend(struct ath11k_base *ab) in ath11k_hif_suspend() argument
79 if (ab->hif.ops->suspend) in ath11k_hif_suspend()
80 return ab->hif.ops->suspend(ab); in ath11k_hif_suspend()
85 static inline int ath11k_hif_resume(struct ath11k_base *ab) in ath11k_hif_resume() argument
87 if (ab->hif.ops->resume) in ath11k_hif_resume()
88 return ab->hif.ops->resume(ab); in ath11k_hif_resume()
103 static inline int ath11k_hif_read(struct ath11k_base *ab, void *buf, in ath11k_hif_read() argument
106 if (!ab->hif.ops->read) in ath11k_hif_read()
109 return ab->hif.ops->read(ab, buf, start, end); in ath11k_hif_read()
118 static inline int ath11k_get_user_msi_vector(struct ath11k_base *ab, char *user_name, in ath11k_get_user_msi_vector() argument
122 if (!ab->hif.ops->get_user_msi_vector) in ath11k_get_user_msi_vector()
125 return ab->hif.ops->get_user_msi_vector(ab, user_name, num_vectors, in ath11k_get_user_msi_vector()
130 static inline void ath11k_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo, in ath11k_get_msi_address() argument
133 if (!ab->hif.ops->get_msi_address) in ath11k_get_msi_address()
136 ab->hif.ops->get_msi_address(ab, msi_addr_lo, msi_addr_hi); in ath11k_get_msi_address()
139 static inline void ath11k_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, in ath11k_get_ce_msi_idx() argument
142 if (ab->hif.ops->get_ce_msi_idx) in ath11k_get_ce_msi_idx()
143 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx); in ath11k_get_ce_msi_idx()