Home
last modified time | relevance | path

Searched refs:mw_addr (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-ntb.c97 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()
H A Dpci-epf-vntb.c533 void __iomem *mw_addr; in epf_ntb_db_bar_init() local
542 mw_addr = pci_epf_alloc_space(ntb->epf, size, barno, epc_features, 0); in epf_ntb_db_bar_init()
543 if (!mw_addr) { in epf_ntb_db_bar_init()
548 ntb->epf_db = mw_addr; in epf_ntb_db_bar_init()
560 pci_epf_free_space(ntb->epf, mw_addr, barno, 0); in epf_ntb_db_bar_init()