Home
last modified time | relevance | path

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

12

/linux-6.1.9/Documentation/ABI/testing/
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".
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
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
Dsysfs-bus-vdpa39 What: /sys/bus/vdpa/devices/.../driver_override
45 written to driver_override will have an opportunity to bind to
47 driver_override file (echo vhost-vdpa > driver_override) and may
48 be cleared with an empty string (echo > driver_override).
50 Writing to driver_override does not automatically unbind the
55 driver binding using a driver_override name such as "none".
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
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
Dsysfs-bus-rpmsg77 What: /sys/bus/rpmsg/devices/.../driver_override
/linux-6.1.9/drivers/rpmsg/
Drpmsg_core.c440 rpmsg_string_attr(driver_override, driver_override);
482 if (rpdev->driver_override) in rpmsg_dev_match()
483 return !strcmp(rpdev->driver_override, drv->name); in rpmsg_dev_match()
601 const char *driver_override) in rpmsg_register_device_override() argument
606 if (driver_override) in rpmsg_register_device_override()
607 strscpy_pad(rpdev->id.name, driver_override, RPMSG_NAME_SIZE); in rpmsg_register_device_override()
615 if (driver_override) { in rpmsg_register_device_override()
616 ret = driver_set_override(dev, &rpdev->driver_override, in rpmsg_register_device_override()
617 driver_override, in rpmsg_register_device_override()
618 strlen(driver_override)); in rpmsg_register_device_override()
[all …]
/linux-6.1.9/drivers/bus/
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-6.1.9/include/linux/
Drpmsg.h56 const char *driver_override; member
169 const char *driver_override);
198 const char *driver_override) in rpmsg_register_device_override() argument
Dplatform_device.h38 const char *driver_override; member
Dvdpa.h84 const char *driver_override; member
/linux-6.1.9/drivers/amba/
Dbus.c91 len = sprintf(buf, "%s\n", dev->driver_override); in driver_override_show()
103 ret = driver_set_override(_dev, &dev->driver_override, buf, count); in driver_override_store()
109 static DEVICE_ATTR_RW(driver_override);
232 if (pcdev->driver_override) in amba_match()
233 return !strcmp(pcdev->driver_override, drv->name); in amba_match()
/linux-6.1.9/Documentation/admin-guide/gpio/
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-6.1.9/drivers/bus/fsl-mc/
Dfsl-mc-bus.c91 if (mc_dev->driver_override) { in fsl_mc_bus_match()
92 found = !strcmp(mc_dev->driver_override, mc_drv->driver.name); in fsl_mc_bus_match()
193 ret = driver_set_override(dev, &mc_dev->driver_override, buf, count); in driver_override_store()
205 return snprintf(buf, PAGE_SIZE, "%s\n", mc_dev->driver_override); in driver_override_show()
207 static DEVICE_ATTR_RW(driver_override);
930 kfree(mc_dev->driver_override); in fsl_mc_device_remove()
931 mc_dev->driver_override = NULL; in fsl_mc_device_remove()
/linux-6.1.9/arch/sh/drivers/
Dplatform_early.c30 if (pdev->driver_override) in platform_match()
31 return !strcmp(pdev->driver_override, drv->name); in platform_match()
/linux-6.1.9/drivers/base/
Dplatform.c564 kfree(pa->pdev.driver_override); in platform_device_release()
1271 len = sysfs_emit(buf, "%s\n", pdev->driver_override); in driver_override_show()
1284 ret = driver_set_override(dev, &pdev->driver_override, buf, count); in driver_override_store()
1290 static DEVICE_ATTR_RW(driver_override);
1337 if (pdev->driver_override) in platform_match()
1338 return !strcmp(pdev->driver_override, drv->name); in platform_match()
/linux-6.1.9/drivers/vdpa/
Dvdpa.c68 if (vdev->driver_override) in vdpa_dev_match()
69 return strcmp(vdev->driver_override, drv->name) == 0; in vdpa_dev_match()
82 ret = driver_set_override(dev, &vdev->driver_override, buf, count); in driver_override_store()
96 len = snprintf(buf, PAGE_SIZE, "%s\n", vdev->driver_override); in driver_override_show()
101 static DEVICE_ATTR_RW(driver_override);
130 kfree(vdev->driver_override); in vdpa_release_dev()
/linux-6.1.9/drivers/s390/cio/
Dcss.c169 kfree(sch->driver_override); in css_subchannel_release()
343 ret = driver_set_override(dev, &sch->driver_override, buf, count); in driver_override_store()
357 len = snprintf(buf, PAGE_SIZE, "%s\n", sch->driver_override); in driver_override_show()
361 static DEVICE_ATTR_RW(driver_override);
1362 if (sch->driver_override && strcmp(sch->driver_override, drv->name)) in css_bus_match()
Dcio.h110 const char *driver_override; member
/linux-6.1.9/include/linux/amba/
Dbus.h78 const char *driver_override; member
/linux-6.1.9/drivers/pci/
Dpci-driver.c143 if (dev->driver_override && strcmp(dev->driver_override, drv->name)) in pci_match_device()
167 if (dev->driver_override) in pci_match_device()
175 if (dev->driver_override) in pci_match_device()
435 pdev->driver_override); in pci_device_can_probe()
Dpci-sysfs.c573 ret = driver_set_override(dev, &pdev->driver_override, buf, count); in driver_override_store()
587 len = sysfs_emit(buf, "%s\n", pdev->driver_override); in driver_override_show()
591 static DEVICE_ATTR_RW(driver_override);
/linux-6.1.9/drivers/hv/
Dvmbus_drv.c580 ret = driver_set_override(dev, &hv_dev->driver_override, buf, count); in driver_override_store()
594 len = snprintf(buf, PAGE_SIZE, "%s\n", hv_dev->driver_override); in driver_override_show()
599 static DEVICE_ATTR_RW(driver_override);
745 if (dev->driver_override && strcmp(dev->driver_override, drv->name)) in hv_vmbus_get_id()
754 if (!id && dev->driver_override) in hv_vmbus_get_id()
/linux-6.1.9/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c433 mc_dev->driver_override = kasprintf(GFP_KERNEL, "%s", in vfio_fsl_mc_bus_notifier()
435 if (!mc_dev->driver_override) in vfio_fsl_mc_bus_notifier()

12