Lines Matching refs:peer_ntb_epc
238 struct epf_ntb_epc *peer_ntb_epc, *ntb_epc; in epf_ntb_configure_mw() local
251 peer_ntb_epc = ntb->epc[!type]; in epf_ntb_configure_mw()
252 peer_barno = peer_ntb_epc->epf_ntb_bar[mw + NTB_MW_OFFSET]; in epf_ntb_configure_mw()
253 peer_epf_bar = &peer_ntb_epc->epf_bar[peer_barno]; in epf_ntb_configure_mw()
297 struct epf_ntb_epc *peer_ntb_epc, *ntb_epc; in epf_ntb_teardown_mw() local
308 peer_ntb_epc = ntb->epc[!type]; in epf_ntb_teardown_mw()
309 peer_barno = peer_ntb_epc->epf_ntb_bar[mw + NTB_MW_OFFSET]; in epf_ntb_teardown_mw()
310 peer_epf_bar = &peer_ntb_epc->epf_bar[peer_barno]; in epf_ntb_teardown_mw()
386 struct epf_ntb_epc *peer_ntb_epc, *ntb_epc; in epf_ntb_configure_msi() local
399 peer_ntb_epc = ntb->epc[!type]; in epf_ntb_configure_msi()
400 peer_barno = peer_ntb_epc->epf_ntb_bar[BAR_DB_MW1]; in epf_ntb_configure_msi()
401 peer_epf_bar = &peer_ntb_epc->epf_bar[peer_barno]; in epf_ntb_configure_msi()
402 peer_ctrl = peer_ntb_epc->reg; in epf_ntb_configure_msi()
492 struct epf_ntb_epc *peer_ntb_epc, *ntb_epc; in epf_ntb_configure_msix() local
511 peer_ntb_epc = ntb->epc[!type]; in epf_ntb_configure_msix()
512 peer_barno = peer_ntb_epc->epf_ntb_bar[BAR_DB_MW1]; in epf_ntb_configure_msix()
513 peer_epf_bar = &peer_ntb_epc->epf_bar[peer_barno]; in epf_ntb_configure_msix()
515 peer_ctrl = peer_ntb_epc->reg; in epf_ntb_configure_msix()
591 struct epf_ntb_epc *peer_ntb_epc, *ntb_epc; in epf_ntb_teardown_db() local
601 peer_ntb_epc = ntb->epc[!type]; in epf_ntb_teardown_db()
602 peer_barno = peer_ntb_epc->epf_ntb_bar[BAR_DB_MW1]; in epf_ntb_teardown_db()
603 peer_epf_bar = &peer_ntb_epc->epf_bar[peer_barno]; in epf_ntb_teardown_db()
782 struct epf_ntb_epc *peer_ntb_epc, *ntb_epc; in epf_ntb_peer_spad_bar_set() local
793 peer_ntb_epc = ntb->epc[!type]; in epf_ntb_peer_spad_bar_set()
794 peer_barno = peer_ntb_epc->epf_ntb_bar[BAR_CONFIG]; in epf_ntb_peer_spad_bar_set()
795 peer_epf_bar = &peer_ntb_epc->epf_bar[peer_barno]; in epf_ntb_peer_spad_bar_set()
804 peer_spad_offset = peer_ntb_epc->reg->spad_offset; in epf_ntb_peer_spad_bar_set()
806 epf_bar->size = peer_ntb_epc->spad_size; in epf_ntb_peer_spad_bar_set()
997 struct epf_ntb_epc *peer_ntb_epc, *ntb_epc; in epf_ntb_config_spad_bar_alloc() local
1018 peer_ntb_epc = ntb->epc[!type]; in epf_ntb_config_spad_bar_alloc()
1019 peer_epc_features = peer_ntb_epc->epc_features; in epf_ntb_config_spad_bar_alloc()
1255 struct epf_ntb_epc *peer_ntb_epc, *ntb_epc; in epf_ntb_db_mw_bar_cleanup() local
1258 peer_ntb_epc = ntb->epc[!type]; in epf_ntb_db_mw_bar_cleanup()
1261 epf_ntb_free_peer_mem(peer_ntb_epc); in epf_ntb_db_mw_bar_cleanup()
1379 struct epf_ntb_epc *peer_ntb_epc, in epf_ntb_alloc_peer_mem() argument
1401 peer_epc = peer_ntb_epc->epc; in epf_ntb_alloc_peer_mem()
1405 pci_epc_interface_string(peer_ntb_epc->type)); in epf_ntb_alloc_peer_mem()
1433 struct epf_ntb_epc *peer_ntb_epc, *ntb_epc; in epf_ntb_db_mw_bar_init() local
1447 peer_ntb_epc = ntb->epc[!type]; in epf_ntb_db_mw_bar_init()
1471 peer_ntb_epc, size); in epf_ntb_db_mw_bar_init()