Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dmhi.c248 static int ath12k_mhi_get_msi(struct ath12k_pci *ab_pci) in ath12k_mhi_get_msi() argument
250 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_get_msi()
272 ab_pci->mhi_ctrl->irq = irq; in ath12k_mhi_get_msi()
273 ab_pci->mhi_ctrl->nr_irqs = num_vectors; in ath12k_mhi_get_msi()
350 int ath12k_mhi_register(struct ath12k_pci *ab_pci) in ath12k_mhi_register() argument
352 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_register()
361 ab_pci->amss_path, in ath12k_mhi_register()
362 sizeof(ab_pci->amss_path)); in ath12k_mhi_register()
364 ab_pci->mhi_ctrl = mhi_ctrl; in ath12k_mhi_register()
366 mhi_ctrl->fw_image = ab_pci->amss_path; in ath12k_mhi_register()
[all …]
H A Dpci.c124 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_wake_up() local
126 return mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath12k_pci_bus_wake_up()
131 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_release() local
133 mhi_device_put(ab_pci->mhi_ctrl->mhi_dev); in ath12k_pci_bus_release()
146 static void ath12k_pci_select_window(struct ath12k_pci *ab_pci, u32 offset) in ath12k_pci_select_window() argument
148 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window()
153 lockdep_assert_held(&ab_pci->window_lock); in ath12k_pci_select_window()
156 static_window = ab_pci->register_window & WINDOW_STATIC_MASK; in ath12k_pci_select_window()
159 if (window != ab_pci->register_window) { in ath12k_pci_select_window()
163 ab_pci->register_window = window; in ath12k_pci_select_window()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dpci.c42 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_wake_up() local
44 return mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_wake_up()
49 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_release() local
51 mhi_device_put(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_release()
70 static inline void ath11k_pci_select_window(struct ath11k_pci *ab_pci, u32 offset) in ath11k_pci_select_window() argument
72 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window()
76 lockdep_assert_held(&ab_pci->window_lock); in ath11k_pci_select_window()
78 if (window != ab_pci->register_window) { in ath11k_pci_select_window()
82 ab_pci->register_window = window; in ath11k_pci_select_window()
89 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_window_write32() local
[all …]
H A Dmhi.c253 static int ath11k_mhi_get_msi(struct ath11k_pci *ab_pci) in ath11k_mhi_get_msi() argument
255 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi()
282 ab_pci->mhi_ctrl->irq = irq; in ath11k_mhi_get_msi()
283 ab_pci->mhi_ctrl->nr_irqs = num_vectors; in ath11k_mhi_get_msi()
381 int ath11k_mhi_register(struct ath11k_pci *ab_pci) in ath11k_mhi_register() argument
383 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register()
393 ab_pci->amss_path, in ath11k_mhi_register()
394 sizeof(ab_pci->amss_path)); in ath11k_mhi_register()
396 ab_pci->mhi_ctrl = mhi_ctrl; in ath11k_mhi_register()
398 mhi_ctrl->fw_image = ab_pci->amss_path; in ath11k_mhi_register()
[all …]