Home
last modified time | relevance | path

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

12

/linux-6.6.21/Documentation/ABI/testing/
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-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-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-css35 What: /sys/bus/css/devices/.../driver_override
40 to driver_override will have an opportunity to bind to the
42 driver_override file (echo vfio-ccw > driver_override) and
43 may be cleared with an empty string (echo > driver_override).
45 Writing to driver_override does not automatically unbind the
50 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
/linux-6.6.21/drivers/rpmsg/
Drpmsg_core.c459 rpmsg_string_attr(driver_override, driver_override);
501 if (rpdev->driver_override) in rpmsg_dev_match()
502 return !strcmp(rpdev->driver_override, drv->name); in rpmsg_dev_match()
622 const char *driver_override) in rpmsg_register_device_override() argument
627 if (driver_override) in rpmsg_register_device_override()
628 strscpy_pad(rpdev->id.name, driver_override, RPMSG_NAME_SIZE); in rpmsg_register_device_override()
636 if (driver_override) { in rpmsg_register_device_override()
637 ret = driver_set_override(dev, &rpdev->driver_override, in rpmsg_register_device_override()
638 driver_override, in rpmsg_register_device_override()
639 strlen(driver_override)); in rpmsg_register_device_override()
[all …]
/linux-6.6.21/drivers/cdx/
Dcdx.c124 kfree(cdx_dev->driver_override); in cdx_unregister_device()
125 cdx_dev->driver_override = NULL; in cdx_unregister_device()
203 if (cdx_dev->driver_override && strcmp(cdx_dev->driver_override, drv->name)) in cdx_bus_match()
217 if (cdx_dev->driver_override) in cdx_bus_match()
357 ret = driver_set_override(dev, &cdx_dev->driver_override, buf, count); in driver_override_store()
369 return sysfs_emit(buf, "%s\n", cdx_dev->driver_override); in driver_override_show()
371 static DEVICE_ATTR_RW(driver_override);
/linux-6.6.21/include/linux/cdx/
Dcdx_bus.h47 #define CDX_DEVICE_DRIVER_OVERRIDE(vend, dev, driver_override) \ argument
48 .vendor = (vend), .device = (dev), .override_only = (driver_override)
105 const char *driver_override; member
/linux-6.6.21/include/linux/
Drpmsg.h56 const char *driver_override; member
174 const char *driver_override);
205 const char *driver_override) in rpmsg_register_device_override() argument
Dplatform_device.h38 const char *driver_override; member
/linux-6.6.21/drivers/bus/
Dsimple-pm-bus.c39 if (pdev->driver_override) in simple_pm_bus_probe()
81 if (pdev->driver_override || data) in simple_pm_bus_remove()
/linux-6.6.21/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.6.21/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.6.21/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);
925 kfree(mc_dev->driver_override); in fsl_mc_device_remove()
926 mc_dev->driver_override = NULL; in fsl_mc_device_remove()
/linux-6.6.21/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.6.21/drivers/base/
Dplatform.c564 kfree(pa->pdev.driver_override); in platform_device_release()
1275 len = sysfs_emit(buf, "%s\n", pdev->driver_override); in driver_override_show()
1288 ret = driver_set_override(dev, &pdev->driver_override, buf, count); in driver_override_store()
1294 static DEVICE_ATTR_RW(driver_override);
1341 if (pdev->driver_override) in platform_match()
1342 return !strcmp(pdev->driver_override, drv->name); in platform_match()
/linux-6.6.21/drivers/s390/cio/
Dcss.c169 kfree(sch->driver_override); in css_subchannel_release()
345 ret = driver_set_override(dev, &sch->driver_override, buf, count); in driver_override_store()
359 len = snprintf(buf, PAGE_SIZE, "%s\n", sch->driver_override); in driver_override_show()
363 static DEVICE_ATTR_RW(driver_override);
1373 if (sch->driver_override && strcmp(sch->driver_override, drv->name)) in css_bus_match()
Dcio.h110 const char *driver_override; member
/linux-6.6.21/drivers/vdpa/
Dvdpa.c73 if (vdev->driver_override) in vdpa_dev_match()
74 return strcmp(vdev->driver_override, drv->name) == 0; in vdpa_dev_match()
87 ret = driver_set_override(dev, &vdev->driver_override, buf, count); in driver_override_store()
101 len = snprintf(buf, PAGE_SIZE, "%s\n", vdev->driver_override); in driver_override_show()
106 static DEVICE_ATTR_RW(driver_override);
135 kfree(vdev->driver_override); in vdpa_release_dev()
/linux-6.6.21/include/linux/amba/
Dbus.h78 const char *driver_override; member
/linux-6.6.21/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()
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/amd/
Dpds_vfio_pci.rst45 echo "pds-vfio-pci" > /sys/class/pci_bus/$PF_BUS/device/$VF_BDF/driver_override
/linux-6.6.21/drivers/hv/
Dvmbus_drv.c540 ret = driver_set_override(dev, &hv_dev->driver_override, buf, count); in driver_override_store()
554 len = snprintf(buf, PAGE_SIZE, "%s\n", hv_dev->driver_override); in driver_override_show()
559 static DEVICE_ATTR_RW(driver_override);
705 if (dev->driver_override && strcmp(dev->driver_override, drv->name)) in hv_vmbus_get_id()
714 if (!id && dev->driver_override) in hv_vmbus_get_id()
/linux-6.6.21/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