Home
last modified time | relevance | path

Searched refs:ab_pci (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Dmhi.c196 static int ath12k_mhi_get_msi(struct ath12k_pci *ab_pci) in ath12k_mhi_get_msi() argument
198 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() local
282 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() argument
316 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_register()
[all …]
Dpci.c139 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_wake_up() local
141 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() local
148 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() argument
163 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 …]
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Dpci.c45 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_wake_up() local
47 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() local
54 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() argument
75 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 …]
Dmhi.c198 static int ath11k_mhi_get_msi(struct ath11k_pci *ab_pci) in ath11k_mhi_get_msi() argument
200 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() local
283 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() argument
339 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register()
348 ab_pci->mhi_ctrl = mhi_ctrl; in ath11k_mhi_register()
[all …]