/linux-master/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | display.c | 8 * Some code and ideas taken from drivers/video/omap/ driver 75 if (!dssdev->driver) 79 dssdev->driver->disable(dssdev); 94 if (!dssdev->driver) 98 dssdev->driver->enable(dssdev); 111 if (!dssdev->driver) 115 dssdev->driver->disable(dssdev); 125 struct omap_dss_driver *drv = dssdev->driver;
|
/linux-master/drivers/hwtracing/intel_th/ |
H A D | core.c | 3 * Intel(R) Trace Hub driver core 29 static int intel_th_match(struct device *dev, struct device_driver *driver) argument 31 struct intel_th_driver *thdrv = to_intel_th_driver(driver); 38 return !strcmp(thdev->name, driver->name); 50 struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); 61 if (!hub || !hub->dev.driver) 64 hubdrv = to_intel_th_driver(hub->dev.driver); 100 struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); 157 to_intel_th_driver(dev->parent->driver); 159 if (hub->dev.driver) [all...] |
/linux-master/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835.c | 52 struct device_driver driver; member in struct:bcm2835_audio_driver 91 .driver = { 104 .driver = { 163 strscpy(card->driver, audio_driver->driver.name, sizeof(card->driver)); 327 .driver = { 334 MODULE_DESCRIPTION("Alsa driver for BCM2835 chip");
|
/linux-master/include/linux/ |
H A D | tty_port.h | 85 * shall have a backing tty_port structure, every driver can use these members. 141 void tty_port_link_device(struct tty_port *port, struct tty_driver *driver, 144 struct tty_driver *driver, unsigned index, 147 struct tty_driver *driver, unsigned index, 151 struct tty_driver *driver, unsigned index, 154 struct tty_driver *driver, unsigned index, 158 struct tty_driver *driver, unsigned index); 247 int tty_port_install(struct tty_port *port, struct tty_driver *driver,
|
H A D | host1x.h | 363 * struct host1x_driver - host1x logical device driver 364 * @driver: core driver 365 * @subdevs: table of OF device IDs matching subdevices for this driver 366 * @list: list node for the driver 372 struct device_driver driver; member in struct:host1x_driver 383 to_host1x_driver(struct device_driver *driver) argument 385 return container_of(driver, struct host1x_driver, driver); 388 int host1x_driver_register_full(struct host1x_driver *driver, 396 struct host1x_driver *driver; member in struct:host1x_device [all...] |
H A D | intel-ish-client-if.h | 33 * @driver: driver instance on a bus 35 * @probe: driver callback for device probe 36 * @remove: driver callback on device removal 41 struct device_driver driver; member in struct:ishtp_cl_driver 76 int ishtp_cl_driver_register(struct ishtp_cl_driver *driver, 78 void ishtp_cl_driver_unregister(struct ishtp_cl_driver *driver);
|
H A D | ntb_transport.h | 45 * PCIe NTB Transport Linux driver 54 struct device_driver driver; member in struct:ntb_transport_client
|
/linux-master/drivers/s390/cio/ |
H A D | scm.c | 26 struct scm_driver *scmdrv = to_scm_drv(dev->driver); 34 struct scm_driver *scmdrv = to_scm_drv(dev->driver); 53 * scm_driver_register() - register a scm driver 54 * @scmdrv: driver to be registered 67 * scm_driver_unregister() - deregister a scm driver 68 * @scmdrv: driver to be deregistered 80 struct scm_driver *scmdrv = to_scm_drv(scmdev->dev.driver); 155 * Check for state-changes, notify the driver and userspace. 167 if (!scmdev->dev.driver) 169 scmdrv = to_scm_drv(scmdev->dev.driver); [all...] |
/linux-master/drivers/i2c/ |
H A D | i2c-smbus.c | 31 /* If this is the alerting device, notify its driver */ 36 struct i2c_driver *driver; local 45 * a minimal handler. Lock so the driver won't change. 48 if (client->dev.driver) { 49 driver = to_i2c_driver(client->dev.driver); 50 if (driver->alert) 51 driver->alert(client, data->type, data->data); 53 dev_warn(&client->dev, "no driver alert()!\n"); 55 dev_dbg(&client->dev, "alert with no driver\ [all...] |
/linux-master/drivers/char/agp/ |
H A D | via-agp.c | 30 values = A_SIZE_8(agp_bridge->driver->aperture_sizes); 32 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { 112 values = A_SIZE_16(agp_bridge->driver->aperture_sizes); 116 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { 398 * by 3D driver which wasn't available for the VT3336 and VT3364 434 bridge->driver = &via_agp3_driver; 458 bridge->driver = &via_driver; 496 if (bridge->driver == &via_agp3_driver) 498 else if (bridge->driver == &via_driver) 559 .driver [all...] |
/linux-master/tools/usb/usbip/src/ |
H A D | usbipd.c | 84 static struct usbip_host_driver *driver; variable in typeref:struct:usbip_host_driver 110 list_for_each(i, &driver->edev_list) { 177 list_for_each(j, &driver->edev_list) { 197 list_for_each(j, &driver->edev_list) { 263 ret = usbip_refresh_device_list(driver); 501 if (usbip_driver_open(driver)) 507 usbip_driver_close(driver); 532 usbip_driver_close(driver); 540 usbip_driver_close(driver); 581 usbip_driver_close(driver); [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_encoder_slave.c | 42 * driver is transparently loaded) and attach it to the specified 44 * the hooks provided by the slave driver. 50 * -ENODEV is returned when no matching driver is found. 70 module = client->dev.driver->owner; 78 encoder_drv = to_drm_i2c_encoder_driver(to_i2c_driver(client->dev.driver)); 103 * encoder driver once I2C access is no longer needed. 109 struct module *module = client->dev.driver->owner;
|
/linux-master/arch/parisc/include/asm/ |
H A D | hardware.h | 111 extern int register_parisc_driver(struct parisc_driver *driver); 112 extern int count_parisc_driver(struct parisc_driver *driver); 113 extern int unregister_parisc_driver(struct parisc_driver *driver);
|
/linux-master/sound/ppc/ |
H A D | keywest.c | 54 * We know the driver is already loaded, so the device should be 58 if (!keywest_ctx->client->dev.driver) { 65 * Let i2c-core delete that device on driver removal. 69 &to_i2c_driver(keywest_ctx->client->dev.driver)->clients); 90 .driver = { 139 snd_printk(KERN_ERR "cannot register keywest i2c driver\n");
|
/linux-master/drivers/tty/ |
H A D | pty.c | 49 if (tty->driver->subtype == PTY_TYPE_MASTER) 69 if (tty->driver->subtype == PTY_TYPE_MASTER) { 72 if (tty->driver == ptm_driver) { 229 if (tty->driver->subtype == PTY_TYPE_SLAVE && tty->link->count != 1) 350 * @driver: the pty driver 359 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, argument 368 if (driver->subtype != PTY_TYPE_MASTER) 375 if (!try_module_get(driver->other->owner)) { 379 o_tty = alloc_tty_struct(driver 439 pty_install(struct tty_driver *driver, struct tty_struct *tty) argument 444 pty_remove(struct tty_driver *driver, struct tty_struct *tty) argument 688 ptm_unix98_lookup(struct tty_driver *driver, struct file *file, int idx) argument 705 pts_unix98_lookup(struct tty_driver *driver, struct file *file, int idx) argument 719 pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) argument 725 pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) argument [all...] |
/linux-master/drivers/usb/host/ |
H A D | ehci-npcm7xx.c | 3 * Nuvoton NPCM7xx driver for EHCI HCD 9 * Based on various ehci-spear.c driver 25 #define DRIVER_DESC "EHCI npcm7xx driver" 52 const struct hc_driver *driver = &ehci_npcm7xx_hc_driver; local 76 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); 127 .driver = {
|
/linux-master/drivers/greybus/ |
H A D | connection.c | 73 * Callback from the host driver to let us know that data has been 284 if (!hd->driver->cport_enable) 287 ret = hd->driver->cport_enable(hd, connection->hd_cport_id, 303 if (!hd->driver->cport_disable) 306 ret = hd->driver->cport_disable(hd, connection->hd_cport_id); 318 if (!hd->driver->cport_connected) 321 ret = hd->driver->cport_connected(hd, connection->hd_cport_id); 336 if (!hd->driver->cport_flush) 339 ret = hd->driver->cport_flush(hd, connection->hd_cport_id); 355 if (!hd->driver [all...] |
/linux-master/drivers/s390/char/ |
H A D | sclp_vt220.c | 3 * SCLP VT220 terminal driver. 59 /* Structures and data needed to register tty driver */ 87 /* Counter controlling core driver initialization. */ 579 * done stuffing characters into the driver. 601 * This routine returns the numbers of characters the tty driver 725 * Register driver with SCLP and Linux and initialize internal tty structures. 729 struct tty_driver *driver; local 734 driver = tty_alloc_driver(1, TTY_DRIVER_REAL_RAW); 735 if (IS_ERR(driver)) 736 return PTR_ERR(driver); [all...] |
/linux-master/drivers/memstick/core/ |
H A D | memstick.c | 8 * that made this driver possible. 47 driver); 81 struct memstick_driver *drv = container_of(dev->driver, 83 driver); 86 if (dev->driver && drv->probe) { 98 struct memstick_driver *drv = container_of(dev->driver, 100 driver); 102 if (dev->driver && drv->remove) { 104 card->dev.driver = NULL; 116 struct memstick_driver *drv = container_of(dev->driver, [all...] |
/linux-master/sound/pci/emu10k1/ |
H A D | emu10k1_main.c | 189 /* Hacks for Alice3 to work independent of haP16V driver */ 204 /* Hacks for Alice3 to work independent of haP16V driver */ 262 snd_emu10k1_ptr_write(emu, TCB, 0, 0); /* taken from original driver */ 263 snd_emu10k1_ptr_write(emu, TCBS, 0, TCBS_BUFFSIZE_256K); /* taken from original driver */ 826 * Current status of the driver: 828 * * only 44.1/48kHz supported (the MS Win driver supports up to 192 kHz) 989 .driver = "Audigy2", .name = "SB Audigy 5/Rx [SB1550]", 1035 .driver = "Audigy2", .name = "SB Audigy 4 [SB0610]", 1062 .driver = "Audigy2", .name = "SB Audigy 2 Value [SB0400]", 1101 .driver [all...] |
/linux-master/drivers/comedi/ |
H A D | drivers.c | 34 * driver), comedi_set_hw_dev() is called automatically by the COMEDI core 133 * is zero-filled. The low-level driver is responsible for updating its 184 dev->driver = NULL; 206 if (dev->driver) 207 dev->driver->detach(dev); 272 * comedi_timeout() - Busy-wait for a driver condition to occur 277 * @context: Private context from the driver. 582 * to stop the acquisition at the driver level. 784 * a 'struct comedi_device' that the low-level comedi driver's 810 pr_info("comedi: valid board names for %s driver ar 1032 comedi_auto_config(struct device *hardware_device, struct comedi_driver *driver, unsigned long context) argument 1126 comedi_driver_register(struct comedi_driver *driver) argument 1146 comedi_driver_unregister(struct comedi_driver *driver) argument [all...] |
/linux-master/arch/sh/boards/mach-sdk7786/ |
H A D | gpio.c | 9 #include <linux/gpio/driver.h>
|
/linux-master/sound/usb/line6/ |
H A D | Makefile | 4 driver.o \
|
/linux-master/tools/testing/selftests/media_tests/ |
H A D | media_device_open.c | 15 * run when hardware and driver that makes use Media 24 * Run this test is a loop and run bind/unbind on the driver. 80 printf("Media device model %s driver %s\n", 81 mdi.model, mdi.driver);
|
/linux-master/drivers/media/pci/bt8xx/ |
H A D | Makefile | 2 bttv-objs := bttv-driver.o bttv-cards.o bttv-if.o \
|