Lines Matching refs:chip_id
451 drm_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in drm_get_pci_id_for_fd() argument
467 *chip_id = device->deviceinfo.pci->device_id; in drm_get_pci_id_for_fd()
492 loader_get_linux_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in loader_get_linux_pci_id_for_fd() argument
504 *chip_id = loader_get_linux_pci_field(maj, min, "device"); in loader_get_linux_pci_id_for_fd()
506 return *vendor_id && *chip_id; in loader_get_linux_pci_id_for_fd()
511 loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in loader_get_pci_id_for_fd() argument
515 if (loader_get_linux_pci_id_for_fd(fd, vendor_id, chip_id)) in loader_get_pci_id_for_fd()
520 return drm_get_pci_id_for_fd(fd, vendor_id, chip_id); in loader_get_pci_id_for_fd()
540 int vendor_id, chip_id, i, j; in loader_get_pci_driver() local
543 if (!loader_get_pci_id_for_fd(fd, &vendor_id, &chip_id)) in loader_get_pci_driver()
559 if (driver_map[i].chip_ids[j] == chip_id) { in loader_get_pci_driver()
568 fd, vendor_id, chip_id, driver); in loader_get_pci_driver()