Searched refs:tx_bar_sz (Results 1 – 1 of 1) sorted by relevance
84 u32 tx_bar_sz, rx_bar_sz; in nfp_netvf_pci_probe() local168 tx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_tx_rings * stride; in nfp_netvf_pci_probe()172 if (tx_bar_sz > pci_resource_len(pdev, tx_bar_no)) { in nfp_netvf_pci_probe()175 tx_bar_sz = pci_resource_len(pdev, tx_bar_no); in nfp_netvf_pci_probe()176 max_tx_rings = (tx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe()213 if ((tx_bar_off + tx_bar_sz) > (rx_bar_off + rx_bar_sz)) in nfp_netvf_pci_probe()214 bar_sz = (tx_bar_off + tx_bar_sz) - bar_off; in nfp_netvf_pci_probe()235 nn->tx_bar = ioremap(map_addr, tx_bar_sz); in nfp_netvf_pci_probe()