Home
last modified time | relevance | path

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

12

/Linux-v5.10/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-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-pci270 What: /sys/bus/pci/devices/.../driver_override
277 to driver_override will have an opportunity to bind to the
279 driver_override file (echo pci-stub > driver_override) and
280 may be cleared with an empty string (echo > driver_override).
282 Writing to driver_override does not automatically unbind the
287 opt-out of driver binding using a driver_override name such as
Dsysfs-bus-rpmsg77 What: /sys/bus/rpmsg/devices/.../driver_override
/Linux-v5.10/drivers/amba/
Dbus.c65 if (pcdev->driver_override) in amba_match()
66 return !strcmp(pcdev->driver_override, drv->name); in amba_match()
91 len = sprintf(buf, "%s\n", dev->driver_override); in driver_override_show()
101 char *driver_override, *old, *cp; in driver_override_store() local
107 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
108 if (!driver_override) in driver_override_store()
111 cp = strchr(driver_override, '\n'); in driver_override_store()
116 old = dev->driver_override; in driver_override_store()
117 if (strlen(driver_override)) { in driver_override_store()
118 dev->driver_override = driver_override; in driver_override_store()
[all …]
/Linux-v5.10/drivers/bus/fsl-mc/
Dfsl-mc-bus.c83 if (mc_dev->driver_override) { in fsl_mc_bus_match()
84 found = !strcmp(mc_dev->driver_override, mc_drv->driver.name); in fsl_mc_bus_match()
162 char *driver_override, *old = mc_dev->driver_override; in driver_override_store() local
171 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
172 if (!driver_override) in driver_override_store()
175 cp = strchr(driver_override, '\n'); in driver_override_store()
179 if (strlen(driver_override)) { in driver_override_store()
180 mc_dev->driver_override = driver_override; in driver_override_store()
182 kfree(driver_override); in driver_override_store()
183 mc_dev->driver_override = NULL; in driver_override_store()
[all …]
/Linux-v5.10/drivers/base/
Dplatform.c442 kfree(pa->pdev.driver_override); in platform_device_release()
1049 char *driver_override, *old, *cp; in driver_override_store() local
1055 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
1056 if (!driver_override) in driver_override_store()
1059 cp = strchr(driver_override, '\n'); in driver_override_store()
1064 old = pdev->driver_override; in driver_override_store()
1065 if (strlen(driver_override)) { in driver_override_store()
1066 pdev->driver_override = driver_override; in driver_override_store()
1068 kfree(driver_override); in driver_override_store()
1069 pdev->driver_override = NULL; in driver_override_store()
[all …]
/Linux-v5.10/drivers/s390/cio/
Dcss.c170 kfree(sch->driver_override); in css_subchannel_release()
337 char *driver_override, *old, *cp; in driver_override_store() local
343 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
344 if (!driver_override) in driver_override_store()
347 cp = strchr(driver_override, '\n'); in driver_override_store()
352 old = sch->driver_override; in driver_override_store()
353 if (strlen(driver_override)) { in driver_override_store()
354 sch->driver_override = driver_override; in driver_override_store()
356 kfree(driver_override); in driver_override_store()
357 sch->driver_override = NULL; in driver_override_store()
[all …]
Dcio.h117 char *driver_override; /* Driver name to force a match */ member
/Linux-v5.10/drivers/pci/
Dpci-sysfs.c541 char *driver_override, *old, *cp; in driver_override_store() local
547 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
548 if (!driver_override) in driver_override_store()
551 cp = strchr(driver_override, '\n'); in driver_override_store()
556 old = pdev->driver_override; in driver_override_store()
557 if (strlen(driver_override)) { in driver_override_store()
558 pdev->driver_override = driver_override; in driver_override_store()
560 kfree(driver_override); in driver_override_store()
561 pdev->driver_override = NULL; in driver_override_store()
577 len = scnprintf(buf, PAGE_SIZE, "%s\n", pdev->driver_override); in driver_override_show()
[all …]
Dpci-driver.c260 if (dev->driver_override && strcmp(dev->driver_override, drv->name)) in pci_match_device()
277 if (!found_id && dev->driver_override) in pci_match_device()
408 pdev->driver_override); in pci_device_can_probe()
/Linux-v5.10/drivers/rpmsg/
Drpmsg_core.c371 rpmsg_string_attr(driver_override, driver_override);
413 if (rpdev->driver_override) in rpmsg_dev_match()
414 return !strcmp(rpdev->driver_override, drv->name); in rpmsg_dev_match()
Drpmsg_internal.h88 rpdev->driver_override = "rpmsg_chrdev"; in rpmsg_chrdev_register_device()
/Linux-v5.10/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-v5.10/drivers/hv/
Dvmbus_drv.c571 char *driver_override, *old, *cp; in driver_override_store() local
577 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
578 if (!driver_override) in driver_override_store()
581 cp = strchr(driver_override, '\n'); in driver_override_store()
586 old = hv_dev->driver_override; in driver_override_store()
587 if (strlen(driver_override)) { in driver_override_store()
588 hv_dev->driver_override = driver_override; in driver_override_store()
590 kfree(driver_override); in driver_override_store()
591 hv_dev->driver_override = NULL; in driver_override_store()
607 len = snprintf(buf, PAGE_SIZE, "%s\n", hv_dev->driver_override); in driver_override_show()
[all …]
/Linux-v5.10/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-v5.10/drivers/spi/
Dspi.c55 kfree(spi->driver_override); in spidev_release()
80 const char *driver_override, *old; in driver_override_store() local
86 driver_override = kstrndup(buf, len, GFP_KERNEL); in driver_override_store()
87 if (!driver_override) in driver_override_store()
91 old = spi->driver_override; in driver_override_store()
93 spi->driver_override = driver_override; in driver_override_store()
96 spi->driver_override = NULL; in driver_override_store()
97 kfree(driver_override); in driver_override_store()
112 len = snprintf(buf, PAGE_SIZE, "%s\n", spi->driver_override ? : ""); in driver_override_show()
116 static DEVICE_ATTR_RW(driver_override);
[all …]
/Linux-v5.10/include/linux/
Drpmsg.h53 char *driver_override; member
Dplatform_device.h33 char *driver_override; /* Driver name to force a match */ member
/Linux-v5.10/include/linux/amba/
Dbus.h73 char *driver_override; member
/Linux-v5.10/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c527 mc_dev->driver_override = kasprintf(GFP_KERNEL, "%s", in vfio_fsl_mc_bus_notifier()
529 if (!mc_dev->driver_override) in vfio_fsl_mc_bus_notifier()
/Linux-v5.10/drivers/hwmon/
Daxi-fan-control.c433 pdev->driver_override, ctl); in axi_fan_control_probe()
/Linux-v5.10/include/linux/fsl/
Dmc.h206 char *driver_override; member

12