nic_info 282 drivers/infiniband/hw/ocrdma/ocrdma.h struct be_dev_info nic_info; nic_info 546 drivers/infiniband/hw/ocrdma/ocrdma.h switch (dev->nic_info.pdev->device) { nic_info 570 drivers/infiniband/hw/ocrdma/ocrdma.h if (dev->nic_info.dev_family == 0xF && !dev->asic_id) { nic_info 572 drivers/infiniband/hw/ocrdma/ocrdma.h dev->nic_info.pdev, nic_info 119 drivers/infiniband/hw/ocrdma/ocrdma_ah.c memcpy(ð.smac[0], &dev->nic_info.mac_addr[0], ETH_ALEN); nic_info 318 drivers/infiniband/hw/ocrdma/ocrdma_hw.c iowrite32(val, dev->nic_info.db + OCRDMA_DB_CQ_OFFSET); nic_info 327 drivers/infiniband/hw/ocrdma/ocrdma_hw.c iowrite32(val, dev->nic_info.db + OCRDMA_DB_MQ_OFFSET); nic_info 343 drivers/infiniband/hw/ocrdma/ocrdma_hw.c iowrite32(val, dev->nic_info.db + OCRDMA_DB_EQ_OFFSET); nic_info 373 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dma_free_coherent(&dev->nic_info.pdev->dev, q->size, q->va, q->dma); nic_info 383 drivers/infiniband/hw/ocrdma/ocrdma_hw.c q->va = dma_alloc_coherent(&dev->nic_info.pdev->dev, q->size, &q->dma, nic_info 426 drivers/infiniband/hw/ocrdma/ocrdma_hw.c status = be_roce_mcc_cmd(dev->nic_info.netdev, nic_info 450 drivers/infiniband/hw/ocrdma/ocrdma_hw.c status = be_roce_mcc_cmd(dev->nic_info.netdev, cmd, sizeof(*cmd), NULL, nic_info 486 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (dev->nic_info.intr_mode == BE_INTERRUPT_MODE_INTX) nic_info 487 drivers/infiniband/hw/ocrdma/ocrdma_hw.c irq = dev->nic_info.pdev->irq; nic_info 489 drivers/infiniband/hw/ocrdma/ocrdma_hw.c irq = dev->nic_info.msix.vector_list[eq->vector]; nic_info 546 drivers/infiniband/hw/ocrdma/ocrdma_hw.c status = be_roce_mcc_cmd(dev->nic_info.netdev, nic_info 595 drivers/infiniband/hw/ocrdma/ocrdma_hw.c status = be_roce_mcc_cmd(dev->nic_info.netdev, nic_info 1341 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dma.va = dma_alloc_coherent(&dev->nic_info.pdev->dev, nic_info 1371 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dma_free_coherent(&dev->nic_info.pdev->dev, dma.size, dma.va, dma.pa); nic_info 1651 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 1726 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 1788 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 1905 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dma_free_coherent(&dev->nic_info.pdev->dev, cq->len, cq->va, cq->pa); nic_info 2190 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 2245 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 2304 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 2375 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 2596 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd->params.dmac_b0_to_b3 = dev->nic_info.mac_addr[0] | nic_info 2597 drivers/infiniband/hw/ocrdma/ocrdma_hw.c (dev->nic_info.mac_addr[1] << 8) | nic_info 2598 drivers/infiniband/hw/ocrdma/ocrdma_hw.c (dev->nic_info.mac_addr[2] << 16) | nic_info 2599 drivers/infiniband/hw/ocrdma/ocrdma_hw.c (dev->nic_info.mac_addr[3] << 24); nic_info 2600 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd->params.vlan_dmac_b4_to_b5 = dev->nic_info.mac_addr[4] | nic_info 2601 drivers/infiniband/hw/ocrdma/ocrdma_hw.c (dev->nic_info.mac_addr[5] << 8); nic_info 2722 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 2753 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 2865 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 2886 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 2938 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dev_name(&dev->nic_info.pdev->dev), dev->id); nic_info 2944 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dev_name(&dev->nic_info.pdev->dev), dev->id, nic_info 2953 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dev_name(&dev->nic_info.pdev->dev), dev->id); nic_info 2991 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dev_name(&dev->nic_info.pdev->dev), nic_info 3028 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dev_name(&dev->nic_info.pdev->dev), dev->id); nic_info 3031 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dev_name(&dev->nic_info.pdev->dev), dev->id, nic_info 3077 drivers/infiniband/hw/ocrdma/ocrdma_hw.c num_eq = dev->nic_info.msix.num_vectors - nic_info 3078 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dev->nic_info.msix.start_vector; nic_info 3079 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (dev->nic_info.intr_mode == BE_INTERRUPT_MODE_INTX) { nic_info 98 drivers/infiniband/hw/ocrdma/ocrdma_hw.h return dev->nic_info.unmapped_db + (pdid * dev->nic_info.db_page_size); nic_info 69 drivers/infiniband/hw/ocrdma/ocrdma_main.c memcpy(&mac_addr[0], &dev->nic_info.mac_addr[0], ETH_ALEN); nic_info 122 drivers/infiniband/hw/ocrdma/ocrdma_main.c return scnprintf(buf, PAGE_SIZE, "0x%x\n", dev->nic_info.pdev->vendor); nic_info 240 drivers/infiniband/hw/ocrdma/ocrdma_main.c dev->ibdev.dev.parent = &dev->nic_info.pdev->dev; nic_info 255 drivers/infiniband/hw/ocrdma/ocrdma_main.c ret = ib_device_set_netdev(&dev->ibdev, dev->nic_info.netdev, 1); nic_info 321 drivers/infiniband/hw/ocrdma/ocrdma_main.c memcpy(&dev->nic_info, dev_info, sizeof(*dev_info)); nic_info 322 drivers/infiniband/hw/ocrdma/ocrdma_main.c dev->id = PCI_FUNC(dev->nic_info.pdev->devfn); nic_info 348 drivers/infiniband/hw/ocrdma/ocrdma_main.c dev_name(&dev->nic_info.pdev->dev), hca_name(dev), nic_info 352 drivers/infiniband/hw/ocrdma/ocrdma_main.c dev_name(&dev->nic_info.pdev->dev), dev->id); nic_info 76 drivers/infiniband/hw/ocrdma/ocrdma_stats.c mem->va = dma_alloc_coherent(&dev->nic_info.pdev->dev, mem->size, nic_info 96 drivers/infiniband/hw/ocrdma/ocrdma_stats.c dma_free_coherent(&dev->nic_info.pdev->dev, mem->size, nic_info 763 drivers/infiniband/hw/ocrdma/ocrdma_stats.c const struct pci_dev *pdev = dev->nic_info.pdev; nic_info 80 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c attr->vendor_id = dev->nic_info.pdev->vendor; nic_info 81 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c attr->vendor_part_id = dev->nic_info.pdev->device; nic_info 163 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c netdev = dev->nic_info.netdev; nic_info 373 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c pd->dpp_enabled ? (dev->nic_info.db_page_size / nic_info 478 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 531 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 550 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u64 unmapped_db = (u64) dev->nic_info.unmapped_db; nic_info 562 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c dev->nic_info.db_total_size)) && nic_info 563 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (len <= dev->nic_info.db_page_size)) { nic_info 570 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c } else if (dev->nic_info.dpp_unmapped_len && nic_info 571 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (vm_page >= (u64) dev->nic_info.dpp_unmapped_addr) && nic_info 572 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (vm_page <= (u64) (dev->nic_info.dpp_unmapped_addr + nic_info 573 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c dev->nic_info.dpp_unmapped_len)) && nic_info 574 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (len <= dev->nic_info.dpp_unmapped_len)) { nic_info 603 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c db_page_size = dev->nic_info.db_page_size; nic_info 610 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c dpp_page_addr = dev->nic_info.dpp_unmapped_addr + nic_info 684 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u64 dpp_db = dev->nic_info.dpp_unmapped_addr + nic_info 689 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_del_mmap(pd->uctx, usr_db, dev->nic_info.db_page_size); nic_info 752 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 798 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c struct pci_dev *pdev = dev->nic_info.pdev; nic_info 958 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.db_page_size = dev->nic_info.db_page_size; nic_info 1090 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c dev->nic_info.db_page_size); nic_info 1195 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c usr_db = dev->nic_info.unmapped_db + nic_info 1196 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (pd->id * dev->nic_info.db_page_size); nic_info 1211 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.db_page_size = dev->nic_info.db_page_size; nic_info 1247 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp->sq_db = dev->nic_info.db + nic_info 1248 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (pd->id * dev->nic_info.db_page_size) + nic_info 1250 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp->rq_db = dev->nic_info.db + nic_info 1251 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (pd->id * dev->nic_info.db_page_size) + nic_info 1254 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp->sq_db = dev->nic_info.db + nic_info 1255 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (pd->id * dev->nic_info.db_page_size) + nic_info 1257 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp->rq_db = dev->nic_info.db + nic_info 1258 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (pd->id * dev->nic_info.db_page_size) + nic_info 1758 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.db_page_addr = dev->nic_info.unmapped_db + nic_info 1759 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (srq->pd->id * dev->nic_info.db_page_size); nic_info 1760 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.db_page_size = dev->nic_info.db_page_size; nic_info 1795 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c srq->db = dev->nic_info.db + (pd->id * dev->nic_info.db_page_size); nic_info 2271 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlcnic_info nic_info; nic_info 2274 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c memset(&nic_info, 0, sizeof(struct qlcnic_info)); nic_info 2275 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c err = qlcnic_get_nic_info(adapter, &nic_info, ahw->pci_func); nic_info 2279 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->physical_port = (u8) nic_info.phys_port; nic_info 2280 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->switch_mode = nic_info.switch_mode; nic_info 2281 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->max_tx_ques = nic_info.max_tx_ques; nic_info 2282 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->max_rx_ques = nic_info.max_rx_ques; nic_info 2283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->capabilities = nic_info.capabilities; nic_info 2284 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->max_mac_filters = nic_info.max_mac_filters; nic_info 2285 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->max_mtu = nic_info.max_mtu; nic_info 267 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c struct qlcnic_info nic_info; nic_info 270 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c memset(&nic_info, 0, sizeof(struct qlcnic_info)); nic_info 272 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c err = qlcnic_get_nic_info(adapter, &nic_info, func); nic_info 276 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c if (nic_info.capabilities & QLC_83XX_ESWITCH_CAPABILITY) nic_info 277 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c *port_id = nic_info.phys_port; nic_info 853 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c const struct qlcnic_info_le *nic_info; nic_info 863 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info = nic_info_addr; nic_info 878 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->pci_func = le16_to_cpu(nic_info->pci_func); nic_info 879 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->op_mode = le16_to_cpu(nic_info->op_mode); nic_info 880 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->min_tx_bw = le16_to_cpu(nic_info->min_tx_bw); nic_info 881 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->max_tx_bw = le16_to_cpu(nic_info->max_tx_bw); nic_info 882 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->phys_port = le16_to_cpu(nic_info->phys_port); nic_info 883 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->switch_mode = le16_to_cpu(nic_info->switch_mode); nic_info 884 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->max_tx_ques = le16_to_cpu(nic_info->max_tx_ques); nic_info 885 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->max_rx_ques = le16_to_cpu(nic_info->max_rx_ques); nic_info 886 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->capabilities = le32_to_cpu(nic_info->capabilities); nic_info 887 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c npar_info->max_mtu = le16_to_cpu(nic_info->max_mtu); nic_info 906 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c struct qlcnic_info_le *nic_info; nic_info 917 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info = nic_info_addr; nic_info 919 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->pci_func = cpu_to_le16(nic->pci_func); nic_info 920 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->op_mode = cpu_to_le16(nic->op_mode); nic_info 921 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->phys_port = cpu_to_le16(nic->phys_port); nic_info 922 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->switch_mode = cpu_to_le16(nic->switch_mode); nic_info 923 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->capabilities = cpu_to_le32(nic->capabilities); nic_info 924 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->max_mac_filters = nic->max_mac_filters; nic_info 925 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->max_tx_ques = cpu_to_le16(nic->max_tx_ques); nic_info 926 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->max_rx_ques = cpu_to_le16(nic->max_rx_ques); nic_info 927 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->min_tx_bw = cpu_to_le16(nic->min_tx_bw); nic_info 928 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c nic_info->max_tx_bw = cpu_to_le16(nic->max_tx_bw); nic_info 1309 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c struct qlcnic_info nic_info; nic_info 1312 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c memset(&nic_info, 0, sizeof(struct qlcnic_info)); nic_info 1313 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c err = qlcnic_get_nic_info(adapter, &nic_info, adapter->ahw->pci_func); nic_info 1317 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->physical_port = (u8)nic_info.phys_port; nic_info 1318 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->switch_mode = nic_info.switch_mode; nic_info 1319 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->max_tx_ques = nic_info.max_tx_ques; nic_info 1320 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->max_rx_ques = nic_info.max_rx_ques; nic_info 1321 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->capabilities = nic_info.capabilities; nic_info 1333 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->max_mac_filters = nic_info.max_mac_filters; nic_info 1334 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->max_mtu = nic_info.max_mtu; nic_info 1569 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c struct qlcnic_info nic_info; nic_info 1583 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c memset(&nic_info, 0, sizeof(struct qlcnic_info)); nic_info 1584 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c err = qlcnic_get_nic_info(adapter, &nic_info, pci_func); nic_info 1587 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c nic_info.min_tx_bw = npar->min_bw; nic_info 1588 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c nic_info.max_tx_bw = npar->max_bw; nic_info 1589 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c err = qlcnic_set_nic_info(adapter, &nic_info); nic_info 498 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c struct qlcnic_info nic_info; nic_info 501 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c err = qlcnic_sriov_get_vf_vport_info(adapter, &nic_info, 0); nic_info 505 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c ahw->max_mc_count = nic_info.max_rx_mcast_mac_filters; nic_info 507 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c err = qlcnic_get_nic_info(adapter, &nic_info, ahw->pci_func); nic_info 519 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c ahw->physical_port = (u8) nic_info.phys_port; nic_info 520 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c ahw->switch_mode = nic_info.switch_mode; nic_info 521 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c ahw->max_mtu = nic_info.max_mtu; nic_info 522 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c ahw->op_mode = nic_info.op_mode; nic_info 523 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c ahw->capabilities = nic_info.capabilities; nic_info 507 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c struct qlcnic_info nic_info, pf_info, vp_info; nic_info 536 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_get_nic_info(adapter, &nic_info, func); nic_info 548 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c ahw->physical_port = (u8) nic_info.phys_port; nic_info 549 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c ahw->switch_mode = nic_info.switch_mode; nic_info 550 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c ahw->max_mtu = nic_info.max_mtu; nic_info 551 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c ahw->capabilities = nic_info.capabilities; nic_info 1854 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c struct qlcnic_info nic_info; nic_info 1891 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (qlcnic_sriov_get_vf_vport_info(adapter, &nic_info, vpid)) nic_info 1894 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c nic_info.max_tx_bw = max_tx_rate / 100; nic_info 1895 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c nic_info.min_tx_bw = min_tx_rate / 100; nic_info 1896 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c nic_info.bit_offsets = BIT_0; nic_info 1898 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (qlcnic_sriov_pf_set_vport_info(adapter, &nic_info, vpid)) nic_info 686 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c struct qlcnic_info nic_info; nic_info 705 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c memset(&nic_info, 0, sizeof(struct qlcnic_info)); nic_info 706 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c ret = qlcnic_get_nic_info(adapter, &nic_info, pci_func); nic_info 709 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c nic_info.pci_func = pci_func; nic_info 710 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c nic_info.min_tx_bw = np_cfg[i].min_bw; nic_info 711 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c nic_info.max_tx_bw = np_cfg[i].max_bw; nic_info 712 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c ret = qlcnic_set_nic_info(adapter, &nic_info); nic_info 718 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c adapter->npars[index].min_bw = nic_info.min_tx_bw; nic_info 719 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c adapter->npars[index].max_bw = nic_info.max_tx_bw; nic_info 734 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c struct qlcnic_info nic_info; nic_info 739 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c memset(&nic_info, 0, sizeof(struct qlcnic_info)); nic_info 755 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c ret = qlcnic_get_nic_info(adapter, &nic_info, pci_func); nic_info 760 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c np_cfg[pci_func].op_mode = (u8)nic_info.op_mode; nic_info 761 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c np_cfg[pci_func].port_num = nic_info.phys_port; nic_info 762 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c np_cfg[pci_func].fw_capab = nic_info.capabilities; nic_info 763 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c np_cfg[pci_func].min_bw = nic_info.min_tx_bw; nic_info 764 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c np_cfg[pci_func].max_bw = nic_info.max_tx_bw; nic_info 765 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c np_cfg[pci_func].max_tx_queues = nic_info.max_tx_ques; nic_info 766 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c np_cfg[pci_func].max_rx_queues = nic_info.max_rx_ques;