Home
last modified time | relevance | path

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

12

/linux/Documentation/ABI/testing/
A Dsysfs-bus-vmbus1 What: /sys/bus/vmbus/devices/.../driver_override
8 to driver_override will have an opportunity to bind to the
10 driver_override file (echo uio_hv_generic > driver_override) and
11 may be cleared with an empty string (echo > driver_override).
13 Writing to driver_override does not automatically unbind the
18 opt-out of driver binding using a driver_override name such as
A Dsysfs-bus-amba1 What: /sys/bus/amba/devices/.../driver_override
8 written to driver_override will have an opportunity to bind to
10 driver_override file (echo vfio-amba > driver_override) and may
11 be cleared with an empty string (echo > driver_override).
13 Writing to driver_override does not automatically unbind the
18 driver binding using a driver_override name such as "none".
A Dsysfs-bus-platform1 What: /sys/bus/platform/devices/.../driver_override
8 written to driver_override will have an opportunity to bind
10 to the driver_override file (echo vfio-platform > \
11 driver_override) and may be cleared with an empty string
12 (echo > driver_override). This returns the device to standard
13 matching rules binding. Writing to driver_override does not
18 devices to opt-out of driver binding using a driver_override
A Dsysfs-bus-css39 What: /sys/bus/css/devices/.../driver_override
45 to driver_override will have an opportunity to bind to the
47 driver_override file (echo vfio-ccw > driver_override) and
48 may be cleared with an empty string (echo > driver_override).
50 Writing to driver_override does not automatically unbind the
55 opt-out of driver binding using a driver_override name such as
A Dsysfs-bus-pci323 What: /sys/bus/pci/devices/.../driver_override
330 to driver_override will have an opportunity to bind to the
332 driver_override file (echo pci-stub > driver_override) and
333 may be cleared with an empty string (echo > driver_override).
335 Writing to driver_override does not automatically unbind the
340 opt-out of driver binding using a driver_override name such as
A Dsysfs-bus-rpmsg77 What: /sys/bus/rpmsg/devices/.../driver_override
/linux/drivers/amba/
A Dbus.c89 len = sprintf(buf, "%s\n", dev->driver_override); in driver_override_show()
99 char *driver_override, *old, *cp; in driver_override_store() local
106 if (!driver_override) in driver_override_store()
109 cp = strchr(driver_override, '\n'); in driver_override_store()
114 old = dev->driver_override; in driver_override_store()
115 if (strlen(driver_override)) { in driver_override_store()
116 dev->driver_override = driver_override; in driver_override_store()
118 kfree(driver_override); in driver_override_store()
119 dev->driver_override = NULL; in driver_override_store()
127 static DEVICE_ATTR_RW(driver_override);
[all …]
/linux/drivers/bus/fsl-mc/
A Dfsl-mc-bus.c90 if (mc_dev->driver_override) { in fsl_mc_bus_match()
169 char *driver_override, *old = mc_dev->driver_override; in driver_override_store() local
179 if (!driver_override) in driver_override_store()
182 cp = strchr(driver_override, '\n'); in driver_override_store()
186 if (strlen(driver_override)) { in driver_override_store()
187 mc_dev->driver_override = driver_override; in driver_override_store()
189 kfree(driver_override); in driver_override_store()
190 mc_dev->driver_override = NULL; in driver_override_store()
205 static DEVICE_ATTR_RW(driver_override);
927 kfree(mc_dev->driver_override); in fsl_mc_device_remove()
[all …]
/linux/drivers/base/
A Dplatform.c559 kfree(pa->pdev.driver_override); in platform_device_release()
1273 char *driver_override, *old, *cp; in driver_override_store() local
1280 if (!driver_override) in driver_override_store()
1283 cp = strchr(driver_override, '\n'); in driver_override_store()
1288 old = pdev->driver_override; in driver_override_store()
1289 if (strlen(driver_override)) { in driver_override_store()
1290 pdev->driver_override = driver_override; in driver_override_store()
1292 kfree(driver_override); in driver_override_store()
1293 pdev->driver_override = NULL; in driver_override_store()
1301 static DEVICE_ATTR_RW(driver_override);
[all …]
/linux/drivers/s390/cio/
A Dcss.c169 kfree(sch->driver_override); in css_subchannel_release()
341 char *driver_override, *old, *cp; in driver_override_store() local
348 if (!driver_override) in driver_override_store()
351 cp = strchr(driver_override, '\n'); in driver_override_store()
356 old = sch->driver_override; in driver_override_store()
357 if (strlen(driver_override)) { in driver_override_store()
358 sch->driver_override = driver_override; in driver_override_store()
360 kfree(driver_override); in driver_override_store()
361 sch->driver_override = NULL; in driver_override_store()
381 static DEVICE_ATTR_RW(driver_override);
[all …]
A Dcio.h106 char *driver_override; /* Driver name to force a match */ member
/linux/drivers/bus/
A Dsimple-pm-bus.c29 if (pdev->driver_override) in simple_pm_bus_probe()
61 if (pdev->driver_override || data) in simple_pm_bus_remove()
/linux/drivers/pci/
A Dpci-sysfs.c573 char *driver_override, *old, *cp; in driver_override_store() local
579 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
580 if (!driver_override) in driver_override_store()
583 cp = strchr(driver_override, '\n'); in driver_override_store()
588 old = pdev->driver_override; in driver_override_store()
589 if (strlen(driver_override)) { in driver_override_store()
590 pdev->driver_override = driver_override; in driver_override_store()
592 kfree(driver_override); in driver_override_store()
593 pdev->driver_override = NULL; in driver_override_store()
609 len = sysfs_emit(buf, "%s\n", pdev->driver_override); in driver_override_show()
[all …]
A Dpci-driver.c142 if (dev->driver_override && strcmp(dev->driver_override, drv->name)) in pci_match_device()
166 if (dev->driver_override) in pci_match_device()
174 if (dev->driver_override) in pci_match_device()
423 pdev->driver_override); in pci_device_can_probe()
/linux/drivers/hv/
A Dvmbus_drv.c577 char *driver_override, *old, *cp; in driver_override_store() local
584 if (!driver_override) in driver_override_store()
587 cp = strchr(driver_override, '\n'); in driver_override_store()
592 old = hv_dev->driver_override; in driver_override_store()
593 if (strlen(driver_override)) { in driver_override_store()
594 hv_dev->driver_override = driver_override; in driver_override_store()
596 kfree(driver_override); in driver_override_store()
597 hv_dev->driver_override = NULL; in driver_override_store()
618 static DEVICE_ATTR_RW(driver_override);
764 if (dev->driver_override && strcmp(dev->driver_override, drv->name)) in hv_vmbus_get_id()
[all …]
/linux/Documentation/admin-guide/gpio/
A Dgpio-aggregator.rst81 gpio-aggregator driver, or by writing to the "driver_override" file in Sysfs.
97 2. Binding manually using "driver_override":
101 $ echo gpio-aggregator > /sys/bus/platform/devices/door/driver_override
/linux/drivers/rpmsg/
A Drpmsg_core.c436 rpmsg_string_attr(driver_override, driver_override);
478 if (rpdev->driver_override) in rpmsg_dev_match()
479 return !strcmp(rpdev->driver_override, drv->name); in rpmsg_dev_match()
A Drpmsg_internal.h96 rpdev->driver_override = "rpmsg_chrdev"; in rpmsg_chrdev_register_device()
A Drpmsg_ns.c24 rpdev->driver_override = "rpmsg_ns"; in rpmsg_ns_register_device()
/linux/arch/sh/drivers/
A Dplatform_early.c30 if (pdev->driver_override) in platform_match()
31 return !strcmp(pdev->driver_override, drv->name); in platform_match()
/linux/drivers/spi/
A Dspi.c51 kfree(spi->driver_override); in spidev_release()
76 const char *driver_override, *old; in driver_override_store() local
82 driver_override = kstrndup(buf, len, GFP_KERNEL); in driver_override_store()
83 if (!driver_override) in driver_override_store()
87 old = spi->driver_override; in driver_override_store()
89 spi->driver_override = driver_override; in driver_override_store()
92 spi->driver_override = NULL; in driver_override_store()
93 kfree(driver_override); in driver_override_store()
112 static DEVICE_ATTR_RW(driver_override);
343 if (spi->driver_override) in spi_match_device()
[all …]
/linux/include/linux/amba/
A Dbus.h73 char *driver_override; member
/linux/include/linux/
A Drpmsg.h54 char *driver_override; member
A Dplatform_device.h34 char *driver_override; /* Driver name to force a match */ member
/linux/drivers/vfio/fsl-mc/
A Dvfio_fsl_mc.c442 mc_dev->driver_override = kasprintf(GFP_KERNEL, "%s", in vfio_fsl_mc_bus_notifier()
444 if (!mc_dev->driver_override) in vfio_fsl_mc_bus_notifier()

Completed in 42 milliseconds

12