Lines Matching refs:barno
737 enum pci_barno barno; in epf_ntb_peer_spad_bar_clear() local
744 barno = ntb_epc->epf_ntb_bar[BAR_PEER_SPAD]; in epf_ntb_peer_spad_bar_clear()
745 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_peer_spad_bar_clear()
784 enum pci_barno peer_barno, barno; in epf_ntb_peer_spad_bar_set() local
798 barno = ntb_epc->epf_ntb_bar[BAR_PEER_SPAD]; in epf_ntb_peer_spad_bar_set()
799 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_peer_spad_bar_set()
807 epf_bar->barno = barno; in epf_ntb_peer_spad_bar_set()
853 enum pci_barno barno; in epf_ntb_config_sspad_bar_clear() local
860 barno = ntb_epc->epf_ntb_bar[BAR_CONFIG]; in epf_ntb_config_sspad_bar_clear()
861 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_config_sspad_bar_clear()
898 enum pci_barno barno; in epf_ntb_config_sspad_bar_set() local
911 barno = ntb_epc->epf_ntb_bar[BAR_CONFIG]; in epf_ntb_config_sspad_bar_set()
912 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_config_sspad_bar_set()
952 enum pci_barno barno; in epf_ntb_config_spad_bar_free() local
958 barno = ntb_epc->epf_ntb_bar[BAR_CONFIG]; in epf_ntb_config_spad_bar_free()
960 pci_epf_free_space(epf, ntb_epc->reg, barno, type); in epf_ntb_config_spad_bar_free()
999 enum pci_barno peer_barno, barno; in epf_ntb_config_spad_bar_alloc() local
1014 barno = ntb_epc->epf_ntb_bar[BAR_CONFIG]; in epf_ntb_config_spad_bar_alloc()
1015 size = epc_features->bar_fixed_size[barno]; in epf_ntb_config_spad_bar_alloc()
1037 ntb_epc->msix_bar = barno; in epf_ntb_config_spad_bar_alloc()
1070 base = pci_epf_alloc_space(epf, size, barno, align, type); in epf_ntb_config_spad_bar_alloc()
1164 enum pci_barno barno; in epf_ntb_free_peer_mem() local
1171 barno = ntb_epc->epf_ntb_bar[bar]; in epf_ntb_free_peer_mem()
1172 mw_addr = ntb_epc->mw_addr[barno]; in epf_ntb_free_peer_mem()
1173 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_free_peer_mem()
1178 ntb_epc->mw_addr[barno] = NULL; in epf_ntb_free_peer_mem()
1227 enum pci_barno barno; in epf_ntb_db_mw_bar_clear() local
1237 barno = ntb_epc->epf_ntb_bar[bar]; in epf_ntb_db_mw_bar_clear()
1238 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_db_mw_bar_clear()
1387 enum pci_barno barno; in epf_ntb_alloc_peer_mem() local
1409 barno = ntb_epc->epf_ntb_bar[bar]; in epf_ntb_alloc_peer_mem()
1410 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_alloc_peer_mem()
1411 ntb_epc->mw_addr[barno] = mw_addr; in epf_ntb_alloc_peer_mem()
1415 epf_bar->barno = barno; in epf_ntb_alloc_peer_mem()
1438 enum pci_barno barno; in epf_ntb_db_mw_bar_init() local
1478 barno = ntb_epc->epf_ntb_bar[bar]; in epf_ntb_db_mw_bar_init()
1479 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_db_mw_bar_init()
1644 enum pci_barno barno; in epf_ntb_init_epc_bar_interface() local
1650 barno = BAR_0; in epf_ntb_init_epc_bar_interface()
1657 for (bar = BAR_CONFIG; bar <= BAR_DB_MW1; bar++, barno++) { in epf_ntb_init_epc_bar_interface()
1658 barno = pci_epc_get_next_free_bar(epc_features, barno); in epf_ntb_init_epc_bar_interface()
1659 if (barno < 0) { in epf_ntb_init_epc_bar_interface()
1662 return barno; in epf_ntb_init_epc_bar_interface()
1664 ntb_epc->epf_ntb_bar[bar] = barno; in epf_ntb_init_epc_bar_interface()
1668 for (bar = BAR_MW2, i = 1; i < num_mws; bar++, barno++, i++) { in epf_ntb_init_epc_bar_interface()
1669 barno = pci_epc_get_next_free_bar(epc_features, barno); in epf_ntb_init_epc_bar_interface()
1670 if (barno < 0) { in epf_ntb_init_epc_bar_interface()
1674 ntb_epc->epf_ntb_bar[bar] = barno; in epf_ntb_init_epc_bar_interface()