Searched refs:wpath (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/pci/ |
D | pci.c | 277 char *wpath, *p; in pci_dev_str_match_path() local 282 wpath = kmemdup_nul(path, *endptr - path, GFP_ATOMIC); in pci_dev_str_match_path() 283 if (!wpath) in pci_dev_str_match_path() 287 p = strrchr(wpath, '/'); in pci_dev_str_match_path() 316 ret = sscanf(wpath, "%x:%x:%x.%x%c", &seg, &bus, &slot, in pci_dev_str_match_path() 320 ret = sscanf(wpath, "%x:%x.%x%c", &bus, &slot, &func, &end); in pci_dev_str_match_path() 332 kfree(wpath); in pci_dev_str_match_path()
|