Searched refs:pci_path (Results 1 – 1 of 1) sorted by relevance
/third_party/libdrm/ |
D | xf86drm.c | 3587 get_pci_path(int maj, int min, char *pci_path) in get_pci_path() argument 3592 if (!realpath(path, pci_path)) { in get_pci_path() 3593 strcpy(pci_path, path); in get_pci_path() 3597 term = strrchr(pci_path, '/'); in get_pci_path() 3667 char pci_path[PATH_MAX + 1], *value; in drmParsePciBusInfo() local 3670 get_pci_path(maj, min, pci_path); in drmParsePciBusInfo() 3672 value = sysfs_uevent_get(pci_path, "PCI_SLOT_NAME"); in drmParsePciBusInfo() 3786 char path[PATH_MAX + 1], pci_path[PATH_MAX + 1]; in parse_separate_sysfs_files() local 3791 get_pci_path(maj, min, pci_path); in parse_separate_sysfs_files() 3794 if (snprintf(path, PATH_MAX, "%s/%s", pci_path, attrs[i]) < 0) in parse_separate_sysfs_files() [all …]
|