Searched refs:bar_sz (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/ntb/hw/intel/ |
D | ntb_hw_gen1.c | 1297 u8 bar_sz; in xeon_setup_b2b_mw() local 1336 pci_read_config_byte(pdev, XEON_PBAR23SZ_OFFSET, &bar_sz); in xeon_setup_b2b_mw() 1337 dev_dbg(&pdev->dev, "PBAR23SZ %#x\n", bar_sz); in xeon_setup_b2b_mw() 1340 bar_sz -= 1; in xeon_setup_b2b_mw() 1342 bar_sz = 0; in xeon_setup_b2b_mw() 1344 pci_write_config_byte(pdev, XEON_SBAR23SZ_OFFSET, bar_sz); in xeon_setup_b2b_mw() 1345 pci_read_config_byte(pdev, XEON_SBAR23SZ_OFFSET, &bar_sz); in xeon_setup_b2b_mw() 1346 dev_dbg(&pdev->dev, "SBAR23SZ %#x\n", bar_sz); in xeon_setup_b2b_mw() 1349 pci_read_config_byte(pdev, XEON_PBAR45SZ_OFFSET, &bar_sz); in xeon_setup_b2b_mw() 1350 dev_dbg(&pdev->dev, "PBAR45SZ %#x\n", bar_sz); in xeon_setup_b2b_mw() [all …]
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_netvf_main.c | 188 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_nocache(map_addr, bar_sz); in nfp_netvf_pci_probe()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | leon_pci_grpci1.c | 423 u32 ahbadr, bar_sz, data, pciadr; in grpci1_hw_init() local 443 grpci1_cfg_r32(priv, TGT, 0, PCI_BASE_ADDRESS_0, &bar_sz); in grpci1_hw_init() 444 bar_sz = ~bar_sz + 1; in grpci1_hw_init() 445 pciadr = priv->pci_area - bar_sz; in grpci1_hw_init()
|
D | leon_pci_grpci2.c | 567 u32 ahbadr, pciadr, bar_sz, capptr, io_map, data; in grpci2_hw_init() local 618 bar_sz = ((pciadr - 1) & ~pciadr) + 1; in grpci2_hw_init() 622 bar_sz = 0xf0000008; /* 256MB prefetchable */ in grpci2_hw_init() 627 bar_sz = 0; in grpci2_hw_init() 633 bar_sz); in grpci2_hw_init()
|