ctrl_bar 117 drivers/net/ethernet/netronome/nfp/abm/main.c port->vnic = alink->vnic->dp.ctrl_bar; ctrl_bar 220 drivers/net/ethernet/netronome/nfp/ccm_mbox.c data = nn->dp.ctrl_bar + nn->tlv_caps.mbox_off + ctrl_bar 232 drivers/net/ethernet/netronome/nfp/ccm_mbox.c offset = data - nn->dp.ctrl_bar; ctrl_bar 423 drivers/net/ethernet/netronome/nfp/flower/main.c port->vnic = priv->nn->dp.ctrl_bar; ctrl_bar 518 drivers/net/ethernet/netronome/nfp/nfp_net.h u8 __iomem *ctrl_bar; ctrl_bar 706 drivers/net/ethernet/netronome/nfp/nfp_net.h return readb(nn->dp.ctrl_bar + off); ctrl_bar 711 drivers/net/ethernet/netronome/nfp/nfp_net.h writeb(val, nn->dp.ctrl_bar + off); ctrl_bar 716 drivers/net/ethernet/netronome/nfp/nfp_net.h return readw(nn->dp.ctrl_bar + off); ctrl_bar 721 drivers/net/ethernet/netronome/nfp/nfp_net.h writew(val, nn->dp.ctrl_bar + off); ctrl_bar 726 drivers/net/ethernet/netronome/nfp/nfp_net.h return readl(nn->dp.ctrl_bar + off); ctrl_bar 731 drivers/net/ethernet/netronome/nfp/nfp_net.h writel(val, nn->dp.ctrl_bar + off); ctrl_bar 736 drivers/net/ethernet/netronome/nfp/nfp_net.h return readq(nn->dp.ctrl_bar + off); ctrl_bar 741 drivers/net/ethernet/netronome/nfp/nfp_net.h writeq(val, nn->dp.ctrl_bar + off); ctrl_bar 923 drivers/net/ethernet/netronome/nfp/nfp_net.h void __iomem *ctrl_bar); ctrl_bar 926 drivers/net/ethernet/netronome/nfp/nfp_net.h nfp_net_alloc(struct pci_dev *pdev, void __iomem *ctrl_bar, bool needs_netdev, ctrl_bar 57 drivers/net/ethernet/netronome/nfp/nfp_net_common.c void __iomem *ctrl_bar) ctrl_bar 61 drivers/net/ethernet/netronome/nfp/nfp_net_common.c reg = readl(ctrl_bar + NFP_NET_CFG_VERSION); ctrl_bar 3815 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_alloc(struct pci_dev *pdev, void __iomem *ctrl_bar, bool needs_netdev, ctrl_bar 3839 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nn->dp.ctrl_bar = ctrl_bar; ctrl_bar 3864 drivers/net/ethernet/netronome/nfp/nfp_net_common.c err = nfp_net_tlv_caps_parse(&nn->pdev->dev, nn->dp.ctrl_bar, ctrl_bar 627 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c data = nfp_vnic_get_hw_stats(data, nn->dp.ctrl_bar, nn->max_r_vecs); ctrl_bar 876 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c writel(new_rss_cfg, nn->dp.ctrl_bar + NFP_NET_CFG_RSS_CTRL); ctrl_bar 988 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c regs_buf[i] = readl(nn->dp.ctrl_bar + (i * sizeof(u32))); ctrl_bar 106 drivers/net/ethernet/netronome/nfp/nfp_net_main.c void __iomem *ctrl_bar, void __iomem *qc_bar, ctrl_bar 113 drivers/net/ethernet/netronome/nfp/nfp_net_main.c tx_base = readl(ctrl_bar + NFP_NET_CFG_START_TXQ); ctrl_bar 114 drivers/net/ethernet/netronome/nfp/nfp_net_main.c rx_base = readl(ctrl_bar + NFP_NET_CFG_START_RXQ); ctrl_bar 115 drivers/net/ethernet/netronome/nfp/nfp_net_main.c n_tx_rings = readl(ctrl_bar + NFP_NET_CFG_MAX_TXRINGS); ctrl_bar 116 drivers/net/ethernet/netronome/nfp/nfp_net_main.c n_rx_rings = readl(ctrl_bar + NFP_NET_CFG_MAX_RXRINGS); ctrl_bar 119 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nn = nfp_net_alloc(pf->pdev, ctrl_bar, needs_netdev, ctrl_bar 125 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_net_get_fw_version(&nn->fw_ver, ctrl_bar); ctrl_bar 190 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar, ctrl_bar 198 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nn = nfp_net_pf_alloc_vnic(pf, true, ctrl_bar, qc_bar, ctrl_bar 205 drivers/net/ethernet/netronome/nfp/nfp_net_main.c ctrl_bar += NFP_PF_CSR_SLICE_SIZE; ctrl_bar 310 drivers/net/ethernet/netronome/nfp/nfp_net_main.c u8 __iomem *ctrl_bar; ctrl_bar 326 drivers/net/ethernet/netronome/nfp/nfp_net_main.c ctrl_bar = nfp_pf_map_rtsym(pf, "net.ctrl", "_pf%u_net_ctrl_bar", ctrl_bar 328 drivers/net/ethernet/netronome/nfp/nfp_net_main.c if (IS_ERR(ctrl_bar)) { ctrl_bar 330 drivers/net/ethernet/netronome/nfp/nfp_net_main.c err = PTR_ERR(ctrl_bar); ctrl_bar 334 drivers/net/ethernet/netronome/nfp/nfp_net_main.c pf->ctrl_vnic = nfp_net_pf_alloc_vnic(pf, false, ctrl_bar, qc_bar, ctrl_bar 647 drivers/net/ethernet/netronome/nfp/nfp_net_main.c u8 __iomem *ctrl_bar, *qc_bar; ctrl_bar 667 drivers/net/ethernet/netronome/nfp/nfp_net_main.c ctrl_bar = nfp_cpp_area_iomem(pf->data_vnic_bar); ctrl_bar 669 drivers/net/ethernet/netronome/nfp/nfp_net_main.c if (!ctrl_bar || !qc_bar) { ctrl_bar 674 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_net_get_fw_version(&fw_ver, ctrl_bar); ctrl_bar 720 drivers/net/ethernet/netronome/nfp/nfp_net_main.c err = nfp_net_pf_alloc_vnics(pf, ctrl_bar, qc_bar, stride); ctrl_bar 75 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c u8 __iomem *ctrl_bar; ctrl_bar 109 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c ctrl_bar = ioremap_nocache(pci_resource_start(pdev, NFP_NET_CTRL_BAR), ctrl_bar 111 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c if (!ctrl_bar) { ctrl_bar 118 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c nfp_net_get_fw_version(&fw_ver, ctrl_bar); ctrl_bar 149 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c max_tx_rings = readl(ctrl_bar + NFP_NET_CFG_MAX_TXRINGS); ctrl_bar 150 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c max_rx_rings = readl(ctrl_bar + NFP_NET_CFG_MAX_RXRINGS); ctrl_bar 169 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c startq = readl(ctrl_bar + NFP_NET_CFG_START_TXQ); ctrl_bar 171 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c startq = readl(ctrl_bar + NFP_NET_CFG_START_RXQ); ctrl_bar 175 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c nn = nfp_net_alloc(pdev, ctrl_bar, true, max_tx_rings, max_rx_rings); ctrl_bar 272 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c iounmap(ctrl_bar); ctrl_bar 310 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c iounmap(nn->dp.ctrl_bar);