Searched refs:driver (Results 426 - 450 of 8892) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/regulator/
H A D88pg86x.c5 #include <linux/regulator/driver.h>
102 .driver = {
H A Dvqmmc-ipq4019-regulator.c13 #include <linux/regulator/driver.h>
91 .driver = {
/linux-master/drivers/power/supply/
H A Dsbs-manager.c16 #include <linux/gpio/driver.h>
217 struct i2c_driver *driver; local
223 if (client->dev.driver) {
224 driver = to_i2c_driver(client->dev.driver);
225 if (driver->alert)
226 driver->alert(client, I2C_PROTOCOL_SMBUS_ALERT, 0);
228 dev_warn(&client->dev, "no driver alert()!\n");
230 dev_dbg(&client->dev, "alert with no driver\n");
408 .driver
[all...]
/linux-master/drivers/usb/serial/
H A Dusb_debug.c3 * USB Debug cable driver
80 .driver = {
92 .driver = {
H A Dusb-serial.c3 * USB Serial Converter driver
10 * This driver was originally based on the ACM driver by Armin Fuerst (which was
11 * based on a driver by Brad Keryan)
14 * driver
46 the MODULE_DEVICE_TABLE declarations in each serial driver
126 struct usb_driver *driver = serial->type->usb_driver; local
132 ret = usb_driver_claim_interface(driver, intf, serial);
147 struct usb_driver *driver = serial->type->usb_driver; local
159 usb_driver_release_interface(driver, siblin
214 serial_install(struct tty_driver *driver, struct tty_struct *tty) argument
685 create_serial(struct usb_device *dev, struct usb_interface *interface, struct usb_serial_driver *driver) argument
743 struct usb_driver *driver = to_usb_driver(iface->dev.driver); local
1415 usb_serial_register(struct usb_serial_driver *driver) argument
[all...]
/linux-master/drivers/gpio/
H A Dgpio-altera-a10sr.c5 * GPIO driver for Altera Arria10 MAX5 System Resource Chip
10 #include <linux/gpio/driver.h>
106 .driver = {
H A Dgpio-ge.c18 #include <linux/gpio/driver.h>
90 .driver = {
97 MODULE_DESCRIPTION("GE I/O FPGA GPIO driver");
/linux-master/drivers/platform/surface/aggregator/
H A Dbus.c136 * with ssam_controller_remove_clients to ensure driver presence for the
140 * guarantees that the client driver can always expect the preconditions
250 * ID table of the bound driver.
254 * currently bound driver and return it. Returns %NULL if the device does not
255 * have a driver bound to it, the driver does not have match_table (i.e. it is
256 * %NULL), or there is no match in the driver's match_table.
259 * the bound device driver and the UID of the device.
262 * driver's match table, or %NULL if no such match could be found.
268 sdrv = to_ssam_device_driver(dev->dev.driver);
[all...]
/linux-master/drivers/gpu/drm/xe/display/
H A Dxe_display.h16 void xe_display_driver_set_hooks(struct drm_driver *driver);
45 static inline void xe_display_driver_set_hooks(struct drm_driver *driver) { } argument
/linux-master/drivers/pci/pcie/
H A Dportdrv.h88 int port_type; /* Type of the port this driver can handle */
91 struct device_driver driver; member in struct:pcie_port_service_driver
94 container_of(d, struct pcie_port_service_driver, driver)
/linux-master/drivers/dma/idxd/
H A Dbus.c16 pr_debug("driver type not set (%ps)\n", __builtin_return_address(0));
55 container_of(dev->driver, struct idxd_device_driver, drv);
64 container_of(dev->driver, struct idxd_device_driver, drv);
96 MODULE_DESCRIPTION("IDXD driver dsa_bus_type driver");
/linux-master/drivers/usb/core/
H A Dhcd.c66 * only by the hub driver ... and that neither should be seen or used by
442 init_utsname()->release, hcd->driver->description);
506 * driver model wakeup flags. If this system supports wakeup
656 status = hcd->driver->hub_control (hcd,
720 * driver requests it; otherwise the driver is responsible for
738 length = hcd->driver->hub_status_data(hcd, buffer);
1331 if (hcd->driver->unmap_urb_for_dma)
1332 hcd->driver->unmap_urb_for_dma(hcd, urb);
1378 if (hcd->driver
2545 __usb_create_hcd(const struct hc_driver *driver, struct device *sysdev, struct device *dev, const char *bus_name, struct usb_hcd *primary_hcd) argument
2623 usb_create_shared_hcd(const struct hc_driver *driver, struct device *dev, const char *bus_name, struct usb_hcd *primary_hcd) argument
2646 usb_create_hcd(const struct hc_driver *driver, struct device *dev, const char *bus_name) argument
[all...]
/linux-master/drivers/bluetooth/
H A Dhci_ath.c52 int status = tty->driver->ops->tiocmget(tty);
58 tty->driver->ops->tiocmget(tty);
59 tty->driver->ops->tiocmset(tty, 0x00, TIOCM_RTS);
63 tty->driver->ops->tiocmget(tty);
64 tty->driver->ops->tiocmset(tty, TIOCM_RTS, 0x00);
67 status = tty->driver->ops->tiocmget(tty);
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Dzd1301.c3 * ZyDAS ZD1301 driver (USB interface)
151 if (!pdev->dev.driver) {
155 if (!try_module_get(pdev->dev.driver->owner)) {
180 if (!try_module_get(client->dev.driver->owner)) {
193 module_put(pdev->dev.driver->owner);
216 module_put(client->dev.driver->owner);
222 module_put(pdev->dev.driver->owner);
273 /* Usb specific object needed to register this driver with the usb subsystem */
288 MODULE_DESCRIPTION("ZyDAS ZD1301 driver");
/linux-master/include/linux/
H A Dplatform_device.h3 * platform_device.h - generic, centralized driver model
7 * See Documentation/driver-api/driver-model/ for more information.
188 * enumeration tasks, they don't fully conform to the Linux driver model.
241 * ignored by the driver core. This led to wrong expectations by driver
253 struct device_driver driver; member in struct:platform_driver
267 driver))
283 extern int __platform_driver_probe(struct platform_driver *driver,
307 * don't do anything special in driver ini
[all...]
/linux-master/drivers/tty/
H A Dtty_audit.c141 dev = MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index;
217 if (tty->driver->type == TTY_DRIVER_TYPE_PTY
218 && tty->driver->subtype == PTY_TYPE_MASTER)
229 dev = MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index;
/linux-master/sound/soc/tegra/
H A Dtegra_audio_graph_card.c51 !dai->driver->ops ||
52 !dai->driver->name)
55 if (strstr(dai->driver->name, "I2S") ||
56 strstr(dai->driver->name, "DMIC") ||
57 strstr(dai->driver->name, "DSPK"))
245 .driver = {
/linux-master/arch/parisc/kernel/
H A Ddrivers.c96 * match_device - Report whether this driver can handle this device
97 * @driver: the PA-RISC driver to try
100 static int match_device(struct parisc_driver *driver, struct parisc_device *dev) argument
104 for (ids = driver->id_table; ids->sversion; ids++) {
126 struct parisc_driver *pa_drv = to_parisc_driver(dev->driver);
131 pa_dev->driver = pa_drv;
139 struct parisc_driver *pa_drv = to_parisc_driver(dev->driver);
147 * register_parisc_driver - Register this driver if it can handle a device
148 * @driver
150 register_parisc_driver(struct parisc_driver *driver) argument
179 struct parisc_driver * driver; member in struct:match_count
202 count_parisc_driver(struct parisc_driver *driver) argument
220 unregister_parisc_driver(struct parisc_driver *driver) argument
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dibmebus.c220 /* If the driver uses devices that ibmebus doesn't know, add them */
221 ibmebus_create_devices(drv->driver.of_match_table);
223 drv->driver.bus = &ibmebus_bus_type;
224 return driver_register(&drv->driver);
230 driver_unregister(&drv->driver);
358 drv = to_platform_driver(dev->driver);
366 if (of_driver_match_device(dev, dev->driver))
377 struct platform_driver *drv = to_platform_driver(dev->driver);
379 if (dev->driver && drv->remove)
386 struct platform_driver *drv = to_platform_driver(dev->driver);
[all...]
/linux-master/drivers/s390/char/
H A Dcon3215.c3 * 3215 line mode terminal driver.
79 struct ccw_device *cdev; /* device for tty driver */
815 .driver = {
957 static int tty3215_install(struct tty_driver *driver, struct tty_struct *tty) argument
967 return tty_port_install(&raw->port, driver, tty);
1150 struct tty_driver *driver; local
1156 driver = tty_alloc_driver(NR_3215, TTY_DRIVER_REAL_RAW);
1157 if (IS_ERR(driver))
1158 return PTR_ERR(driver);
1162 tty_driver_kref_put(driver);
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_ioctl.c60 * - The internal set_busid kernel functions and driver callbacks are
71 * there's 2 different ways, either by busid, or by device driver name.
83 * 1. Directly call VERSION to get the version and to match against the driver
88 * 2. Match driver name. If it mismatches, proceed to the next device node.
92 * copypasta from drm 1.0 times where a set unique name meant that the driver
232 * Get device/driver capabilities
263 if (dev->driver->dumb_create)
314 * Set device/driver capabilities
421 if (sv->drm_dd_major != dev->driver->major ||
423 dev->driver
[all...]
H A Ddrm_file.c57 * The deprecated ->load callback must be called after the driver is
59 * sure an open can't proceed until the driver is actually fully set up.
62 if (dev->driver->load || dev->driver->unload)
71 if (dev->driver->lastclose)
97 * For the driver-side event interface see drm_event_reserve_init() and
100 * The memory mapping implementation will vary depending on how the driver
122 * The driver's &file_operations must be stored in &drm_driver.fops.
124 * For driver-private IOCTL handling see the more detailed discussion in
178 if (dev->driver
[all...]
/linux-master/drivers/pcmcia/
H A Dds.c86 * new_id_store() - add a new PCMCIA device ID to this driver and re-probe devices
87 * @driver: target device driver
91 * Adds a new dynamic PCMCIA device ID to this driver,
92 * and causes the driver to probe for all devices again.
95 new_id_store(struct device_driver *driver, const char *buf, size_t count) argument
98 struct pcmcia_driver *pdrv = to_pcmcia_drv(driver);
164 * pcmcia_register_driver - register a PCMCIA driver with the bus core
165 * @driver: the &driver bein
169 pcmcia_register_driver(struct pcmcia_driver *driver) argument
203 pcmcia_unregister_driver(struct pcmcia_driver *driver) argument
[all...]
/linux-master/drivers/base/
H A Ddd.c3 * drivers/base/dd.c - The core device/driver interactions.
7 * driver binding and unbinding.
38 * Sometimes driver probe order matters, but the kernel doesn't always have
40 * resource it depends on is available. For example, an SDHCI driver may
42 * initialized. If a required resource is not available yet, a driver can
46 * list. A driver returning -EPROBE_DEFER causes the device to be added to the
47 * pending list. A successful driver probe will trigger moving all devices
162 * should be called anytime a driver is successfully bound to a device.
171 * trigger has occurred in the midst of probing a driver. If the trigger count
291 dev_warn(dev, "ignoring dependency for device, assuming no driver\
[all...]
/linux-master/drivers/macintosh/
H A Dmacio_asic.c3 * Bus & driver management routines for devices within
4 * a MacIO ASIC. Interface to new driver model mostly
76 drv = to_macio_driver(dev->driver);
84 match = of_match_device(drv->driver.of_match_table, dev);
96 struct macio_driver * drv = to_macio_driver(dev->driver);
98 if (dev->driver && drv->remove)
106 struct macio_driver * drv = to_macio_driver(dev->driver);
108 if (dev->driver && drv->shutdown)
115 struct macio_driver * drv = to_macio_driver(dev->driver);
117 if (dev->driver
[all...]

Completed in 1018 milliseconds

<<11121314151617181920>>