Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmhi.c251 static int ath12k_mhi_get_msi(struct ath12k_pci *ab_pci) in ath12k_mhi_get_msi() argument
253 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_get_msi()
275 ab_pci->mhi_ctrl->irq = irq; in ath12k_mhi_get_msi()
276 ab_pci->mhi_ctrl->nr_irqs = num_vectors; in ath12k_mhi_get_msi()
353 int ath12k_mhi_register(struct ath12k_pci *ab_pci) in ath12k_mhi_register() argument
355 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_register()
364 ab_pci->amss_path, in ath12k_mhi_register()
365 sizeof(ab_pci->amss_path)); in ath12k_mhi_register()
367 ab_pci->mhi_ctrl = mhi_ctrl; in ath12k_mhi_register()
369 mhi_ctrl->fw_image = ab_pci->amss_path; in ath12k_mhi_register()
[all …]
H A Dpci.c127 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_wake_up() local
129 return mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath12k_pci_bus_wake_up()
134 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_release() local
136 mhi_device_put(ab_pci->mhi_ctrl->mhi_dev); in ath12k_pci_bus_release()
149 static void ath12k_pci_select_window(struct ath12k_pci *ab_pci, u32 offset) in ath12k_pci_select_window() argument
151 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window()
156 lockdep_assert_held(&ab_pci->window_lock); in ath12k_pci_select_window()
159 static_window = ab_pci->register_window & WINDOW_STATIC_MASK; in ath12k_pci_select_window()
162 if (window != ab_pci->register_window) { in ath12k_pci_select_window()
171 ab_pci->register_window = window; in ath12k_pci_select_window()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dpci.c48 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_wake_up() local
50 return mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_wake_up()
55 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_release() local
57 mhi_device_put(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_release()
76 static inline void ath11k_pci_select_window(struct ath11k_pci *ab_pci, u32 offset) in ath11k_pci_select_window() argument
78 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window()
82 lockdep_assert_held(&ab_pci->window_lock); in ath11k_pci_select_window()
84 if (window != ab_pci->register_window) { in ath11k_pci_select_window()
94 ab_pci->register_window = window; in ath11k_pci_select_window()
101 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_window_write32() local
[all …]
H A Dmhi.c258 static int ath11k_mhi_get_msi(struct ath11k_pci *ab_pci) in ath11k_mhi_get_msi() argument
260 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi()
287 ab_pci->mhi_ctrl->irq = irq; in ath11k_mhi_get_msi()
288 ab_pci->mhi_ctrl->nr_irqs = num_vectors; in ath11k_mhi_get_msi()
390 int ath11k_mhi_register(struct ath11k_pci *ab_pci) in ath11k_mhi_register() argument
392 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register()
402 ab_pci->amss_path, in ath11k_mhi_register()
403 sizeof(ab_pci->amss_path)); in ath11k_mhi_register()
405 ab_pci->mhi_ctrl = mhi_ctrl; in ath11k_mhi_register()
407 mhi_ctrl->fw_image = ab_pci->amss_path; in ath11k_mhi_register()
[all …]