Lines Matching refs:epf_bar
611 struct pci_epf_bar *epf_bar; in pci_epf_test_unbind() local
618 epf_bar = &epf->bar[bar]; in pci_epf_test_unbind()
621 pci_epc_clear_bar(epc, epf->func_no, epf_bar); in pci_epf_test_unbind()
631 struct pci_epf_bar *epf_bar; in pci_epf_test_set_bar() local
641 epf_bar = &epf->bar[bar]; in pci_epf_test_set_bar()
647 add = (epf_bar->flags & PCI_BASE_ADDRESS_MEM_TYPE_64) ? 2 : 1; in pci_epf_test_set_bar()
652 ret = pci_epc_set_bar(epc, epf->func_no, epf_bar); in pci_epf_test_set_bar()
743 struct pci_epf_bar *epf_bar; in pci_epf_test_alloc_space() local
782 epf_bar = &epf->bar[bar]; in pci_epf_test_alloc_space()
783 add = (epf_bar->flags & PCI_BASE_ADDRESS_MEM_TYPE_64) ? 2 : 1; in pci_epf_test_alloc_space()
805 struct pci_epf_bar *epf_bar; in pci_epf_configure_bar() local
810 epf_bar = &epf->bar[i]; in pci_epf_configure_bar()
813 epf_bar->flags |= PCI_BASE_ADDRESS_MEM_TYPE_64; in pci_epf_configure_bar()