Searched refs:pciinfo (Results 1 – 2 of 2) sorted by relevance
6365 struct hpsa_pci_info pciinfo; in hpsa_getpciinfo_ioctl() local6369 pciinfo.domain = pci_domain_nr(h->pdev->bus); in hpsa_getpciinfo_ioctl()6370 pciinfo.bus = h->pdev->bus->number; in hpsa_getpciinfo_ioctl()6371 pciinfo.dev_fn = h->pdev->devfn; in hpsa_getpciinfo_ioctl()6372 pciinfo.board_id = h->board_id; in hpsa_getpciinfo_ioctl()6373 if (copy_to_user(argp, &pciinfo, sizeof(pciinfo))) in hpsa_getpciinfo_ioctl()
6502 cciss_pci_info_struct pciinfo; in pqi_getpciinfo_ioctl() local6509 pciinfo.domain = pci_domain_nr(pci_dev->bus); in pqi_getpciinfo_ioctl()6510 pciinfo.bus = pci_dev->bus->number; in pqi_getpciinfo_ioctl()6511 pciinfo.dev_fn = pci_dev->devfn; in pqi_getpciinfo_ioctl()6514 pciinfo.board_id = ((subsystem_device << 16) & 0xffff0000) | subsystem_vendor; in pqi_getpciinfo_ioctl()6516 if (copy_to_user(arg, &pciinfo, sizeof(pciinfo))) in pqi_getpciinfo_ioctl()