Home
last modified time | relevance | path

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

/drivers/ntb/hw/intel/
Dntb_hw_gen1.c1300 u8 bar_sz; in xeon_setup_b2b_mw() local
1339 pci_read_config_byte(pdev, XEON_PBAR23SZ_OFFSET, &bar_sz); in xeon_setup_b2b_mw()
1340 dev_dbg(&pdev->dev, "PBAR23SZ %#x\n", bar_sz); in xeon_setup_b2b_mw()
1343 bar_sz -= 1; in xeon_setup_b2b_mw()
1345 bar_sz = 0; in xeon_setup_b2b_mw()
1347 pci_write_config_byte(pdev, XEON_SBAR23SZ_OFFSET, bar_sz); in xeon_setup_b2b_mw()
1348 pci_read_config_byte(pdev, XEON_SBAR23SZ_OFFSET, &bar_sz); in xeon_setup_b2b_mw()
1349 dev_dbg(&pdev->dev, "SBAR23SZ %#x\n", bar_sz); in xeon_setup_b2b_mw()
1352 pci_read_config_byte(pdev, XEON_PBAR45SZ_OFFSET, &bar_sz); in xeon_setup_b2b_mw()
1353 dev_dbg(&pdev->dev, "PBAR45SZ %#x\n", bar_sz); in xeon_setup_b2b_mw()
[all …]
/drivers/net/ethernet/netronome/nfp/
Dnfp_netvf_main.c188 u32 bar_off, bar_sz; in nfp_netvf_pci_probe() local
198 bar_sz = (tx_bar_off + tx_bar_sz) - bar_off; in nfp_netvf_pci_probe()
200 bar_sz = (rx_bar_off + rx_bar_sz) - bar_off; in nfp_netvf_pci_probe()
203 vf->q_bar = ioremap(map_addr, bar_sz); in nfp_netvf_pci_probe()