Home
last modified time | relevance | path

Searched refs:pci_info (Results 1 – 10 of 10) sorted by relevance

/drivers/edac/
Damd8111_edac.c98 static void amd8111_pci_bridge_init(struct amd8111_pci_info *pci_info) in amd8111_pci_bridge_init() argument
101 struct pci_dev *dev = pci_info->dev; in amd8111_pci_bridge_init()
146 static void amd8111_pci_bridge_exit(struct amd8111_pci_info *pci_info) in amd8111_pci_bridge_exit() argument
149 struct pci_dev *dev = pci_info->dev; in amd8111_pci_bridge_exit()
171 struct amd8111_pci_info *pci_info = edac_dev->pvt_info; in amd8111_pci_bridge_check() local
172 struct pci_dev *dev = pci_info->dev; in amd8111_pci_bridge_check()
179 "register on device %s\n", pci_info->ctl_name); in amd8111_pci_bridge_check()
195 "register on device %s\n", pci_info->ctl_name); in amd8111_pci_bridge_check()
209 "register on device %s\n", pci_info->ctl_name); in amd8111_pci_bridge_check()
224 pci_info->ctl_name); in amd8111_pci_bridge_check()
[all …]
/drivers/scsi/isci/
Dinit.c348 struct isci_pci_info *pci_info = to_pci_info(pdev); in isci_setup_interrupts() local
357 pci_info->msix_entries[i].entry = i; in isci_setup_interrupts()
359 err = pci_enable_msix(pdev, pci_info->msix_entries, num_msix); in isci_setup_interrupts()
365 struct msix_entry *msix = &pci_info->msix_entries[i]; in isci_setup_interrupts()
368 ihost = pci_info->hosts[id]; in isci_setup_interrupts()
383 ihost = pci_info->hosts[id]; in isci_setup_interrupts()
384 msix = &pci_info->msix_entries[i]; in isci_setup_interrupts()
621 struct isci_pci_info *pci_info; in isci_pci_probe() local
631 pci_info = devm_kzalloc(&pdev->dev, sizeof(*pci_info), GFP_KERNEL); in isci_pci_probe()
632 if (!pci_info) in isci_pci_probe()
[all …]
Dphy.c173 struct isci_pci_info *pci_info = to_pci_info(ihost->pdev); in sci_phy_link_layer_initialization() local
184 if (pci_info->orom->hdr.version < ISCI_ROM_VER_1_1) in sci_phy_link_layer_initialization()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c857 struct qlcnic_pci_info *pci_info; in qlcnic_sysfs_read_pci_config() local
863 pci_info = kcalloc(QLCNIC_MAX_PCI_FUNC, sizeof(*pci_info), GFP_KERNEL); in qlcnic_sysfs_read_pci_config()
864 if (!pci_info) in qlcnic_sysfs_read_pci_config()
867 ret = qlcnic_get_pci_info(adapter, pci_info); in qlcnic_sysfs_read_pci_config()
869 kfree(pci_info); in qlcnic_sysfs_read_pci_config()
877 pci_cfg[i].pci_func = pci_info[i].id; in qlcnic_sysfs_read_pci_config()
878 pci_cfg[i].func_type = pci_info[i].type; in qlcnic_sysfs_read_pci_config()
879 pci_cfg[i].port_num = pci_info[i].default_port; in qlcnic_sysfs_read_pci_config()
880 pci_cfg[i].min_bw = pci_info[i].tx_min_bw; in qlcnic_sysfs_read_pci_config()
881 pci_cfg[i].max_bw = pci_info[i].tx_max_bw; in qlcnic_sysfs_read_pci_config()
[all …]
Dqlcnic_ctx.c831 struct qlcnic_pci_info *pci_info) in qlcnic_82xx_get_pci_info() argument
856 for (i = 0; i < QLCNIC_MAX_PCI_FUNC; i++, npar++, pci_info++) { in qlcnic_82xx_get_pci_info()
857 pci_info->id = le16_to_cpu(npar->id); in qlcnic_82xx_get_pci_info()
858 pci_info->active = le16_to_cpu(npar->active); in qlcnic_82xx_get_pci_info()
859 pci_info->type = le16_to_cpu(npar->type); in qlcnic_82xx_get_pci_info()
860 if (pci_info->type == QLCNIC_TYPE_NIC) in qlcnic_82xx_get_pci_info()
862 pci_info->default_port = in qlcnic_82xx_get_pci_info()
864 pci_info->tx_min_bw = in qlcnic_82xx_get_pci_info()
866 pci_info->tx_max_bw = in qlcnic_82xx_get_pci_info()
868 memcpy(pci_info->mac, npar->mac, ETH_ALEN); in qlcnic_82xx_get_pci_info()
Dqlcnic_main.c667 struct qlcnic_pci_info *pci_info; in qlcnic_get_act_pci_func() local
685 pci_info = kcalloc(QLCNIC_MAX_PCI_FUNC, sizeof(*pci_info), GFP_KERNEL); in qlcnic_get_act_pci_func()
686 if (!pci_info) in qlcnic_get_act_pci_func()
689 ret = qlcnic_get_pci_info(adapter, pci_info); in qlcnic_get_act_pci_func()
690 kfree(pci_info); in qlcnic_get_act_pci_func()
696 struct qlcnic_pci_info *pci_info; in qlcnic_init_pci_info() local
701 pci_info = kcalloc(QLCNIC_MAX_PCI_FUNC, sizeof(*pci_info), GFP_KERNEL); in qlcnic_init_pci_info()
702 if (!pci_info) in qlcnic_init_pci_info()
705 ret = qlcnic_get_pci_info(adapter, pci_info); in qlcnic_init_pci_info()
726 pfn = pci_info[i].id; in qlcnic_init_pci_info()
[all …]
Dqlcnic_83xx_hw.c2122 struct qlcnic_pci_info *pci_info) in qlcnic_83xx_get_pci_info() argument
2133 pci_info->func_count = cmd.rsp.arg[1] & 0xFF; in qlcnic_83xx_get_pci_info()
2136 __func__, pci_info->func_count); in qlcnic_83xx_get_pci_info()
2137 for (i = 2, j = 0; j < QLCNIC_MAX_PCI_FUNC; j++, pci_info++) { in qlcnic_83xx_get_pci_info()
2138 pci_info->id = cmd.rsp.arg[i] & 0xFFFF; in qlcnic_83xx_get_pci_info()
2139 pci_info->active = (cmd.rsp.arg[i] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_pci_info()
2141 pci_info->type = cmd.rsp.arg[i] & 0xFFFF; in qlcnic_83xx_get_pci_info()
2142 if (pci_info->type == QLCNIC_TYPE_NIC) in qlcnic_83xx_get_pci_info()
2145 pci_info->default_port = temp; in qlcnic_83xx_get_pci_info()
2147 pci_info->tx_min_bw = cmd.rsp.arg[i] & 0xFFFF; in qlcnic_83xx_get_pci_info()
[all …]
/drivers/scsi/aacraid/
Dcommctrl.c833 struct aac_pci_info pci_info; in aac_get_pci_info() local
835 pci_info.bus = dev->pdev->bus->number; in aac_get_pci_info()
836 pci_info.slot = PCI_SLOT(dev->pdev->devfn); in aac_get_pci_info()
838 if (copy_to_user(arg, &pci_info, sizeof(struct aac_pci_info))) { in aac_get_pci_info()
/drivers/scsi/qla2xxx/
Dqla_attr.c955 char pci_info[30]; in qla2x00_pci_info_show() local
958 vha->hw->isp_ops->pci_info_str(vha, pci_info)); in qla2x00_pci_info_show()
1389 static DEVICE_ATTR(pci_info, S_IRUGO, qla2x00_pci_info_show, NULL);
Dqla_os.c2314 char pci_info[30]; in qla2x00_probe_one() local
2847 pdev->device, ha->isp_ops->pci_info_str(base_vha, pci_info), in qla2x00_probe_one()