Searched refs:ab_pci (Results 1 – 2 of 2) sorted by relevance
245 static int ath11k_mhi_get_msi(struct ath11k_pci *ab_pci) in ath11k_mhi_get_msi() argument247 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi()252 ret = ath11k_pci_get_user_msi_assignment(ab_pci, in ath11k_mhi_get_msi()269 ab_pci->mhi_ctrl->irq = irq; in ath11k_mhi_get_msi()270 ab_pci->mhi_ctrl->nr_irqs = num_vectors; in ath11k_mhi_get_msi()314 int ath11k_mhi_register(struct ath11k_pci *ab_pci) in ath11k_mhi_register() argument316 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register()326 ab_pci->amss_path, in ath11k_mhi_register()327 sizeof(ab_pci->amss_path)); in ath11k_mhi_register()329 ab_pci->mhi_ctrl = mhi_ctrl; in ath11k_mhi_register()[all …]
133 static inline void ath11k_pci_select_window(struct ath11k_pci *ab_pci, u32 offset) in ath11k_pci_select_window() argument135 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window()139 lockdep_assert_held(&ab_pci->window_lock); in ath11k_pci_select_window()141 if (window != ab_pci->register_window) { in ath11k_pci_select_window()145 ab_pci->register_window = window; in ath11k_pci_select_window()149 static inline void ath11k_pci_select_static_window(struct ath11k_pci *ab_pci) in ath11k_pci_select_static_window() argument157 iowrite32(WINDOW_ENABLE_BIT | window, ab_pci->ab->mem + WINDOW_REG_ADDRESS); in ath11k_pci_select_static_window()179 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_write32() local185 if (test_bit(ATH11K_PCI_FLAG_INIT_DONE, &ab_pci->flags) && in ath11k_pci_write32()187 mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_write32()[all …]