Searched refs:mw_addr (Results 1 – 2 of 2) sorted by relevance
/drivers/pci/endpoint/functions/ |
D | pci-epf-ntb.c | 97 void __iomem *mw_addr[6]; member 1161 void __iomem *mw_addr; in epf_ntb_free_peer_mem() local 1172 mw_addr = ntb_epc->mw_addr[barno]; in epf_ntb_free_peer_mem() 1176 if (mw_addr) { in epf_ntb_free_peer_mem() 1177 pci_epc_mem_free_addr(epc, phys_addr, mw_addr, size); in epf_ntb_free_peer_mem() 1178 ntb_epc->mw_addr[barno] = NULL; in epf_ntb_free_peer_mem() 1386 void __iomem *mw_addr; in epf_ntb_alloc_peer_mem() local 1402 mw_addr = pci_epc_mem_alloc_addr(peer_epc, &phys_addr, size); in epf_ntb_alloc_peer_mem() 1403 if (!mw_addr) { in epf_ntb_alloc_peer_mem() 1411 ntb_epc->mw_addr[barno] = mw_addr; in epf_ntb_alloc_peer_mem()
|
D | pci-epf-vntb.c | 534 void __iomem *mw_addr; in epf_ntb_db_bar_init() local 553 mw_addr = pci_epf_alloc_space(ntb->epf, size, barno, align, 0); in epf_ntb_db_bar_init() 554 if (!mw_addr) { in epf_ntb_db_bar_init() 559 ntb->epf_db = mw_addr; in epf_ntb_db_bar_init() 571 pci_epf_free_space(ntb->epf, mw_addr, barno, 0); in epf_ntb_db_bar_init()
|