Searched refs:pci_info (Results 1 – 9 of 9) sorted by relevance
/drivers/edac/ |
D | amd8111_edac.c | 98 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/ |
D | init.c | 346 struct isci_pci_info *pci_info = to_pci_info(pdev); in isci_setup_interrupts() local 355 pci_info->msix_entries[i].entry = i; in isci_setup_interrupts() 357 err = pci_enable_msix(pdev, pci_info->msix_entries, num_msix); in isci_setup_interrupts() 363 struct msix_entry *msix = &pci_info->msix_entries[i]; in isci_setup_interrupts() 366 ihost = pci_info->hosts[id]; in isci_setup_interrupts() 381 ihost = pci_info->hosts[id]; in isci_setup_interrupts() 382 msix = &pci_info->msix_entries[i]; in isci_setup_interrupts() 458 struct isci_pci_info *pci_info; in isci_pci_probe() local 468 pci_info = devm_kzalloc(&pdev->dev, sizeof(*pci_info), GFP_KERNEL); in isci_pci_probe() 469 if (!pci_info) in isci_pci_probe() [all …]
|
D | host.c | 1852 struct isci_pci_info *pci_info = to_pci_info(ihost->pdev); in sci_oem_parameters_set() local 1857 u8 oem_version = pci_info->orom ? pci_info->orom->hdr.version : in sci_oem_parameters_set() 2499 struct isci_pci_info *pci_info = to_pci_info(ihost->pdev); in isci_host_init() local 2535 if (pci_info->orom) { in isci_host_init() 2537 pci_info->orom, in isci_host_init()
|
D | phy.c | 173 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/ |
D | qlcnic_main.c | 450 struct qlcnic_pci_info *pci_info; in qlcnic_init_pci_info() local 454 pci_info = kcalloc(QLCNIC_MAX_PCI_FUNC, sizeof(*pci_info), GFP_KERNEL); in qlcnic_init_pci_info() 455 if (!pci_info) in qlcnic_init_pci_info() 472 ret = qlcnic_get_pci_info(adapter, pci_info); in qlcnic_init_pci_info() 477 pfn = pci_info[i].id; in qlcnic_init_pci_info() 482 adapter->npars[pfn].active = (u8)pci_info[i].active; in qlcnic_init_pci_info() 483 adapter->npars[pfn].type = (u8)pci_info[i].type; in qlcnic_init_pci_info() 484 adapter->npars[pfn].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info() 485 adapter->npars[pfn].min_bw = pci_info[i].tx_min_bw; in qlcnic_init_pci_info() 486 adapter->npars[pfn].max_bw = pci_info[i].tx_max_bw; in qlcnic_init_pci_info() [all …]
|
D | qlcnic_ctx.c | 764 struct qlcnic_pci_info *pci_info) in qlcnic_get_pci_info() argument 790 for (i = 0; i < QLCNIC_MAX_PCI_FUNC; i++, npar++, pci_info++) { in qlcnic_get_pci_info() 791 pci_info->id = le16_to_cpu(npar->id); in qlcnic_get_pci_info() 792 pci_info->active = le16_to_cpu(npar->active); in qlcnic_get_pci_info() 793 pci_info->type = le16_to_cpu(npar->type); in qlcnic_get_pci_info() 794 pci_info->default_port = in qlcnic_get_pci_info() 796 pci_info->tx_min_bw = in qlcnic_get_pci_info() 798 pci_info->tx_max_bw = in qlcnic_get_pci_info() 800 memcpy(pci_info->mac, npar->mac, ETH_ALEN); in qlcnic_get_pci_info()
|
/drivers/scsi/aacraid/ |
D | commctrl.c | 831 struct aac_pci_info pci_info; in aac_get_pci_info() local 833 pci_info.bus = dev->pdev->bus->number; in aac_get_pci_info() 834 pci_info.slot = PCI_SLOT(dev->pdev->devfn); in aac_get_pci_info() 836 if (copy_to_user(arg, &pci_info, sizeof(struct aac_pci_info))) { in aac_get_pci_info()
|
/drivers/scsi/qla2xxx/ |
D | qla_attr.c | 881 char pci_info[30]; in qla2x00_pci_info_show() local 884 vha->hw->isp_ops->pci_info_str(vha, pci_info)); in qla2x00_pci_info_show() 1260 static DEVICE_ATTR(pci_info, S_IRUGO, qla2x00_pci_info_show, NULL);
|
D | qla_os.c | 2135 char pci_info[30]; in qla2x00_probe_one() local 2575 pdev->device, ha->isp_ops->pci_info_str(base_vha, pci_info), in qla2x00_probe_one()
|