Searched refs:tx_bar_sz (Results 1 – 1 of 1) sorted by relevance
71 u32 tx_bar_sz, rx_bar_sz; in nfp_netvf_pci_probe() local152 tx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_tx_rings * stride; in nfp_netvf_pci_probe()156 if (tx_bar_sz > pci_resource_len(pdev, tx_bar_no)) { in nfp_netvf_pci_probe()159 tx_bar_sz = pci_resource_len(pdev, tx_bar_no); in nfp_netvf_pci_probe()160 max_tx_rings = (tx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe()197 if ((tx_bar_off + tx_bar_sz) > (rx_bar_off + rx_bar_sz)) in nfp_netvf_pci_probe()198 bar_sz = (tx_bar_off + tx_bar_sz) - bar_off; in nfp_netvf_pci_probe()219 nn->tx_bar = ioremap_nocache(map_addr, tx_bar_sz); in nfp_netvf_pci_probe()