Home
last modified time | relevance | path

Searched refs:driver_override (Results 1 – 6 of 6) sorted by relevance

/drivers/amba/
Dbus.c49 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/
Dplatform.c242 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/
Dpci-sysfs.c530 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 …]
Dpci-driver.c259 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()
Dprobe.c1589 kfree(pci_dev->driver_override); in pci_release_dev()
/drivers/xen/xen-pciback/
Dpci_stub.c566 if ((dev->driver_override && in pcistub_probe()
567 !strcmp(dev->driver_override, PCISTUB_DRIVER_NAME)) || in pcistub_probe()