Searched refs:ab_pci (Results 1 – 4 of 4) sorted by relevance
196 static int ath12k_mhi_get_msi(struct ath12k_pci *ab_pci) in ath12k_mhi_get_msi() argument198 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_get_msi()219 if (test_bit(ATH12K_PCI_FLAG_MULTI_MSI_VECTORS, &ab_pci->flags)) in ath12k_mhi_get_msi()227 ab_pci->mhi_ctrl->irq = irq; in ath12k_mhi_get_msi()228 ab_pci->mhi_ctrl->nr_irqs = num_vectors; in ath12k_mhi_get_msi()272 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_mhi_op_status_cb() local282 if (ab_pci->mhi_pre_cb == MHI_CB_EE_RDDM) { in ath12k_mhi_op_status_cb()295 ab_pci->mhi_pre_cb = cb; in ath12k_mhi_op_status_cb()314 int ath12k_mhi_register(struct ath12k_pci *ab_pci) in ath12k_mhi_register() argument316 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_register()[all …]
139 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_wake_up() local141 return mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath12k_pci_bus_wake_up()146 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_release() local148 mhi_device_put(ab_pci->mhi_ctrl->mhi_dev); in ath12k_pci_bus_release()161 static void ath12k_pci_select_window(struct ath12k_pci *ab_pci, u32 offset) in ath12k_pci_select_window() argument163 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window()168 lockdep_assert_held(&ab_pci->window_lock); in ath12k_pci_select_window()171 static_window = ab_pci->register_window & WINDOW_STATIC_MASK; in ath12k_pci_select_window()174 if (window != ab_pci->register_window) { in ath12k_pci_select_window()178 ab_pci->register_window = window; in ath12k_pci_select_window()[all …]
45 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_wake_up() local47 return mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_wake_up()52 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_release() local54 mhi_device_put(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_release()73 static inline void ath11k_pci_select_window(struct ath11k_pci *ab_pci, u32 offset) in ath11k_pci_select_window() argument75 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window()79 lockdep_assert_held(&ab_pci->window_lock); in ath11k_pci_select_window()81 if (window != ab_pci->register_window) { in ath11k_pci_select_window()85 ab_pci->register_window = window; in ath11k_pci_select_window()92 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_window_write32() local[all …]
198 static int ath11k_mhi_get_msi(struct ath11k_pci *ab_pci) in ath11k_mhi_get_msi() argument200 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi()227 ab_pci->mhi_ctrl->irq = irq; in ath11k_mhi_get_msi()228 ab_pci->mhi_ctrl->nr_irqs = num_vectors; in ath11k_mhi_get_msi()272 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_mhi_op_status_cb() local283 if (ab_pci->mhi_pre_cb == MHI_CB_EE_RDDM) { in ath11k_mhi_op_status_cb()297 ab_pci->mhi_pre_cb = cb; in ath11k_mhi_op_status_cb()337 int ath11k_mhi_register(struct ath11k_pci *ab_pci) in ath11k_mhi_register() argument339 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register()348 ab_pci->mhi_ctrl = mhi_ctrl; in ath11k_mhi_register()[all …]