Lines Matching refs:b2b_bar

1487 	int b2b_bar;  in xeon_setup_b2b_mw()  local
1495 b2b_bar = 0; in xeon_setup_b2b_mw()
1498 b2b_bar = ndev_mw_to_bar(ndev, ndev->b2b_idx); in xeon_setup_b2b_mw()
1499 if (b2b_bar < 0) in xeon_setup_b2b_mw()
1502 dev_dbg(ndev_dev(ndev), "using b2b mw bar %d\n", b2b_bar); in xeon_setup_b2b_mw()
1504 bar_size = pci_resource_len(ndev->ntb.pdev, b2b_bar); in xeon_setup_b2b_mw()
1532 if (b2b_bar == 2) { in xeon_setup_b2b_mw()
1545 if (b2b_bar == 4) { in xeon_setup_b2b_mw()
1557 if (b2b_bar == 4) { in xeon_setup_b2b_mw()
1569 if (b2b_bar == 5) { in xeon_setup_b2b_mw()
1581 if (b2b_bar == 0) in xeon_setup_b2b_mw()
1583 else if (b2b_bar == 2) in xeon_setup_b2b_mw()
1585 else if (b2b_bar == 4 && !ndev->bar4_split) in xeon_setup_b2b_mw()
1587 else if (b2b_bar == 4) in xeon_setup_b2b_mw()
1589 else if (b2b_bar == 5) in xeon_setup_b2b_mw()
1602 bar_addr = addr->bar2_addr64 + (b2b_bar == 2 ? ndev->b2b_off : 0); in xeon_setup_b2b_mw()
1609 (b2b_bar == 4 ? ndev->b2b_off : 0); in xeon_setup_b2b_mw()
1615 (b2b_bar == 4 ? ndev->b2b_off : 0); in xeon_setup_b2b_mw()
1621 (b2b_bar == 5 ? ndev->b2b_off : 0); in xeon_setup_b2b_mw()
1629 bar_addr = addr->bar2_addr64 + (b2b_bar == 2 ? ndev->b2b_off : 0); in xeon_setup_b2b_mw()
1636 (b2b_bar == 4 ? ndev->b2b_off : 0); in xeon_setup_b2b_mw()
1642 (b2b_bar == 4 ? ndev->b2b_off : 0); in xeon_setup_b2b_mw()
1648 (b2b_bar == 5 ? ndev->b2b_off : 0); in xeon_setup_b2b_mw()
1697 if (b2b_bar == 0) in xeon_setup_b2b_mw()
1699 else if (b2b_bar == 2) in xeon_setup_b2b_mw()
1701 else if (b2b_bar == 4 && !ndev->bar4_split) in xeon_setup_b2b_mw()
1703 else if (b2b_bar == 4) in xeon_setup_b2b_mw()
1705 else if (b2b_bar == 5) in xeon_setup_b2b_mw()
1715 if (b2b_bar) { in xeon_setup_b2b_mw()
1717 ndev->peer_mmio = pci_iomap(pdev, b2b_bar, in xeon_setup_b2b_mw()