Searched refs:driver_override (Results 1 – 6 of 6) sorted by relevance
/drivers/amba/ |
D | bus.c | 49 if (pcdev->driver_override) in amba_match() 50 return !strcmp(pcdev->driver_override, drv->name); in amba_match() 73 if (!dev->driver_override) in driver_override_show() 76 return sprintf(buf, "%s\n", dev->driver_override); in driver_override_show() 84 char *driver_override, *old = dev->driver_override, *cp; in driver_override_store() local 90 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store() 91 if (!driver_override) in driver_override_store() 94 cp = strchr(driver_override, '\n'); in driver_override_store() 98 if (strlen(driver_override)) { in driver_override_store() 99 dev->driver_override = driver_override; in driver_override_store() [all …]
|
/drivers/base/ |
D | platform.c | 242 kfree(pa->pdev.driver_override); in platform_device_release() 859 char *driver_override, *old, *cp; in driver_override_store() local 865 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store() 866 if (!driver_override) in driver_override_store() 869 cp = strchr(driver_override, '\n'); in driver_override_store() 874 old = pdev->driver_override; in driver_override_store() 875 if (strlen(driver_override)) { in driver_override_store() 876 pdev->driver_override = driver_override; in driver_override_store() 878 kfree(driver_override); in driver_override_store() 879 pdev->driver_override = NULL; in driver_override_store() [all …]
|
/drivers/pci/ |
D | pci-sysfs.c | 530 char *driver_override, *old, *cp; in driver_override_store() local 536 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store() 537 if (!driver_override) in driver_override_store() 540 cp = strchr(driver_override, '\n'); in driver_override_store() 545 old = pdev->driver_override; in driver_override_store() 546 if (strlen(driver_override)) { in driver_override_store() 547 pdev->driver_override = driver_override; in driver_override_store() 549 kfree(driver_override); in driver_override_store() 550 pdev->driver_override = NULL; in driver_override_store() 566 len = snprintf(buf, PAGE_SIZE, "%s\n", pdev->driver_override); in driver_override_show() [all …]
|
D | pci-driver.c | 259 if (dev->driver_override && strcmp(dev->driver_override, drv->name)) in pci_match_device() 276 if (!found_id && dev->driver_override) in pci_match_device()
|
D | probe.c | 1589 kfree(pci_dev->driver_override); in pci_release_dev()
|
/drivers/xen/xen-pciback/ |
D | pci_stub.c | 566 if ((dev->driver_override && in pcistub_probe() 567 !strcmp(dev->driver_override, PCISTUB_DRIVER_NAME)) || in pcistub_probe()
|