Searched refs:tx_bar_sz (Results 1 – 1 of 1) sorted by relevance
101 u32 tx_bar_sz, rx_bar_sz; in nfp_netvf_pci_probe() local182 tx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_tx_rings * stride; in nfp_netvf_pci_probe()186 if (tx_bar_sz > pci_resource_len(pdev, tx_bar_no)) { in nfp_netvf_pci_probe()189 tx_bar_sz = pci_resource_len(pdev, tx_bar_no); in nfp_netvf_pci_probe()190 max_tx_rings = (tx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe()228 if ((tx_bar_off + tx_bar_sz) > (rx_bar_off + rx_bar_sz)) in nfp_netvf_pci_probe()229 bar_sz = (tx_bar_off + tx_bar_sz) - bar_off; in nfp_netvf_pci_probe()250 nn->tx_bar = ioremap_nocache(map_addr, tx_bar_sz); in nfp_netvf_pci_probe()