Home
last modified time | relevance | path

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

/drivers/ntb/
Dntb_hw.c82 #define MW_TO_BAR(mw) (mw * 2 + 2) macro
387 MW_TO_BAR(mw)); in ntb_set_mw_addr()
391 switch (MW_TO_BAR(mw)) { in ntb_set_mw_addr()
1026 ndev->mw[i].bar_sz = pci_resource_len(pdev, MW_TO_BAR(i)); in ntb_pci_probe()
1028 ioremap_wc(pci_resource_start(pdev, MW_TO_BAR(i)), in ntb_pci_probe()
1031 pci_resource_len(pdev, MW_TO_BAR(i))); in ntb_pci_probe()
1034 MW_TO_BAR(i)); in ntb_pci_probe()