Lines Matching refs:test_reg_bar
52 enum pci_barno test_reg_bar; member
640 enum pci_barno test_reg_bar = epf_test->test_reg_bar; in pci_epf_test_cmd_handler() local
641 struct pci_epf_test_reg *reg = epf_test->reg[test_reg_bar]; in pci_epf_test_cmd_handler()
718 enum pci_barno test_reg_bar = epf_test->test_reg_bar; in pci_epf_test_set_bar() local
741 if (bar == test_reg_bar) in pci_epf_test_set_bar()
790 epf_test->test_reg_bar, in pci_epf_test_core_init()
827 enum pci_barno test_reg_bar = epf_test->test_reg_bar; in pci_epf_test_alloc_space() local
844 if (epc_features->bar_fixed_size[test_reg_bar]) { in pci_epf_test_alloc_space()
845 if (test_reg_size > bar_size[test_reg_bar]) in pci_epf_test_alloc_space()
847 test_reg_size = bar_size[test_reg_bar]; in pci_epf_test_alloc_space()
850 base = pci_epf_alloc_space(epf, test_reg_size, test_reg_bar, in pci_epf_test_alloc_space()
856 epf_test->reg[test_reg_bar] = base; in pci_epf_test_alloc_space()
862 if (bar == test_reg_bar) in pci_epf_test_alloc_space()
902 enum pci_barno test_reg_bar = BAR_0; in pci_epf_test_bind() local
918 test_reg_bar = pci_epc_get_first_free_bar(epc_features); in pci_epf_test_bind()
919 if (test_reg_bar < 0) in pci_epf_test_bind()
923 epf_test->test_reg_bar = test_reg_bar; in pci_epf_test_bind()