Searched refs:epf_mhi (Results 1 – 1 of 1) sorted by relevance
131 static size_t get_align_offset(struct pci_epf_mhi *epf_mhi, u64 addr) in get_align_offset() argument133 return addr & (epf_mhi->epc_features->align -1); in get_align_offset()140 struct pci_epf_mhi *epf_mhi = to_epf_mhi(mhi_cntrl); in __pci_epf_mhi_alloc_map() local141 struct pci_epf *epf = epf_mhi->epf; in __pci_epf_mhi_alloc_map()166 struct pci_epf_mhi *epf_mhi = to_epf_mhi(mhi_cntrl); in pci_epf_mhi_alloc_map() local167 size_t offset = get_align_offset(epf_mhi, pci_addr); in pci_epf_mhi_alloc_map()178 struct pci_epf_mhi *epf_mhi = to_epf_mhi(mhi_cntrl); in __pci_epf_mhi_unmap_free() local179 struct pci_epf *epf = epf_mhi->epf; in __pci_epf_mhi_unmap_free()191 struct pci_epf_mhi *epf_mhi = to_epf_mhi(mhi_cntrl); in pci_epf_mhi_unmap_free() local192 size_t offset = get_align_offset(epf_mhi, pci_addr); in pci_epf_mhi_unmap_free()[all …]