/linux-4.1.27/drivers/media/platform/marvell-ccic/ |
H A D | Makefile | 2 cafe_ccic-y := cafe-driver.o mcam-core.o 5 mmp_camera-y := mmp-driver.o mcam-core.o
|
/linux-4.1.27/drivers/usb/misc/sisusbvga/ |
H A D | Makefile | 2 # Makefile for the sisusb driver (if driver is inside kernel tree).
|
/linux-4.1.27/drivers/uwb/ |
H A D | umc-drv.c | 2 * UWB Multi-interface Controller driver management. 15 umc_drv->driver.name = umc_drv->name; __umc_driver_register() 16 umc_drv->driver.owner = module; __umc_driver_register() 17 umc_drv->driver.mod_name = mod_name; __umc_driver_register() 18 umc_drv->driver.bus = &umc_bus_type; __umc_driver_register() 20 return driver_register(&umc_drv->driver); __umc_driver_register() 25 * umc_driver_register - unregister a UMC capabiltity driver. 26 * @umc_drv: pointer to the driver. 30 driver_unregister(&umc_drv->driver); umc_driver_unregister()
|
/linux-4.1.27/drivers/staging/fsl-mc/bus/ |
H A D | Makefile | 8 obj-$(CONFIG_FSL_MC_BUS) += mc-bus-driver.o 10 mc-bus-driver-objs := mc-bus.o \ 14 dprc-driver.o \
|
/linux-4.1.27/kernel/printk/ |
H A D | console_cmdline.h | 6 char name[16]; /* Name of the driver */ 8 char *options; /* Options for the driver */ 10 char *brl_options; /* Options for braille driver */
|
/linux-4.1.27/drivers/gpu/drm/tdfx/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/include/linux/ |
H A D | atm_suni.h | 1 /* atm_suni.h - Driver-specific declarations of the SUNI driver (for use by 2 driver-specific utilities) */
|
H A D | atm_tcp.h | 1 /* atm_tcp.h - Driver-specific declarations of the ATMTCP driver (for use by 2 driver-specific utilities) */
|
H A D | mei_cl_bus.h | 11 struct device_driver driver; member in struct:mei_cl_driver 21 int __mei_cl_driver_register(struct mei_cl_driver *driver, 23 #define mei_cl_driver_register(driver) \ 24 __mei_cl_driver_register(driver, THIS_MODULE) 26 void mei_cl_driver_unregister(struct mei_cl_driver *driver);
|
H A D | altera_jtaguart.h | 2 * altera_jtaguart.h -- Altera JTAG UART driver defines.
|
H A D | altera_uart.h | 2 * altera_uart.h -- Altera UART driver defines.
|
H A D | leds_pwm.h | 2 * PWM LED driver data - see drivers/leds/leds-pwm.c
|
H A D | mic_bus.h | 18 * Intel MIC Bus driver. 20 * This implementation is very similar to the the virtio bus driver 26 * Everything a mbus driver needs to work with any particular mbus 45 * @id: the device type identification (used to match it with a driver). 59 * mbus_driver - operations for a mbus I/O driver 60 * @driver: underlying device driver (populate name and owner). 61 * @id_table: the ids serviced by this driver. 66 struct device_driver driver; member in struct:mbus_driver 107 return container_of(drv, struct mbus_driver, driver); drv_to_mbus()
|
H A D | hdlc.h | 39 /* used by HDLC layer to take control over HDLC device from hw driver*/ 43 /* hardware driver must handle this instead of dev->hard_start_xmit */ 59 /* Called by hardware driver when a user requests HDLC service */ 62 /* Must be used by hardware driver on module startup/exit */ 92 /* Must be called by hardware driver when HDLC device is being opened */ 94 /* Must be called by hardware driver when HDLC device is being closed */ 96 /* May be used by hardware driver */ 98 /* Must be pointed to by hw driver's dev->netdev_ops->ndo_start_xmit */ 103 /* May be used by hardware driver to gain control over HDLC device */
|
H A D | mcb.h | 46 * @driver: associated mcb_driver 62 struct mcb_driver *driver; member in struct:mcb_device 75 * struct mcb_driver - MEN Chameleon Bus device driver 77 * @driver: device_driver 84 struct device_driver driver; member in struct:mcb_driver 90 #define to_mcb_driver(x) container_of((x), struct mcb_driver, driver) 105 #define mcb_register_driver(driver) \ 106 __mcb_register_driver(driver, THIS_MODULE, KBUILD_MODNAME) 107 extern void mcb_unregister_driver(struct mcb_driver *driver);
|
/linux-4.1.27/drivers/misc/genwqe/ |
H A D | Makefile | 2 # Makefile for GenWQE driver
|
/linux-4.1.27/drivers/net/ipvlan/ |
H A D | Makefile | 2 # Makefile for the Ethernet Ipvlan driver
|
/linux-4.1.27/drivers/dio/ |
H A D | Makefile | 5 obj-y := dio.o dio-driver.o dio-sysfs.o
|
H A D | dio-driver.c | 6 * Loosely based on drivers/pci/pci-driver.c and drivers/zorro/zorro-driver.c 23 * Used by a driver to check whether a DIO device present in the 50 struct dio_driver *drv = to_dio_driver(dev->driver); dio_device_probe() 53 if (!d->driver && drv->probe) { dio_device_probe() 60 d->driver = drv; dio_device_probe() 69 * dio_register_driver - register a new DIO driver 70 * @drv: the driver structure to register 72 * Adds the driver structure to the list of registered drivers 78 /* initialize common driver fields */ dio_register_driver() 79 drv->driver.name = drv->name; dio_register_driver() 80 drv->driver.bus = &dio_bus_type; dio_register_driver() 83 return driver_register(&drv->driver); dio_register_driver() 88 * dio_unregister_driver - unregister a DIO driver 89 * @drv: the driver structure to unregister 91 * Deletes the driver structure from the list of registered DIO drivers, 99 driver_unregister(&drv->driver); dio_unregister_driver() 108 * Used by a driver to check whether a DIO device present in the
|
/linux-4.1.27/drivers/char/xilinx_hwicap/ |
H A D | Makefile | 2 # Makefile for the Xilinx OPB hwicap driver
|
/linux-4.1.27/drivers/tty/ipwireless/ |
H A D | Makefile | 2 # Makefile for the IPWireless driver
|
/linux-4.1.27/drivers/video/fbdev/kyro/ |
H A D | Makefile | 2 # Makefile for the Kyro framebuffer driver
|
/linux-4.1.27/drivers/video/fbdev/mb862xx/ |
H A D | Makefile | 2 # Makefile for the MB862xx framebuffer driver
|
/linux-4.1.27/drivers/pnp/isapnp/ |
H A D | Makefile | 2 # Makefile for the kernel ISAPNP driver.
|
/linux-4.1.27/drivers/pnp/pnpacpi/ |
H A D | Makefile | 2 # Makefile for the kernel PNPACPI driver.
|
/linux-4.1.27/drivers/pnp/pnpbios/ |
H A D | Makefile | 2 # Makefile for the kernel PNPBIOS driver.
|
/linux-4.1.27/arch/blackfin/mm/ |
H A D | Makefile | 5 obj-y := sram-alloc.o isram-driver.o init.o maccess.o
|
/linux-4.1.27/net/netlink/ |
H A D | Makefile | 2 # Makefile for the netlink driver.
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | wm9705.h | 2 * wm9705.h -- WM9705 Soc Audio driver
|
H A D | wm9712.h | 2 * wm9712.h -- WM9712 Soc Audio driver
|
H A D | ad193x-i2c.c | 2 * AD1936/AD1937 audio driver 43 .driver = { 52 MODULE_DESCRIPTION("ASoC AD1936/AD1937 audio CODEC driver");
|
H A D | ad193x-spi.c | 2 * AD1938/AD1939 audio driver 37 .driver = { 46 MODULE_DESCRIPTION("ASoC AD1938/AD1939 audio CODEC driver");
|
H A D | adav801.c | 2 * ADAV801 audio driver 40 .driver = { 50 MODULE_DESCRIPTION("ASoC ADAV801 driver");
|
H A D | adav803.c | 2 * ADAV803 audio driver 37 .driver = { 47 MODULE_DESCRIPTION("ASoC ADAV803 driver");
|
H A D | ssm2602-spi.c | 2 * SSM2602 SPI audio driver 36 .driver = { 46 MODULE_DESCRIPTION("ASoC SSM2602 SPI driver");
|
H A D | ssm2518.h | 2 * SSM2518 amplifier audio driver
|
H A D | stac9766.h | 2 * stac9766.h -- STAC9766 Soc Audio driver
|
H A D | spdif_receiver.c | 2 * ALSA SoC SPDIF DIR (Digital Interface Reciever) driver 4 * Based on ALSA SoC SPDIF DIT driver 6 * This driver is used by controllers which can operate in DIR (SPDI/F) where 8 * in these configurations. SPEAr SPDIF IN Audio controller uses this driver. 81 .driver = { 89 MODULE_DESCRIPTION("ASoC SPDIF DIR driver");
|
H A D | spdif_transmitter.c | 2 * ALSA SoC SPDIF DIT driver 4 * This driver is used by controllers which can operate in DIT (SPDI/F) where 6 * in these configurations. TI DaVinci Audio controller uses this driver. 81 .driver = { 90 MODULE_DESCRIPTION("SPDIF dummy codec driver");
|
H A D | adau1977-i2c.c | 2 * ADAU1977/ADAU1978/ADAU1979 driver 47 .driver = { 57 MODULE_DESCRIPTION("ASoC ADAU1977/ADAU1978/ADAU1979 driver");
|
H A D | es8328-i2c.c | 2 * es8328-i2c.c -- ES8328 ALSA SoC I2C Audio driver 47 .driver = { 58 MODULE_DESCRIPTION("ASoC ES8328 audio CODEC I2C driver");
|
H A D | es8328-spi.c | 2 * es8328.c -- ES8328 ALSA SoC SPI Audio driver 38 .driver = { 47 MODULE_DESCRIPTION("ASoC ES8328 audio CODEC SPI driver");
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
H A D | r8192U_wx.h | 2 * This is part of rtl8180 OpenSource driver - v 0.3 6 * Parts of this driver are based on the GPL part of the official realtek driver 7 * Parts of this driver are based on the rtl8180 driver skeleton from Patric 9 * Parts of this driver are based on the Intel Pro Wireless 2100 GPL driver
|
H A D | r8180_93cx6.h | 2 This is part of rtl8187 OpenSource driver 6 Parts of this driver are based on the GPL part of the 7 official realtek driver 8 Parts of this driver are based on the rtl8180 driver skeleton 10 Parts of this driver are based on the Intel Pro Wireless 2100 GPL driver
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-scan-pci.c | 23 * __ide_pci_register_driver - attach IDE driver 24 * @driver: pci driver 25 * @module: owner module of the driver 27 * Registers a driver with the IDE layer. The IDE layer arranges that 35 int __ide_pci_register_driver(struct pci_driver *driver, struct module *module, __ide_pci_register_driver() argument 39 return __pci_register_driver(driver, module, mod_name); __ide_pci_register_driver() 40 driver->driver.owner = module; __ide_pci_register_driver() 41 list_add_tail(&driver->node, &ide_pci_drivers); __ide_pci_register_driver() 47 * ide_scan_pcidev - find an IDE driver for a device 50 * Look for an IDE driver to handle the device we are considering. 67 dev->driver = d; ide_scan_pcidev() 77 * ide_scan_pcibus - perform the initial IDE driver scan 79 * Perform the initial bus rather than driver ordered scan of the 102 if (__pci_register_driver(d, d->driver.owner, ide_scan_pcibus() 103 d->driver.mod_name)) ide_scan_pcibus() 104 printk(KERN_ERR "%s: failed to register %s driver\n", ide_scan_pcibus() 105 __func__, d->driver.mod_name); ide_scan_pcibus()
|
/linux-4.1.27/drivers/media/pci/ddbridge/ |
H A D | Makefile | 2 # Makefile for the ddbridge device driver 13 # For the staging CI driver cxd2099
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/gpu/drm/i810/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/gpu/drm/mga/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/gpu/drm/r128/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/gpu/drm/savage/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/gpu/drm/sis/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/gpu/drm/via/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | bus.c | 22 struct usb_serial_driver *driver; usb_serial_device_match() local 33 driver = to_usb_serial_driver(drv); usb_serial_device_match() 35 if (driver == port->serial->type) usb_serial_device_match() 43 struct usb_serial_driver *driver; usb_serial_device_probe() local 58 driver = port->serial->type; usb_serial_device_probe() 59 if (driver->port_probe) { usb_serial_device_probe() 60 retval = driver->port_probe(port); usb_serial_device_probe() 76 driver->description, minor); usb_serial_device_probe() 81 if (driver->port_remove) usb_serial_device_probe() 82 driver->port_remove(port); usb_serial_device_probe() 91 struct usb_serial_driver *driver; usb_serial_device_remove() local 112 driver = port->serial->type; usb_serial_device_remove() 113 if (driver->port_remove) usb_serial_device_remove() 114 retval = driver->port_remove(port); usb_serial_device_remove() 117 driver->description, minor); usb_serial_device_remove() 125 static ssize_t new_id_store(struct device_driver *driver, new_id_store() argument 128 struct usb_serial_driver *usb_drv = to_usb_serial_driver(driver); new_id_store() 130 driver, buf, count); new_id_store() 135 &usb_drv->usb_driver->drvwrap.driver, new_id_store() 140 static ssize_t new_id_show(struct device_driver *driver, char *buf) new_id_show() argument 142 struct usb_serial_driver *usb_drv = to_usb_serial_driver(driver); new_id_show() 174 int usb_serial_bus_register(struct usb_serial_driver *driver) usb_serial_bus_register() argument 178 driver->driver.bus = &usb_serial_bus_type; usb_serial_bus_register() 179 spin_lock_init(&driver->dynids.lock); usb_serial_bus_register() 180 INIT_LIST_HEAD(&driver->dynids.list); usb_serial_bus_register() 182 retval = driver_register(&driver->driver); usb_serial_bus_register() 187 void usb_serial_bus_deregister(struct usb_serial_driver *driver) usb_serial_bus_deregister() argument 189 free_dynids(driver); usb_serial_bus_deregister() 190 driver_unregister(&driver->driver); usb_serial_bus_deregister()
|
H A D | usb-serial-simple.c | 2 * USB Serial "Simple" driver 29 .driver = { \ 39 /* Medtronic CareLink USB driver */ 44 /* ZIO Motherboard USB driver */ 49 /* Funsoft Serial USB driver */ 54 /* Infineon Flashloader driver */ 73 /* Motorola USB Phone driver */ 82 /* Novatel Wireless GPS driver */ 87 /* HP4x (48/49) Generic Serial driver */
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | ad7298.h | 2 * AD7298 SPI ADC driver 13 * struct ad7298_platform_data - Platform data for the ad7298 ADC driver
|
H A D | st1232_pdata.h | 7 * Use this if you want the driver to drive the reset pin.
|
H A D | i2c-imx.h | 2 * i2c.h - i.MX I2C driver header file 13 * struct imxi2c_platform_data - structure of platform data for MXC I2C driver
|
H A D | ssm2518.h | 2 * SSM2518 amplifier audio driver 14 * struct ssm2518_platform_data - Platform data for the ssm2518 driver
|
H A D | ata-samsung_cf.h | 16 * struct s3c_ide_platdata - S3C IDE driver platform data. 25 * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver. 26 * @pdata: Platform data for IDE driver.
|
H A D | leds-lm3642.h | 6 * Simple driver for Texas Instruments LM3642 LED driver chip
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
H A D | Makefile | 2 # Makefile to build the network driver for ServerEngine's BladeEngine.
|
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/ |
H A D | Makefile | 2 # Makefile for the eHEA ethernet device driver for IBM eServer System p
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
H A D | Makefile | 2 # Makefile for the Qlogic 10GbE PCI Express ethernet driver
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
H A D | Makefile | 1 # Makefile for s3c244x/s3c64xx CAMIF driver
|
/linux-4.1.27/drivers/media/radio/wl128x/ |
H A D | Makefile | 2 # Makefile for TI's shared transport driver based wl128x
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
H A D | Makefile | 2 # Makefile to build the iSCSI driver for ServerEngine's BladeEngine.
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | Makefile | 2 # Chelsio T3 driver
|
/linux-4.1.27/arch/mips/include/asm/mach-bcm63xx/ |
H A D | bcm63xx_dev_pcmcia.h | 5 * PCMCIA driver platform data
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
H A D | Makefile | 2 # Makefile for the SiS framebuffer device driver
|
/linux-4.1.27/drivers/base/power/ |
H A D | generic_ops.c | 18 * If PM operations are defined for the @dev's driver and they include 24 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_runtime_suspend() 37 * If PM operations are defined for the @dev's driver and they include 43 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_runtime_resume() 62 struct device_driver *drv = dev->driver; pm_generic_prepare() 77 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_suspend_noirq() 89 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_suspend_late() 101 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_suspend() 113 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_freeze_noirq() 125 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_freeze_late() 137 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_freeze() 149 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_poweroff_noirq() 161 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_poweroff_late() 173 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_poweroff() 185 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_thaw_noirq() 197 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_thaw_early() 209 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_thaw() 221 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_resume_noirq() 233 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_resume_early() 245 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_resume() 257 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_restore_noirq() 269 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_restore_early() 281 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm_generic_restore() 295 struct device_driver *drv = dev->driver; pm_generic_complete()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | mmu.c | 67 static inline void psb_mmu_clflush(struct psb_mmu_driver *driver, void *addr) psb_mmu_clflush() argument 69 if (!driver->has_clflush) psb_mmu_clflush() 78 static inline void psb_mmu_clflush(struct psb_mmu_driver *driver, void *addr) psb_mmu_clflush() argument 84 static void psb_mmu_flush_pd_locked(struct psb_mmu_driver *driver, int force) psb_mmu_flush_pd_locked() argument 86 struct drm_device *dev = driver->dev; psb_mmu_flush_pd_locked() 89 if (atomic_read(&driver->needs_tlbflush) || force) { psb_mmu_flush_pd_locked() 97 if (driver->msvdx_mmu_invaldc) psb_mmu_flush_pd_locked() 98 atomic_set(driver->msvdx_mmu_invaldc, 1); psb_mmu_flush_pd_locked() 100 atomic_set(&driver->needs_tlbflush, 0); psb_mmu_flush_pd_locked() 104 static void psb_mmu_flush_pd(struct psb_mmu_driver *driver, int force) 106 down_write(&driver->sem); 107 psb_mmu_flush_pd_locked(driver, force); 108 up_write(&driver->sem); 112 void psb_mmu_flush(struct psb_mmu_driver *driver) psb_mmu_flush() argument 114 struct drm_device *dev = driver->dev; psb_mmu_flush() 118 down_write(&driver->sem); psb_mmu_flush() 120 if (atomic_read(&driver->needs_tlbflush)) psb_mmu_flush() 132 atomic_set(&driver->needs_tlbflush, 0); psb_mmu_flush() 133 if (driver->msvdx_mmu_invaldc) psb_mmu_flush() 134 atomic_set(driver->msvdx_mmu_invaldc, 1); psb_mmu_flush() 135 up_write(&driver->sem); psb_mmu_flush() 140 struct drm_device *dev = pd->driver->dev; psb_mmu_set_pd_context() 145 down_write(&pd->driver->sem); psb_mmu_set_pd_context() 148 psb_mmu_flush_pd_locked(pd->driver, 1); psb_mmu_set_pd_context() 150 up_write(&pd->driver->sem); psb_mmu_set_pd_context() 175 struct psb_mmu_pd *psb_mmu_alloc_pd(struct psb_mmu_driver *driver, psb_mmu_alloc_pd() argument 226 pd->driver = driver; psb_mmu_alloc_pd() 249 struct psb_mmu_driver *driver = pd->driver; psb_mmu_free_pagedir() local 250 struct drm_device *dev = driver->dev; psb_mmu_free_pagedir() 255 down_write(&driver->sem); psb_mmu_free_pagedir() 258 psb_mmu_flush_pd_locked(driver, 1); psb_mmu_free_pagedir() 275 up_write(&driver->sem); psb_mmu_free_pagedir() 282 uint32_t clflush_add = pd->driver->clflush_add >> PAGE_SHIFT; psb_mmu_alloc_pt() 284 spinlock_t *lock = &pd->driver->lock; psb_mmu_alloc_pt() 307 if (pd->driver->has_clflush && pd->hw_context != -1) { psb_mmu_alloc_pt() 332 spinlock_t *lock = &pd->driver->lock; psb_mmu_pt_alloc_map_lock() 358 psb_mmu_clflush(pd->driver, (void *)&v[index]); psb_mmu_pt_alloc_map_lock() 359 atomic_set(&pd->driver->needs_tlbflush, 1); psb_mmu_pt_alloc_map_lock() 371 spinlock_t *lock = &pd->driver->lock; psb_mmu_pt_map_lock() 395 psb_mmu_clflush(pd->driver, (void *)&v[pt->index]); psb_mmu_pt_unmap_unlock() 396 atomic_set(&pd->driver->needs_tlbflush, 1); psb_mmu_pt_unmap_unlock() 399 spin_unlock(&pd->driver->lock); psb_mmu_pt_unmap_unlock() 403 spin_unlock(&pd->driver->lock); psb_mmu_pt_unmap_unlock() 418 struct psb_mmu_pd *psb_mmu_get_default_pd(struct psb_mmu_driver *driver) psb_mmu_get_default_pd() argument 422 down_read(&driver->sem); psb_mmu_get_default_pd() 423 pd = driver->default_pd; psb_mmu_get_default_pd() 424 up_read(&driver->sem); psb_mmu_get_default_pd() 430 uint32_t psb_get_default_pd_addr(struct psb_mmu_driver *driver) psb_get_default_pd_addr() argument 434 pd = psb_mmu_get_default_pd(driver); psb_get_default_pd_addr() 438 void psb_mmu_driver_takedown(struct psb_mmu_driver *driver) psb_mmu_driver_takedown() argument 440 struct drm_device *dev = driver->dev; psb_mmu_driver_takedown() 443 PSB_WSGX32(driver->bif_ctrl, PSB_CR_BIF_CTRL); psb_mmu_driver_takedown() 444 psb_mmu_free_pagedir(driver->default_pd); psb_mmu_driver_takedown() 445 kfree(driver); psb_mmu_driver_takedown() 453 struct psb_mmu_driver *driver; psb_mmu_driver_init() local 456 driver = kmalloc(sizeof(*driver), GFP_KERNEL); psb_mmu_driver_init() 458 if (!driver) psb_mmu_driver_init() 461 driver->dev = dev; psb_mmu_driver_init() 462 driver->default_pd = psb_mmu_alloc_pd(driver, trap_pagefaults, psb_mmu_driver_init() 464 if (!driver->default_pd) psb_mmu_driver_init() 467 spin_lock_init(&driver->lock); psb_mmu_driver_init() 468 init_rwsem(&driver->sem); psb_mmu_driver_init() 469 down_write(&driver->sem); psb_mmu_driver_init() 470 atomic_set(&driver->needs_tlbflush, 1); psb_mmu_driver_init() 471 driver->msvdx_mmu_invaldc = msvdx_mmu_invaldc; psb_mmu_driver_init() 473 driver->bif_ctrl = PSB_RSGX32(PSB_CR_BIF_CTRL); psb_mmu_driver_init() 474 PSB_WSGX32(driver->bif_ctrl | _PSB_CB_CTRL_CLEAR_FAULT, psb_mmu_driver_init() 476 PSB_WSGX32(driver->bif_ctrl & ~_PSB_CB_CTRL_CLEAR_FAULT, psb_mmu_driver_init() 479 driver->has_clflush = 0; psb_mmu_driver_init() 492 driver->has_clflush = 1; psb_mmu_driver_init() 493 driver->clflush_add = psb_mmu_driver_init() 495 driver->clflush_mask = driver->clflush_add - 1; psb_mmu_driver_init() 496 driver->clflush_mask = ~driver->clflush_mask; psb_mmu_driver_init() 500 up_write(&driver->sem); psb_mmu_driver_init() 501 return driver; psb_mmu_driver_init() 504 kfree(driver); psb_mmu_driver_init() 521 unsigned long clflush_add = pd->driver->clflush_add; psb_mmu_flush_ptes() 522 unsigned long clflush_mask = pd->driver->clflush_mask; psb_mmu_flush_ptes() 524 if (!pd->driver->has_clflush) psb_mmu_flush_ptes() 574 down_read(&pd->driver->sem); psb_mmu_remove_pfn_sequence() 596 up_read(&pd->driver->sem); psb_mmu_remove_pfn_sequence() 599 psb_mmu_flush(pd->driver); psb_mmu_remove_pfn_sequence() 626 down_read(&pd->driver->sem); psb_mmu_remove_pages() 654 up_read(&pd->driver->sem); psb_mmu_remove_pages() 657 psb_mmu_flush(pd->driver); psb_mmu_remove_pages() 672 down_read(&pd->driver->sem); psb_mmu_insert_pfn_sequence() 698 up_read(&pd->driver->sem); psb_mmu_insert_pfn_sequence() 701 psb_mmu_flush(pd->driver); psb_mmu_insert_pfn_sequence() 734 down_read(&pd->driver->sem); psb_mmu_insert_pages() 765 up_read(&pd->driver->sem); psb_mmu_insert_pages() 768 psb_mmu_flush(pd->driver); psb_mmu_insert_pages() 779 spinlock_t *lock = &pd->driver->lock; psb_mmu_virtual_to_pfn() 781 down_read(&pd->driver->sem); psb_mmu_virtual_to_pfn() 810 up_read(&pd->driver->sem); psb_mmu_virtual_to_pfn()
|
/linux-4.1.27/drivers/cpuidle/ |
H A D | driver.c | 2 * driver.c - driver support 27 * __cpuidle_get_cpu_driver - return the cpuidle driver tied to a CPU. 28 * @cpu: the CPU handled by the driver 30 * Returns a pointer to struct cpuidle_driver or NULL if no driver has been 39 * __cpuidle_unset_driver - unset per CPU driver variables. 42 * For each CPU in the driver's CPU mask, unset the registered driver per CPU 43 * variable. If @drv is different from the registered driver, the corresponding 60 * __cpuidle_set_driver - set per CPU driver variables for the given driver. 63 * For each CPU in the driver's cpumask, unset the registered driver per CPU 66 * Returns 0 on success, -EBUSY if the CPUs have driver(s) already. 90 * __cpuidle_get_cpu_driver - return the global cpuidle driver pointer. 91 * @cpu: ignored without the multiple driver support 93 * Return a pointer to a struct cpuidle_driver object or NULL if no driver was 102 * __cpuidle_set_driver - assign the global cpuidle driver variable. 105 * Returns 0 on success, -EBUSY if the driver is already registered. 118 * __cpuidle_unset_driver - unset the global cpuidle driver variable. 122 * registered driver, do nothing. 150 * __cpuidle_driver_init - initialize the driver's internal data 162 * notifier has to know which driver to assign. __cpuidle_driver_init() 211 * __cpuidle_register_driver: register the driver poll_idle_init() 214 * Do some sanity checks, initialize the driver, assign the driver to the poll_idle_init() 215 * global cpuidle driver variable(s) and set up the broadcast timer if the poll_idle_init() 216 * cpuidle driver has some states that shut down the local timer. poll_idle_init() 219 * * -EINVAL if the driver pointer is NULL or no idle states are available poll_idle_init() 221 * * -EBUSY if the driver is already assigned to the global variable(s) poll_idle_init() 249 * __cpuidle_unregister_driver - unregister the driver 252 * Check if the driver is no longer in use, reset the global cpuidle driver 272 * cpuidle_register_driver - registers a driver 275 * Register the driver under a lock to prevent concurrent attempts to 276 * [un]register the driver from occuring at the same time. 294 * cpuidle_unregister_driver - unregisters a driver 297 * Unregisters the cpuidle driver under a lock to prevent concurrent attempts 298 * to [un]register the driver from occuring at the same time. @drv has to 299 * match the currently registered driver. 310 * cpuidle_get_driver - return the driver tied to the current CPU. 312 * Returns a struct cpuidle_driver pointer, or NULL if no driver is registered. 328 * cpuidle_get_cpu_driver - return the driver registered for a CPU. 331 * Returns a struct cpuidle_driver pointer, or NULL if no driver is registered 344 * cpuidle_driver_ref - get a reference to the driver. 346 * Increment the reference counter of the cpuidle driver associated with 349 * Returns a pointer to the driver, or NULL if the current CPU has no driver. 366 * cpuidle_driver_unref - puts down the refcount for the driver 368 * Decrement the reference counter of the cpuidle driver associated with
|
H A D | cpuidle-mvebu-v7.c | 2 * Marvell Armada 370, 38x and XP SoC cpuidle driver 104 if (!strcmp(pdev->dev.driver->name, "cpuidle-armada-xp")) mvebu_v7_cpuidle_probe() 106 else if (!strcmp(pdev->dev.driver->name, "cpuidle-armada-370")) mvebu_v7_cpuidle_probe() 108 else if (!strcmp(pdev->dev.driver->name, "cpuidle-armada-38x")) mvebu_v7_cpuidle_probe() 115 .driver = { 124 .driver = { 133 .driver = { 142 MODULE_DESCRIPTION("Marvell EBU v7 cpuidle driver");
|
H A D | cpuidle-clps711x.c | 2 * CLPS711X CPU idle driver 55 .driver = { 62 MODULE_DESCRIPTION("CLPS711X CPU idle driver");
|
/linux-4.1.27/net/wireless/ |
H A D | ethtool.c | 10 strlcpy(info->driver, wiphy_dev(wdev->wiphy)->driver->name, cfg80211_get_drvinfo() 11 sizeof(info->driver)); cfg80211_get_drvinfo()
|
/linux-4.1.27/drivers/isdn/act2000/ |
H A D | Makefile | 1 # Makefile for the act2000 ISDN device driver
|
/linux-4.1.27/drivers/isdn/pcbit/ |
H A D | Makefile | 1 # Makefile for the pcbit ISDN device driver
|
/linux-4.1.27/drivers/macintosh/ams/ |
H A D | Makefile | 2 # Makefile for Apple Motion Sensor driver
|
/linux-4.1.27/drivers/net/bonding/ |
H A D | Makefile | 2 # Makefile for the Ethernet Bonding driver
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | Makefile | 2 # Chelsio T4 driver
|
/linux-4.1.27/drivers/net/ethernet/ibm/emac/ |
H A D | Makefile | 2 # Makefile for the PowerPC 4xx on-chip ethernet driver
|
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/ |
H A D | Makefile | 3 # Virtualized Server Adapter linux driver
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
H A D | Makefile | 2 # Makefile for the ARECA PCI-X PCI-EXPRESS SATA RAID controllers SCSI driver.
|
/linux-4.1.27/drivers/scsi/csiostor/ |
H A D | Makefile | 2 ## Chelsio FCoE driver
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
H A D | Makefile | 1 # Makefile for the NCR/SYMBIOS/LSI 53C8XX PCI SCSI controllers driver.
|
/linux-4.1.27/drivers/nfc/microread/ |
H A D | Makefile | 2 # Makefile for Microread HCI based NFC driver
|
/linux-4.1.27/drivers/nfc/nxp-nci/ |
H A D | Makefile | 2 # Makefile for NXP-NCI NFC driver
|
/linux-4.1.27/drivers/nfc/pn544/ |
H A D | Makefile | 2 # Makefile for PN544 HCI based NFC driver
|
/linux-4.1.27/drivers/nfc/st21nfca/ |
H A D | Makefile | 2 # Makefile for ST21NFCA HCI based NFC driver
|
/linux-4.1.27/drivers/nfc/st21nfcb/ |
H A D | Makefile | 2 # Makefile for ST21NFCB NCI based NFC driver
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | Makefile | 2 # Makefile for Broadcom 10-Gigabit ethernet driver
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
H A D | Makefile | 2 # Chelsio T1 driver
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvif/ |
H A D | client.c | 26 #include <nvif/driver.h> 32 return client->driver->ioctl(client->base.priv, client->super, data, size, NULL); nvif_client_ioctl() 38 return client->driver->suspend(client->base.priv); nvif_client_suspend() 44 return client->driver->resume(client->base.priv); nvif_client_resume() 50 if (client->driver) { nvif_client_fini() 51 client->driver->fini(client->base.priv); nvif_client_fini() 52 client->driver = NULL; nvif_client_fini() 71 nvif_client_init(void (*dtor)(struct nvif_client *), const char *driver, nvif_client_init() argument 86 for (i = 0, ret = -EINVAL; (client->driver = nvif_drivers[i]); i++) { nvif_client_init() 87 if (!driver || !strcmp(client->driver->name, driver)) { nvif_client_init() 88 ret = client->driver->init(name, device, cfg, dbg, nvif_client_init() 90 if (!ret || driver) nvif_client_init() 108 nvif_client_new(const char *driver, const char *name, u64 device, nvif_client_new() argument 114 int ret = nvif_client_init(nvif_client_del, driver, name, nvif_client_new()
|
/linux-4.1.27/drivers/char/tpm/st33zp24/ |
H A D | Makefile | 2 # Makefile for ST33ZP24 TPM 1.2 driver
|
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/ |
H A D | au1200fb.h | 2 * platform data for au1200fb driver.
|
H A D | au1550nd.h | 2 * platform data for the Au1550 NAND driver
|
H A D | au1xxx_eth.h | 4 /* Platform specific PHY configuration passed to the MAC driver */
|
/linux-4.1.27/drivers/tc/ |
H A D | tc-driver.c | 2 * TURBOchannel driver services. 7 * Loosely based on drivers/dio/dio-driver.c and 8 * drivers/pci/pci-driver.c. 20 * tc_register_driver - register a new TC driver 21 * @drv: the driver structure to register 23 * Adds the driver structure to the list of registered drivers 25 * If no error occurred, the driver remains registered even if 30 return driver_register(&tdrv->driver); tc_register_driver() 35 * tc_unregister_driver - unregister a TC driver 36 * @drv: the driver structure to unregister 38 * Deletes the driver structure from the list of registered TC drivers, 45 driver_unregister(&tdrv->driver); tc_unregister_driver() 52 * @tdrv: the TC driver to earch for matching TC device ID strings 55 * Used by a driver to check whether a TC device present in the 80 * @drv: the device driver to search for matching TC device ID strings 82 * Used by a driver to check whether a TC device present in the
|
/linux-4.1.27/drivers/video/fbdev/nvidia/ |
H A D | Makefile | 2 # Makefile for the nVidia framebuffer driver
|
/linux-4.1.27/drivers/video/fbdev/riva/ |
H A D | Makefile | 2 # Makefile for the Riva framebuffer driver
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | atafd.h | 4 /* Definitions for the Atari Floppy driver */
|
H A D | atarikb.h | 35 /* Hook for MIDI serial driver */ 37 /* Hook for keyboard inputdev driver */ 39 /* Hook for mouse inputdev driver */
|
/linux-4.1.27/arch/arm/mach-keystone/ |
H A D | Makefile | 8 # PM domain driver for Keystone SOCs
|
/linux-4.1.27/include/linux/iio/dac/ |
H A D | ad5504.h | 2 * AD5504 SPI DAC driver
|
H A D | max517.h | 2 * MAX517 DAC driver
|
H A D | mcp4725.h | 2 * MCP4725 DAC driver
|
/linux-4.1.27/sound/soc/fsl/ |
H A D | mpc5200_psc_ac97.h | 3 * ALSA SoC Digital Audio Interface (DAI) driver
|
/linux-4.1.27/drivers/pci/pcie/ |
H A D | portdrv_pci.c | 153 struct pcie_port_service_driver *driver; error_detected_iter() local 159 if (device->bus == &pcie_port_bus_type && device->driver) { error_detected_iter() 160 driver = to_service_driver(device->driver); error_detected_iter() 161 if (!driver || error_detected_iter() 162 !driver->err_handler || error_detected_iter() 163 !driver->err_handler->error_detected) error_detected_iter() 169 status = driver->err_handler->error_detected( error_detected_iter() 192 struct pcie_port_service_driver *driver; mmio_enabled_iter() local 197 if (device->bus == &pcie_port_bus_type && device->driver) { mmio_enabled_iter() 198 driver = to_service_driver(device->driver); mmio_enabled_iter() 199 if (driver && mmio_enabled_iter() 200 driver->err_handler && mmio_enabled_iter() 201 driver->err_handler->mmio_enabled) { mmio_enabled_iter() 205 status = driver->err_handler->mmio_enabled( mmio_enabled_iter() 226 struct pcie_port_service_driver *driver; slot_reset_iter() local 231 if (device->bus == &pcie_port_bus_type && device->driver) { slot_reset_iter() 232 driver = to_service_driver(device->driver); slot_reset_iter() 233 if (driver && slot_reset_iter() 234 driver->err_handler && slot_reset_iter() 235 driver->err_handler->slot_reset) { slot_reset_iter() 239 status = driver->err_handler->slot_reset( slot_reset_iter() 268 struct pcie_port_service_driver *driver; resume_iter() local 270 if (device->bus == &pcie_port_bus_type && device->driver) { resume_iter() 271 driver = to_service_driver(device->driver); resume_iter() 272 if (driver && resume_iter() 273 driver->err_handler && resume_iter() 274 driver->err_handler->resume) { resume_iter() 278 driver->err_handler->resume(pcie_device->port); resume_iter() 316 .driver.pm = PCIE_PORTDRV_PM_OPS,
|
H A D | portdrv_bus.c | 29 struct pcie_port_service_driver *driver; pcie_port_bus_match() local 35 driver = to_service_driver(drv); pcie_port_bus_match() 37 if (driver->service != pciedev->service) pcie_port_bus_match() 40 if ((driver->port_type != PCIE_ANY_PORT) && pcie_port_bus_match() 41 (driver->port_type != pci_pcie_type(pciedev->port))) pcie_port_bus_match()
|
H A D | portdrv_core.c | 283 * enabled by the BIOS and the hot-plug service driver get_port_device_capability() 296 * BIOS (the AER service driver will enable it when necessary). get_port_device_capability() 309 * by the BIOS (the PME service driver will enable it when get_port_device_capability() 420 if ((dev->bus == &pcie_port_bus_type) && dev->driver) { suspend_iter() 421 service_driver = to_service_driver(dev->driver); suspend_iter() 442 (dev->driver)) { resume_iter() 443 service_driver = to_service_driver(dev->driver); resume_iter() 482 * pcie_port_probe_service - probe driver for given PCI Express port service 485 * If PCI Express port service driver is registered with 486 * pcie_port_service_register(), this function will be called by the driver core 487 * whenever match is found between the driver and a port service device. 492 struct pcie_port_service_driver *driver; pcie_port_probe_service() local 495 if (!dev || !dev->driver) pcie_port_probe_service() 498 driver = to_service_driver(dev->driver); pcie_port_probe_service() 499 if (!driver || !driver->probe) pcie_port_probe_service() 503 status = driver->probe(pciedev); pcie_port_probe_service() 507 dev_printk(KERN_DEBUG, dev, "service driver %s loaded\n", driver->name); pcie_port_probe_service() 513 * pcie_port_remove_service - detach driver from given PCI Express port service 516 * If PCI Express port service driver is registered with 517 * pcie_port_service_register(), this function will be called by the driver core 519 * with the driver. 524 struct pcie_port_service_driver *driver; pcie_port_remove_service() local 526 if (!dev || !dev->driver) pcie_port_remove_service() 530 driver = to_service_driver(dev->driver); pcie_port_remove_service() 531 if (driver && driver->remove) { pcie_port_remove_service() 532 dev_printk(KERN_DEBUG, dev, "unloading service driver %s\n", pcie_port_remove_service() 533 driver->name); pcie_port_remove_service() 534 driver->remove(pciedev); pcie_port_remove_service() 544 * If PCI Express port service driver is registered with 545 * pcie_port_service_register(), this function will be called by the driver core 547 * with the driver. 552 * pcie_port_service_register - register PCI Express port service driver pcie_port_shutdown_service() 553 * @new: PCI Express port service driver to register pcie_port_shutdown_service() 560 new->driver.name = new->name; pcie_port_service_register() 561 new->driver.bus = &pcie_port_bus_type; pcie_port_service_register() 562 new->driver.probe = pcie_port_probe_service; pcie_port_service_register() 563 new->driver.remove = pcie_port_remove_service; pcie_port_service_register() 564 new->driver.shutdown = pcie_port_shutdown_service; pcie_port_service_register() 566 return driver_register(&new->driver); pcie_port_service_register() 571 * pcie_port_service_unregister - unregister PCI Express port service driver 572 * @drv: PCI Express port service driver to unregister 576 driver_unregister(&drv->driver); pcie_port_service_unregister()
|
/linux-4.1.27/mm/ |
H A D | zpool.c | 23 struct zpool_driver *driver; member in struct:zpool 38 * @driver: driver to register 40 void zpool_register_driver(struct zpool_driver *driver) zpool_register_driver() argument 43 atomic_set(&driver->refcount, 0); zpool_register_driver() 44 list_add(&driver->list, &drivers_head); zpool_register_driver() 51 * @driver: driver to unregister. 53 * Module usage counting is used to prevent using a driver 57 * failure, the driver is in use and must remain available. 59 int zpool_unregister_driver(struct zpool_driver *driver) zpool_unregister_driver() argument 64 refcount = atomic_read(&driver->refcount); zpool_unregister_driver() 69 list_del(&driver->list); zpool_unregister_driver() 105 struct zpool_driver *driver; zpool_get_driver() local 108 list_for_each_entry(driver, &drivers_head, list) { zpool_get_driver() 109 if (!strcmp(driver->type, type)) { zpool_get_driver() 110 bool got = try_module_get(driver->owner); zpool_get_driver() 113 atomic_inc(&driver->refcount); zpool_get_driver() 115 return got ? driver : NULL; zpool_get_driver() 123 static void zpool_put_driver(struct zpool_driver *driver) zpool_put_driver() argument 125 atomic_dec(&driver->refcount); zpool_put_driver() 126 module_put(driver->owner); zpool_put_driver() 147 struct zpool_driver *driver; zpool_create_pool() local 152 driver = zpool_get_driver(type); zpool_create_pool() 154 if (!driver) { zpool_create_pool() 156 driver = zpool_get_driver(type); zpool_create_pool() 159 if (!driver) { zpool_create_pool() 160 pr_err("no driver for type %s\n", type); zpool_create_pool() 167 zpool_put_driver(driver); zpool_create_pool() 171 zpool->type = driver->type; zpool_create_pool() 172 zpool->driver = driver; zpool_create_pool() 173 zpool->pool = driver->create(name, gfp, ops); zpool_create_pool() 178 zpool_put_driver(driver); zpool_create_pool() 210 zpool->driver->destroy(zpool->pool); zpool_destroy_pool() 211 zpool_put_driver(zpool->driver); zpool_destroy_pool() 249 return zpool->driver->malloc(zpool->pool, size, gfp, handle); zpool_malloc() 268 zpool->driver->free(zpool->pool, handle); zpool_free() 291 return zpool->driver->shrink(zpool->pool, pages, reclaimed); zpool_shrink() 319 return zpool->driver->map(zpool->pool, handle, mapmode); zpool_map_handle() 334 zpool->driver->unmap(zpool->pool, handle); zpool_unmap_handle() 347 return zpool->driver->total_size(zpool->pool); zpool_get_total_size()
|
/linux-4.1.27/drivers/media/pci/ngene/ |
H A D | Makefile | 2 # Makefile for the nGene device driver 13 # For the staging CI driver cxd2099
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/include/uapi/linux/ |
H A D | atm_eni.h | 1 /* atm_eni.h - Driver-specific declarations of the ENI driver (for use by 2 driver-specific utilities) */
|
H A D | if_slip.h | 5 * KISS TNC driver. 19 * VSV = ioctl for keepalive & outfill in SLIP driver
|
/linux-4.1.27/include/linux/rtc/ |
H A D | ds1307.h | 2 * ds1307.h - platform_data for the ds1307 (and variants) rtc driver 4 * same license as the driver
|
/linux-4.1.27/include/linux/mfd/ |
H A D | ds1wm.h | 1 /* MFD cell driver data for the DS1WM driver */
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | dib9000.h | 48 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_attach() 54 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_get_i2c_master() 60 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_i2c_enumeration() 66 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_get_tuner_interface() 72 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_set_gpio() 78 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_fw_pid_filter_ctrl() 84 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_fw_pid_filter() 90 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_firmware_post_pll_init() 96 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_set_slave_frontend() 102 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_remove_slave_frontend() 108 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_get_slave_frontend() 114 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_get_component_bus_interface() 120 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_set_i2c_adapter() 126 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib9000_fw_set_component_bus_speed()
|
H A D | dib0090.h | 99 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_register() 105 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_fw_register() 111 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_dcc_freq() 116 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_pwm_gain_reset() 121 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_get_wbd_target() 127 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_get_wbd_offset() 133 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_gain_control() 139 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_get_tune_state() 145 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_set_tune_state() 151 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_get_current_gain() 156 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_set_dc_servo() 162 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_set_switch() 168 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_set_vga() 175 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_update_rframp_7090() 182 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); dib0090_update_tuning_table_7090()
|
H A D | rtl2832_sdr.h | 2 * Realtek RTL2832U SDR driver 33 * struct rtl2832_sdr_platform_data - Platform data for the rtl2832_sdr driver 36 * @i2c_client: rtl2832 demod driver I2C client. 37 * @bulk_read: rtl2832 driver private I/O interface. 38 * @bulk_write: rtl2832 driver private I/O interface. 39 * @update_bits: rtl2832 driver private I/O interface. 48 * XXX: This list must be kept sync with dvb_usb_rtl28xxu USB IF driver.
|
H A D | s921.h | 2 * Sharp s921 driver 36 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); s921_attach() 42 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); s921_get_tuner_i2c_adapter()
|
H A D | si2168.h | 2 * Silicon Labs Si2168 DVB-T/T2/C demodulator driver 28 * returned by driver 34 * returned by driver
|
H A D | tc90522.h | 21 * this driver treats each sub module as one demod device. 35 /* [OUT] frontend returned by driver */ 38 /* [OUT] tuner I2C adapter returned by driver */
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | srmcons.c | 4 * Callback based driver for SRM Console console device. 5 * (TTY driver and console driver) 28 * The TTY driver 211 struct tty_driver *driver; srmcons_init() local 214 driver = alloc_tty_driver(MAX_SRM_CONSOLE_DEVICES); srmcons_init() 215 if (!driver) srmcons_init() 220 driver->driver_name = "srm"; srmcons_init() 221 driver->name = "srm"; srmcons_init() 222 driver->major = 0; /* dynamic */ srmcons_init() 223 driver->minor_start = 0; srmcons_init() 224 driver->type = TTY_DRIVER_TYPE_SYSTEM; srmcons_init() 225 driver->subtype = SYSTEM_TYPE_SYSCONS; srmcons_init() 226 driver->init_termios = tty_std_termios; srmcons_init() 227 tty_set_operations(driver, &srmcons_ops); srmcons_init() 228 tty_port_link_device(&srmcons_singleton.port, driver, 0); srmcons_init() 229 err = tty_register_driver(driver); srmcons_init() 231 put_tty_driver(driver); srmcons_init() 235 srmcons_driver = driver; srmcons_init() 245 * The console driver
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
H A D | display-sysfs.c | 5 * Some code and ideas taken from drivers/video/omap/ driver 61 r = dssdev->driver->enable(dssdev); display_enabled_store() 65 dssdev->driver->disable(dssdev); display_enabled_store() 74 dssdev->driver->get_te ? display_tear_show() 75 dssdev->driver->get_te(dssdev) : 0); display_tear_show() 84 if (!dssdev->driver->enable_te || !dssdev->driver->get_te) display_tear_store() 91 r = dssdev->driver->enable_te(dssdev, te); display_tear_store() 102 if (!dssdev->driver->get_timings) display_timings_show() 105 dssdev->driver->get_timings(dssdev, &t); display_timings_show() 119 if (!dssdev->driver->set_timings || !dssdev->driver->check_timings) display_timings_store() 138 r = dssdev->driver->check_timings(dssdev, &t); display_timings_store() 142 dssdev->driver->disable(dssdev); display_timings_store() 143 dssdev->driver->set_timings(dssdev, &t); display_timings_store() 144 r = dssdev->driver->enable(dssdev); display_timings_store() 154 if (!dssdev->driver->get_rotate) display_rotate_show() 156 rotate = dssdev->driver->get_rotate(dssdev); display_rotate_show() 165 if (!dssdev->driver->set_rotate || !dssdev->driver->get_rotate) display_rotate_store() 172 r = dssdev->driver->set_rotate(dssdev, rot); display_rotate_store() 182 if (!dssdev->driver->get_mirror) display_mirror_show() 184 mirror = dssdev->driver->get_mirror(dssdev); display_mirror_show() 194 if (!dssdev->driver->set_mirror || !dssdev->driver->get_mirror) display_mirror_store() 201 r = dssdev->driver->set_mirror(dssdev, mirror); display_mirror_store() 212 if (!dssdev->driver->get_wss) display_wss_show() 215 wss = dssdev->driver->get_wss(dssdev); display_wss_show() 226 if (!dssdev->driver->get_wss || !dssdev->driver->set_wss) display_wss_store() 236 r = dssdev->driver->set_wss(dssdev, wss); display_wss_store()
|
/linux-4.1.27/drivers/zorro/ |
H A D | zorro-driver.c | 6 * Loosely based on drivers/pci/pci-driver.c 24 * Used by a driver to check whether a Zorro device present in the 46 struct zorro_driver *drv = to_zorro_driver(dev->driver); zorro_device_probe() 49 if (!z->driver && drv->probe) { zorro_device_probe() 56 z->driver = drv; zorro_device_probe() 67 struct zorro_driver *drv = to_zorro_driver(dev->driver); zorro_device_remove() 72 z->driver = NULL; zorro_device_remove() 79 * zorro_register_driver - register a new Zorro driver 80 * @drv: the driver structure to register 82 * Adds the driver structure to the list of registered drivers 88 /* initialize common driver fields */ zorro_register_driver() 89 drv->driver.name = drv->name; zorro_register_driver() 90 drv->driver.bus = &zorro_bus_type; zorro_register_driver() 93 return driver_register(&drv->driver); zorro_register_driver() 99 * zorro_unregister_driver - unregister a zorro driver 100 * @drv: the driver structure to unregister 102 * Deletes the driver structure from the list of registered Zorro drivers, 110 driver_unregister(&drv->driver); zorro_unregister_driver() 121 * Used by a driver to check whether a Zorro device present in the
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_platform.c | 43 struct drm_driver *driver) drm_get_platform_dev() 50 dev = drm_dev_alloc(driver, &platdev->dev); drm_get_platform_dev() 61 driver->name, driver->major, driver->minor, driver->patchlevel, drm_get_platform_dev() 62 driver->date, dev->primary->index); drm_get_platform_dev() 91 * @driver: DRM device driver 94 * Registers the specified DRM device driver and platform device with the DRM 95 * subsystem, initializing a drm_device structure and calling the driver's 100 int drm_platform_init(struct drm_driver *driver, struct platform_device *platform_device) drm_platform_init() argument 104 return drm_get_platform_dev(platform_device, driver); drm_platform_init() 42 drm_get_platform_dev(struct platform_device *platdev, struct drm_driver *driver) drm_get_platform_dev() argument
|
/linux-4.1.27/drivers/misc/mei/ |
H A D | bus.c | 2 * Intel Management Engine Interface (Intel MEI) Linux driver 30 #define to_mei_cl_driver(d) container_of(d, struct mei_cl_driver, driver) 36 struct mei_cl_driver *driver = to_mei_cl_driver(drv); mei_cl_device_match() local 42 if (!driver || !driver->id_table) mei_cl_device_match() 45 id = driver->id_table; mei_cl_device_match() 60 struct mei_cl_driver *driver; mei_cl_device_probe() local 66 driver = to_mei_cl_driver(dev->driver); mei_cl_device_probe() 67 if (!driver || !driver->probe) mei_cl_device_probe() 74 return driver->probe(device, &id); mei_cl_device_probe() 80 struct mei_cl_driver *driver; mei_cl_device_remove() local 82 if (!device || !dev->driver) mei_cl_device_remove() 90 driver = to_mei_cl_driver(dev->driver); mei_cl_device_remove() 91 if (!driver->remove) { mei_cl_device_remove() 92 dev->driver = NULL; mei_cl_device_remove() 97 return driver->remove(device); mei_cl_device_remove() 201 int __mei_cl_driver_register(struct mei_cl_driver *driver, struct module *owner) __mei_cl_driver_register() argument 205 driver->driver.name = driver->name; __mei_cl_driver_register() 206 driver->driver.owner = owner; __mei_cl_driver_register() 207 driver->driver.bus = &mei_cl_bus_type; __mei_cl_driver_register() 209 err = driver_register(&driver->driver); __mei_cl_driver_register() 213 pr_debug("mei: driver [%s] registered\n", driver->driver.name); __mei_cl_driver_register() 219 void mei_cl_driver_unregister(struct mei_cl_driver *driver) mei_cl_driver_unregister() argument 221 driver_unregister(&driver->driver); mei_cl_driver_unregister() 223 pr_debug("mei: driver [%s] unregistered\n", driver->driver.name); mei_cl_driver_unregister()
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | Kconfig.x86 | 9 This driver provides a P state for Intel core processors. 10 The driver implements an internal governor and will become 11 the scaling driver and governor for Sandy bridge processors. 13 When this driver is enabled it will become the preferred 14 scaling driver for Sandy bridge processors. 19 tristate "Processor Clocking Control interface driver" 22 This driver adds support for the PCC interface. 27 To compile this driver as a module, choose M here: the 33 tristate "ACPI Processor P-States driver" 36 This driver adds a CPUFreq driver which utilizes the ACPI 38 This driver also supports Intel Enhanced Speedstep and newer 41 To compile this driver as a module, choose M here: the 53 The powernow-k8 driver used to provide a sysfs knob called "cpb" 57 By enabling this option the acpi_cpufreq driver provides the old 61 tristate "SFI Performance-States driver" 64 This adds a CPUFreq driver for some Silvermont based Intel Atom 74 This adds the CPUFreq driver for AMD Elan SC400 and SC410 89 This adds the CPUFreq driver for AMD Elan SC520 processor. 100 This adds the CPUFreq driver for mobile AMD K6-2+ and mobile 111 This adds the CPUFreq driver for mobile AMD K7 mobile processors. 128 This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors. 131 To compile this driver as a module, choose M here: the 157 This add the CPUFreq driver for NatSemi Geode processors which 170 acpi_cpufreq (X86_ACPI_CPUFREQ). Use that driver instead of 172 This adds the CPUFreq driver for Enhanced SpeedStep enabled 176 To compile this driver as a module, choose M here: the 197 This adds the CPUFreq driver for certain mobile Intel Pentium III 210 This adds the CPUFreq driver for certain mobile Intel Pentium III 221 This adds the CPUFreq driver for Intel Pentium 4 / XEON 225 This driver should be only used in exceptional 230 To compile this driver as a module, choose M here: the 241 This adds the CPUFreq driver for FSB changing on nVidia nForce2 252 This adds the CPUFreq driver for Transmeta Crusoe and Efficeon processors 263 This adds the CPUFreq driver for VIA Samuel/CyrixIII, 275 This adds the CPUFreq driver for VIA C7 processors. However, this driver 278 driver, enabled by CONFIG_X86_ACPI_CPUFREQ.
|
H A D | sparc-us3-cpufreq.c | 6 * infrastructure in order to make this driver easier to implement. 182 struct cpufreq_driver *driver; us3_freq_init() local 185 driver = kzalloc(sizeof(*driver), GFP_KERNEL); us3_freq_init() 186 if (!driver) us3_freq_init() 194 driver->init = us3_freq_cpu_init; us3_freq_init() 195 driver->verify = cpufreq_generic_frequency_table_verify; us3_freq_init() 196 driver->target_index = us3_freq_target; us3_freq_init() 197 driver->get = us3_freq_get; us3_freq_init() 198 driver->exit = us3_freq_cpu_exit; us3_freq_init() 199 strcpy(driver->name, "UltraSPARC-III"); us3_freq_init() 201 cpufreq_us3_driver = driver; us3_freq_init() 202 ret = cpufreq_register_driver(driver); us3_freq_init() 209 if (driver) { us3_freq_init() 210 kfree(driver); us3_freq_init() 233 MODULE_DESCRIPTION("cpufreq driver for UltraSPARC-III");
|
/linux-4.1.27/sound/ |
H A D | ac97_bus.c | 2 * Linux driver model AC97 bus interface 35 if (dev->driver && dev->driver->suspend) ac97_bus_suspend() 36 ret = dev->driver->suspend(dev, state); ac97_bus_suspend() 45 if (dev->driver && dev->driver->resume) ac97_bus_resume() 46 ret = dev->driver->resume(dev); ac97_bus_resume()
|
/linux-4.1.27/drivers/ssb/ |
H A D | pcihost_wrapper.c | 82 if (dev->driver && dev->driver->name) ssb_pcihost_probe() 83 name = dev->driver->name; ssb_pcihost_probe() 124 int ssb_pcihost_register(struct pci_driver *driver) ssb_pcihost_register() argument 126 driver->probe = ssb_pcihost_probe; ssb_pcihost_register() 127 driver->remove = ssb_pcihost_remove; ssb_pcihost_register() 129 driver->driver.pm = &ssb_pcihost_pm_ops; ssb_pcihost_register() 132 return pci_register_driver(driver); ssb_pcihost_register()
|
/linux-4.1.27/include/trace/events/ |
H A D | fence.h | 19 __string(driver, fence->ops->get_driver_name(fence)) 31 __assign_str(driver, fence->ops->get_driver_name(fence)) 43 TP_printk("driver=%s timeline=%s context=%u seqno=%u " \ 44 "waits on driver=%s timeline=%s context=%u seqno=%u", 45 __get_str(driver), __get_str(timeline), __entry->context, 58 __string(driver, fence->ops->get_driver_name(fence)) 65 __assign_str(driver, fence->ops->get_driver_name(fence)) 71 TP_printk("driver=%s timeline=%s context=%u seqno=%u", 72 __get_str(driver), __get_str(timeline), __entry->context,
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
H A D | udc-core.c | 34 * @driver - the gadget driver pointer. For use by the class code 37 * @list - for use by the udc class driver 42 * to hold information about udc driver and gadget together. 45 struct usb_gadget_driver *driver; member in struct:usb_udc 165 * The udc driver calls it when it wants to connect or disconnect gadget 182 * @driver: The gadget driver we want to notify 184 * If the udc driver has bus reset handler, it needs to call this when the bus 185 * reset occurs, it notifies the gadget driver that the bus reset occurs as 189 struct usb_gadget_driver *driver) usb_gadget_udc_reset() 191 driver->reset(gadget); usb_gadget_udc_reset() 200 * This call is issued by the UDC Class driver when it's about 201 * to register a gadget driver to the device controller, before 202 * calling gadget driver's bind() method. 211 return udc->gadget->ops->udc_start(udc->gadget, udc->driver); usb_gadget_udc_start() 217 * @driver: The driver to unbind from @gadget 219 * This call is issued by the UDC Class driver after calling 220 * gadget driver's unbind() method. 235 * This is called by driver's core in order to free memory once the last 255 * usb_add_gadget_udc_release - adds a new gadget to the udc class driver list 256 * @parent: the parent device to this udc. Usually the controller driver's 336 * usb_add_gadget_udc - adds a new gadget to the udc class driver list 338 * driver's device. 351 dev_dbg(&udc->dev, "unregistering UDC driver [%s]\n", usb_gadget_remove_driver() 352 udc->driver->function); usb_gadget_remove_driver() 357 udc->driver->disconnect(udc->gadget); usb_gadget_remove_driver() 358 udc->driver->unbind(udc->gadget); usb_gadget_remove_driver() 361 udc->driver = NULL; usb_gadget_remove_driver() 362 udc->dev.driver = NULL; usb_gadget_remove_driver() 363 udc->gadget->dev.driver = NULL; usb_gadget_remove_driver() 386 if (udc->driver) usb_del_gadget_udc() 398 static int udc_bind_to_driver(struct usb_udc *udc, struct usb_gadget_driver *driver) udc_bind_to_driver() argument 402 dev_dbg(&udc->dev, "registering UDC driver [%s]\n", udc_bind_to_driver() 403 driver->function); udc_bind_to_driver() 405 udc->driver = driver; udc_bind_to_driver() 406 udc->dev.driver = &driver->driver; udc_bind_to_driver() 407 udc->gadget->dev.driver = &driver->driver; udc_bind_to_driver() 409 ret = driver->bind(udc->gadget, driver); udc_bind_to_driver() 414 driver->unbind(udc->gadget); udc_bind_to_driver() 424 udc->driver->function, ret); udc_bind_to_driver() 425 udc->driver = NULL; udc_bind_to_driver() 426 udc->dev.driver = NULL; udc_bind_to_driver() 427 udc->gadget->dev.driver = NULL; udc_bind_to_driver() 431 int usb_udc_attach_driver(const char *name, struct usb_gadget_driver *driver) usb_udc_attach_driver() argument 446 if (udc->driver) { usb_udc_attach_driver() 450 ret = udc_bind_to_driver(udc, driver); usb_udc_attach_driver() 457 int usb_gadget_probe_driver(struct usb_gadget_driver *driver) usb_gadget_probe_driver() argument 462 if (!driver || !driver->bind || !driver->setup) usb_gadget_probe_driver() 468 if (!udc->driver) usb_gadget_probe_driver() 476 ret = udc_bind_to_driver(udc, driver); usb_gadget_probe_driver() 482 int usb_gadget_unregister_driver(struct usb_gadget_driver *driver) usb_gadget_unregister_driver() argument 487 if (!driver || !driver->unbind) usb_gadget_unregister_driver() 492 if (udc->driver == driver) { usb_gadget_unregister_driver() 524 if (!udc->driver) { usb_udc_softconn_store() 525 dev_err(dev, "soft-connect without a gadget driver\n"); usb_udc_softconn_store() 534 udc->driver->disconnect(udc->gadget); usb_udc_softconn_store() 622 if (udc->driver) { usb_udc_uevent() 624 udc->driver->function); usb_udc_uevent() 188 usb_gadget_udc_reset(struct usb_gadget *gadget, struct usb_gadget_driver *driver) usb_gadget_udc_reset() argument
|
/linux-4.1.27/sound/soc/ |
H A D | soc-compress.c | 37 if (platform->driver->compr_ops && platform->driver->compr_ops->open) { soc_compr_open() 38 ret = platform->driver->compr_ops->open(cstream); soc_compr_open() 61 if (platform->driver->compr_ops && platform->driver->compr_ops->free) soc_compr_open() 62 platform->driver->compr_ops->free(cstream); soc_compr_open() 85 if (platform->driver->compr_ops && platform->driver->compr_ops->open) { soc_compr_open_fe() 86 ret = platform->driver->compr_ops->open(cstream); soc_compr_open_fe() 143 if (platform->driver->compr_ops && platform->driver->compr_ops->free) soc_compr_open_fe() 144 platform->driver->compr_ops->free(cstream); soc_compr_open_fe() 165 codec_dai->driver->playback.stream_name, close_delayed_work() 208 if (platform->driver->compr_ops && platform->driver->compr_ops->free) soc_compr_free() 209 platform->driver->compr_ops->free(cstream); soc_compr_free() 273 if (platform->driver->compr_ops && platform->driver->compr_ops->free) soc_compr_free_fe() 274 platform->driver->compr_ops->free(cstream); soc_compr_free_fe() 290 if (platform->driver->compr_ops && platform->driver->compr_ops->trigger) { soc_compr_trigger() 291 ret = platform->driver->compr_ops->trigger(cstream, cmd); soc_compr_trigger() 319 if (platform->driver->compr_ops && soc_compr_trigger_fe() 320 platform->driver->compr_ops->trigger) soc_compr_trigger_fe() 321 return platform->driver->compr_ops->trigger(cstream, soc_compr_trigger_fe() 333 if (platform->driver->compr_ops && platform->driver->compr_ops->trigger) { soc_compr_trigger_fe() 334 ret = platform->driver->compr_ops->trigger(cstream, cmd); soc_compr_trigger_fe() 373 /* first we call set_params for the platform driver soc_compr_set_params() 379 if (platform->driver->compr_ops && platform->driver->compr_ops->set_params) { soc_compr_set_params() 380 ret = platform->driver->compr_ops->set_params(cstream, params); soc_compr_set_params() 426 if (platform->driver->compr_ops && platform->driver->compr_ops->set_params) { soc_compr_set_params_fe() 427 ret = platform->driver->compr_ops->set_params(cstream, params); soc_compr_set_params_fe() 439 * Create an empty hw_params for the BE as the machine driver must soc_compr_set_params_fe() 441 * I.e. machine driver fixup for compressed BE is mandatory. soc_compr_set_params_fe() 474 if (platform->driver->compr_ops && platform->driver->compr_ops->get_params) soc_compr_get_params() 475 ret = platform->driver->compr_ops->get_params(cstream, params); soc_compr_get_params() 490 if (platform->driver->compr_ops && platform->driver->compr_ops->get_caps) soc_compr_get_caps() 491 ret = platform->driver->compr_ops->get_caps(cstream, caps); soc_compr_get_caps() 506 if (platform->driver->compr_ops && platform->driver->compr_ops->get_codec_caps) soc_compr_get_codec_caps() 507 ret = platform->driver->compr_ops->get_codec_caps(cstream, codec); soc_compr_get_codec_caps() 521 if (platform->driver->compr_ops && platform->driver->compr_ops->ack) soc_compr_ack() 522 ret = platform->driver->compr_ops->ack(cstream, bytes); soc_compr_ack() 536 if (platform->driver->compr_ops && platform->driver->compr_ops->pointer) soc_compr_pointer() 537 platform->driver->compr_ops->pointer(cstream, tstamp); soc_compr_pointer() 552 if (platform->driver->compr_ops && platform->driver->compr_ops->copy) soc_compr_copy() 553 ret = platform->driver->compr_ops->copy(cstream, buf, count); soc_compr_copy() 566 if (platform->driver->compr_ops && platform->driver->compr_ops->set_metadata) soc_compr_set_metadata() 567 ret = platform->driver->compr_ops->set_metadata(cstream, metadata); soc_compr_set_metadata() 579 if (platform->driver->compr_ops && platform->driver->compr_ops->get_metadata) soc_compr_get_metadata() 580 ret = platform->driver->compr_ops->get_metadata(cstream, metadata); soc_compr_get_metadata() 637 if (codec_dai->driver->playback.channels_min) soc_new_compress() 639 if (codec_dai->driver->capture.channels_min) soc_new_compress() 642 capture = capture && cpu_dai->driver->capture.channels_min; soc_new_compress() 643 playback = playback && cpu_dai->driver->playback.channels_min; soc_new_compress() 698 if (platform->driver->compr_ops && platform->driver->compr_ops->copy) soc_new_compress()
|
/linux-4.1.27/drivers/char/agp/ |
H A D | backend.c | 2 * AGPGART driver backend routines. 144 if (bridge->driver->needs_scratch_page) { agp_backend_initialize() 145 struct page *page = bridge->driver->agp_alloc_page(bridge); agp_backend_initialize() 156 bridge->scratch_page = bridge->driver->mask_memory(bridge, agp_backend_initialize() 160 size_value = bridge->driver->fetch_size(); agp_backend_initialize() 166 if (bridge->driver->create_gatt_table(bridge)) { agp_backend_initialize() 185 if (bridge->driver->configure()) { agp_backend_initialize() 196 if (bridge->driver->needs_scratch_page) { agp_backend_initialize() 199 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_UNMAP); agp_backend_initialize() 200 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_FREE); agp_backend_initialize() 203 bridge->driver->free_gatt_table(bridge); agp_backend_initialize() 214 if (bridge->driver->cleanup) agp_backend_cleanup() 215 bridge->driver->cleanup(); agp_backend_cleanup() 216 if (bridge->driver->free_gatt_table) agp_backend_cleanup() 217 bridge->driver->free_gatt_table(bridge); agp_backend_cleanup() 222 if (bridge->driver->agp_destroy_page && agp_backend_cleanup() 223 bridge->driver->needs_scratch_page) { agp_backend_cleanup() 226 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_UNMAP); agp_backend_cleanup() 227 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_FREE); agp_backend_cleanup() 279 /* Grab reference on the chipset driver. */ agp_add_bridge() 280 if (!try_module_get(bridge->driver->owner)) { agp_add_bridge() 281 dev_info(&bridge->dev->dev, "can't lock chipset driver\n"); agp_add_bridge() 302 bridge->driver->fetch_size(), bridge->gart_bus_addr); agp_add_bridge() 312 module_put(bridge->driver->owner); agp_add_bridge() 326 module_put(bridge->driver->owner); agp_remove_bridge() 360 MODULE_DESCRIPTION("AGP GART driver");
|
/linux-4.1.27/drivers/gpu/host1x/ |
H A D | bus.c | 76 struct host1x_driver *driver) host1x_device_parse_dt() 82 if (of_match_node(driver->subdevs, np) && host1x_device_parse_dt() 129 * first active subdevice, so unload the driver first. __host1x_subdev_unregister() 269 struct host1x_driver *driver = to_host1x_driver(dev->driver); host1x_device_probe() local 272 if (driver->probe) host1x_device_probe() 273 return driver->probe(device); host1x_device_probe() 280 struct host1x_driver *driver = to_host1x_driver(dev->driver); host1x_device_remove() local 283 if (driver->remove) host1x_device_remove() 284 return driver->remove(device); host1x_device_remove() 291 struct host1x_driver *driver = to_host1x_driver(dev->driver); host1x_device_shutdown() local 294 if (driver->shutdown) host1x_device_shutdown() 295 driver->shutdown(device); host1x_device_shutdown() 373 struct host1x_driver *driver) host1x_device_add() 392 device->driver = driver; host1x_device_add() 396 dev_set_name(&device->dev, "%s", driver->driver.name); host1x_device_add() 401 err = host1x_device_parse_dt(device, driver); host1x_device_add() 443 struct host1x_driver *driver) host1x_attach_driver() 451 if (device->driver == driver) { host1x_attach_driver() 457 err = host1x_device_add(host1x, driver); host1x_attach_driver() 465 struct host1x_driver *driver) host1x_detach_driver() 472 if (device->driver == driver) host1x_detach_driver() 480 struct host1x_driver *driver; host1x_register() local 488 list_for_each_entry(driver, &drivers, list) host1x_register() 489 host1x_attach_driver(host1x, driver); host1x_register() 498 struct host1x_driver *driver; host1x_unregister() local 502 list_for_each_entry(driver, &drivers, list) host1x_unregister() 503 host1x_detach_driver(host1x, driver); host1x_unregister() 514 int host1x_driver_register_full(struct host1x_driver *driver, host1x_driver_register_full() argument 519 INIT_LIST_HEAD(&driver->list); host1x_driver_register_full() 522 list_add_tail(&driver->list, &drivers); host1x_driver_register_full() 528 host1x_attach_driver(host1x, driver); host1x_driver_register_full() 532 driver->driver.bus = &host1x_bus_type; host1x_driver_register_full() 533 driver->driver.owner = owner; host1x_driver_register_full() 535 return driver_register(&driver->driver); host1x_driver_register_full() 539 void host1x_driver_unregister(struct host1x_driver *driver) host1x_driver_unregister() argument 542 list_del_init(&driver->list); host1x_driver_unregister() 75 host1x_device_parse_dt(struct host1x_device *device, struct host1x_driver *driver) host1x_device_parse_dt() argument 372 host1x_device_add(struct host1x *host1x, struct host1x_driver *driver) host1x_device_add() argument 442 host1x_attach_driver(struct host1x *host1x, struct host1x_driver *driver) host1x_attach_driver() argument 464 host1x_detach_driver(struct host1x *host1x, struct host1x_driver *driver) host1x_detach_driver() argument
|
/linux-4.1.27/drivers/usb/core/ |
H A D | driver.c | 2 * drivers/usb/driver.c - most of the driver model stuff for usb 18 * NOTE! This is not actually a driver at all, rather this is 36 * Adds a new dynamic USBdevice ID to this driver, 37 * and cause the driver to probe for all devices again. 41 struct device_driver *driver, usb_store_new_id() 99 retval = driver_attach(driver); usb_store_new_id() 128 static ssize_t new_id_show(struct device_driver *driver, char *buf) new_id_show() argument 130 struct usb_driver *usb_drv = to_usb_driver(driver); new_id_show() 135 static ssize_t new_id_store(struct device_driver *driver, new_id_store() argument 138 struct usb_driver *usb_drv = to_usb_driver(driver); new_id_store() 140 return usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, driver, buf, count); new_id_store() 145 * Remove a USB device ID from this driver 147 static ssize_t remove_id_store(struct device_driver *driver, const char *buf, remove_id_store() argument 151 struct usb_driver *usb_driver = to_usb_driver(driver); remove_id_store() 174 static ssize_t remove_id_show(struct device_driver *driver, char *buf) remove_id_show() argument 176 return new_id_show(driver, buf); remove_id_show() 188 error = driver_create_file(&usb_drv->drvwrap.driver, usb_create_newid_files() 191 error = driver_create_file(&usb_drv->drvwrap.driver, usb_create_newid_files() 194 driver_remove_file(&usb_drv->drvwrap.driver, usb_create_newid_files() 208 driver_remove_file(&usb_drv->drvwrap.driver, usb_remove_newid_files() 210 driver_remove_file(&usb_drv->drvwrap.driver, usb_remove_newid_files() 244 /* called from driver core with dev locked */ usb_probe_device() 247 struct usb_device_driver *udriver = to_usb_device_driver(dev->driver); usb_probe_device() 256 * unless the driver supports autosuspend. usb_probe_device() 266 /* called from driver core with dev locked */ usb_unbind_device() 270 struct usb_device_driver *udriver = to_usb_device_driver(dev->driver); usb_unbind_device() 278 /* called from driver core with dev locked */ usb_probe_interface() 281 struct usb_driver *driver = to_usb_driver(dev->driver); usb_probe_interface() local 300 id = usb_match_dynamic_id(intf, driver); usb_probe_interface() 302 id = usb_match_id(intf, driver->id_table); usb_probe_interface() 315 * runtime-PM-enabled only if the driver has autosuspend support. usb_probe_interface() 320 if (driver->supports_autosuspend) usb_probe_interface() 323 /* If the new driver doesn't allow hub-initiated LPM, and we can't usb_probe_interface() 334 if (driver->disable_hub_initiated_lpm) { usb_probe_interface() 337 dev_err(&intf->dev, "%s Failed to disable LPM for driver %s\n.", usb_probe_interface() 338 __func__, driver->name); usb_probe_interface() 353 error = driver->probe(intf, id); usb_probe_interface() 376 if (driver->supports_autosuspend) usb_probe_interface() 384 /* called from driver core with dev locked */ usb_unbind_interface() 387 struct usb_driver *driver = to_usb_driver(dev->driver); usb_unbind_interface() local 401 * the driver is unbound. If LPM isn't disabled, that's fine because it usb_unbind_interface() 405 if (driver->disable_hub_initiated_lpm) usb_unbind_interface() 409 * Terminate all URBs for this interface unless the driver usb_unbind_interface() 412 if (!driver->soft_unbind || udev->state == USB_STATE_NOTATTACHED) usb_unbind_interface() 415 driver->disconnect(intf); usb_unbind_interface() 466 if (driver->supports_autosuspend) usb_unbind_interface() 482 * usb_driver_claim_interface - bind a driver to an interface 483 * @driver: the driver to be bound 486 * @priv: driver data associated with that interface 490 * No device driver should directly modify internal usb_interface or 495 * the driver's probe() method. 497 * Callers must own the device lock, so driver probe() entries don't need 503 int usb_driver_claim_interface(struct usb_driver *driver, usb_driver_claim_interface() argument 515 if (dev->driver) usb_driver_claim_interface() 520 dev->driver = &driver->drvwrap.driver; usb_driver_claim_interface() 527 if (driver->disable_hub_initiated_lpm) { usb_driver_claim_interface() 530 dev_err(&iface->dev, "%s Failed to disable LPM for driver %s\n.", usb_driver_claim_interface() 531 __func__, driver->name); usb_driver_claim_interface() 537 * runtime-PM-enabled, but only if the driver has autosuspend usb_driver_claim_interface() 543 if (driver->supports_autosuspend) usb_driver_claim_interface() 563 * usb_driver_release_interface - unbind a driver from an interface 564 * @driver: the driver to be unbound 569 * also causes the driver disconnect() method to be called. 572 * Callers must own the device lock, so driver disconnect() entries don't 576 void usb_driver_release_interface(struct usb_driver *driver, usb_driver_release_interface() argument 582 if (!dev->driver || dev->driver != &driver->drvwrap.driver) usb_driver_release_interface() 590 /* Release via the driver core only if the interface usb_driver_release_interface() 598 dev->driver = NULL; usb_driver_release_interface() 703 * This is used when binding (or rebinding) a driver to an interface. 705 * but some layered driver frameworks use it directly. 707 * modutils, to support the driver loading functionality of USB hotplugging. 721 * as a driver's "modules.usbmap" entry if you provide an id with 723 * driver's probe() routine should use additional intelligence to 729 * driver selection must come from smart driver id records. 779 indicates that the driver want to examine every usb_match_id() 842 /* driver is often null here; dev_dbg() would oops */ usb_uevent() 858 /* class-based driver binding models */ usb_uevent() 869 * usb_register_device_driver - register a USB device (not interface) driver 870 * @new_udriver: USB operations for the device driver 871 * @owner: module owner of this driver. 873 * Registers a USB device driver with the USB core. The list of 874 * unattached devices will be rescanned whenever a new driver is 875 * added, allowing the new driver to attach to any recognized devices. 888 new_udriver->drvwrap.driver.name = new_udriver->name; usb_register_device_driver() 889 new_udriver->drvwrap.driver.bus = &usb_bus_type; usb_register_device_driver() 890 new_udriver->drvwrap.driver.probe = usb_probe_device; usb_register_device_driver() 891 new_udriver->drvwrap.driver.remove = usb_unbind_device; usb_register_device_driver() 892 new_udriver->drvwrap.driver.owner = owner; usb_register_device_driver() 894 retval = driver_register(&new_udriver->drvwrap.driver); usb_register_device_driver() 897 pr_info("%s: registered new device driver %s\n", usb_register_device_driver() 901 " driver %s\n", usb_register_device_driver() 909 * usb_deregister_device_driver - unregister a USB device (not interface) driver 910 * @udriver: USB operations of the device driver to unregister 913 * Unlinks the specified driver from the internal USB driver list. 917 pr_info("%s: deregistering device driver %s\n", usb_deregister_device_driver() 920 driver_unregister(&udriver->drvwrap.driver); usb_deregister_device_driver() 925 * usb_register_driver - register a USB interface driver 926 * @new_driver: USB operations for the interface driver 927 * @owner: module owner of this driver. 930 * Registers a USB interface driver with the USB core. The list of 931 * unattached interfaces will be rescanned whenever a new driver is 932 * added, allowing the new driver to attach to any recognized interfaces. 936 * NOTE: if you want your driver to use the USB major number, you must call 949 new_driver->drvwrap.driver.name = new_driver->name; usb_register_driver() 950 new_driver->drvwrap.driver.bus = &usb_bus_type; usb_register_driver() 951 new_driver->drvwrap.driver.probe = usb_probe_interface; usb_register_driver() 952 new_driver->drvwrap.driver.remove = usb_unbind_interface; usb_register_driver() 953 new_driver->drvwrap.driver.owner = owner; usb_register_driver() 954 new_driver->drvwrap.driver.mod_name = mod_name; usb_register_driver() 958 retval = driver_register(&new_driver->drvwrap.driver); usb_register_driver() 966 pr_info("%s: registered new interface driver %s\n", usb_register_driver() 973 driver_unregister(&new_driver->drvwrap.driver); usb_register_driver() 976 " driver %s\n", usb_register_driver() 983 * usb_deregister - unregister a USB interface driver 984 * @driver: USB operations of the interface driver to unregister 987 * Unlinks the specified driver from the internal USB driver list. 990 * usb_deregister_dev() to clean up your driver's allocated minor numbers, 993 void usb_deregister(struct usb_driver *driver) usb_deregister() argument 995 pr_info("%s: deregistering interface driver %s\n", usb_deregister() 996 usbcore_name, driver->name); usb_deregister() 998 usb_remove_newid_files(driver); usb_deregister() 999 driver_unregister(&driver->drvwrap.driver); usb_deregister() 1000 usb_free_dynids(driver); usb_deregister() 1004 /* Forced unbinding of a USB interface driver, either because 1012 struct usb_driver *driver = to_usb_driver(intf->dev.driver); usb_forced_unbind_intf() local 1015 usb_driver_release_interface(driver, intf); usb_forced_unbind_intf() 1037 if (intf->dev.driver && intf->needs_binding) unbind_marked_interfaces() 1043 /* Delayed forced unbinding of a USB interface driver and scan 1055 /* Delayed unbind of an existing driver */ usb_rebind_intf() 1056 if (intf->dev.driver) usb_rebind_intf() 1123 if (intf->dev.driver) { unbind_no_pm_drivers_interfaces() 1124 drv = to_usb_driver(intf->dev.driver); unbind_no_pm_drivers_interfaces() 1141 /* For devices that don't have a driver, we do a generic suspend. */ usb_suspend_device() 1142 if (udev->dev.driver) usb_suspend_device() 1143 udriver = to_usb_device_driver(udev->dev.driver); usb_suspend_device() 1163 /* Can't resume it if it doesn't have a driver. */ usb_resume_device() 1164 if (udev->dev.driver == NULL) { usb_resume_device() 1179 udriver = to_usb_device_driver(udev->dev.driver); usb_resume_device() 1190 struct usb_driver *driver; usb_suspend_interface() local 1196 driver = to_usb_driver(intf->dev.driver); usb_suspend_interface() 1198 /* at this time we know the driver supports suspend */ usb_suspend_interface() 1199 status = driver->suspend(intf, msg); usb_suspend_interface() 1211 struct usb_driver *driver; usb_resume_interface() local 1221 /* Can't resume it if it doesn't have a driver. */ usb_resume_interface() 1236 driver = to_usb_driver(intf->dev.driver); usb_resume_interface() 1239 if (driver->reset_resume) { usb_resume_interface() 1240 status = driver->reset_resume(intf); usb_resume_interface() 1246 dev_dbg(&intf->dev, "no reset_resume for driver %s?\n", usb_resume_interface() 1247 driver->name); usb_resume_interface() 1250 status = driver->resume(intf); usb_resume_interface() 1258 /* Later we will unbind the driver and/or reprobe, if necessary */ usb_resume_interface() 1279 * driver may be made without the protection of @udev's device lock, but 1362 * driver may be made without the protection of @udev's device lock, but 1586 * This routine should be called by an interface driver when it is 1588 * example would be a character-device driver when its device file is 1621 * Typically a driver would call this routine during an URB's completion 1663 * This routine should be called by an interface driver when it wants to 1669 * driver when its device file is opened. 1780 struct usb_driver *driver; autosuspend_check() local 1782 driver = to_usb_driver(intf->dev.driver); autosuspend_check() 1783 if (!driver->reset_resume || autosuspend_check() 1871 if (hcd->driver->set_usb2_hw_lpm) { usb_set_usb2_hardware_lpm() 1872 ret = hcd->driver->set_usb2_hw_lpm(hcd, udev, enable); usb_set_usb2_hardware_lpm() 39 usb_store_new_id(struct usb_dynids *dynids, const struct usb_device_id *id_table, struct device_driver *driver, const char *buf, size_t count) usb_store_new_id() argument
|
H A D | Makefile | 5 usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | trace.h | 56 __string(driver, dev_driver_string(ar->dev)) 61 __assign_str(driver, dev_driver_string(ar->dev)); 69 __get_str(driver), 95 __string(driver, dev_driver_string(ar->dev)) 101 __assign_str(driver, dev_driver_string(ar->dev)); 110 __get_str(driver), 124 __string(driver, dev_driver_string(ar->dev)) 133 __assign_str(driver, dev_driver_string(ar->dev)); 142 __get_str(driver), 157 __string(driver, dev_driver_string(ar->dev)) 166 __assign_str(driver, dev_driver_string(ar->dev)); 175 __get_str(driver), 190 __string(driver, dev_driver_string(ar->dev)) 198 __assign_str(driver, dev_driver_string(ar->dev)); 206 __get_str(driver), 220 __string(driver, dev_driver_string(ar->dev)) 227 __assign_str(driver, dev_driver_string(ar->dev)); 234 __get_str(driver), 247 __string(driver, dev_driver_string(ar->dev)) 254 __assign_str(driver, dev_driver_string(ar->dev)); 261 __get_str(driver), 274 __string(driver, dev_driver_string(ar->dev)) 281 __assign_str(driver, dev_driver_string(ar->dev)); 288 __get_str(driver), 302 __string(driver, dev_driver_string(ar->dev)) 311 __assign_str(driver, dev_driver_string(ar->dev)); 320 __get_str(driver), 336 __string(driver, dev_driver_string(ar->dev)) 342 __assign_str(driver, dev_driver_string(ar->dev)); 348 __get_str(driver), 361 __string(driver, dev_driver_string(ar->dev)) 368 __assign_str(driver, dev_driver_string(ar->dev)); 375 __get_str(driver), 388 __string(driver, dev_driver_string(ar->dev)) 395 __assign_str(driver, dev_driver_string(ar->dev)); 403 __get_str(driver), 436 __string(driver, dev_driver_string(ar->dev)) 443 __assign_str(driver, dev_driver_string(ar->dev)); 450 __get_str(driver), 468 __string(driver, dev_driver_string(ar->dev)) 478 __assign_str(driver, dev_driver_string(ar->dev)); 488 __get_str(driver), 504 __string(driver, dev_driver_string(ar->dev)) 511 __assign_str(driver, dev_driver_string(ar->dev)); 518 __get_str(driver),
|
/linux-4.1.27/drivers/isdn/hysdn/ |
H A D | Makefile | 1 # Makefile for the hysdn ISDN device driver
|
/linux-4.1.27/drivers/isdn/sc/ |
H A D | Makefile | 1 # Makefile for the sc ISDN device driver
|
/linux-4.1.27/drivers/net/wimax/i2400m/ |
H A D | Makefile | 7 driver.o \
|
/linux-4.1.27/drivers/media/usb/go7007/ |
H A D | Makefile | 6 go7007-y := go7007-v4l2.o go7007-driver.o go7007-i2c.o go7007-fw.o \
|
/linux-4.1.27/drivers/misc/mic/host/ |
H A D | Makefile | 2 # Makefile - Intel MIC Linux driver.
|
/linux-4.1.27/drivers/staging/dgnc/ |
H A D | dgnc_utils.c | 9 * Put the driver to sleep for x ms's
|
/linux-4.1.27/drivers/rapidio/ |
H A D | Makefile | 5 rapidio-y := rio.o rio-access.o rio-driver.o rio-sysfs.o
|
H A D | rio-driver.c | 2 * RapidIO driver support 25 * Used from driver probe and bus matching to check whether a RIO device 26 * matches a device id structure provided by a RIO driver. Returns the 84 * return 0 and set rio_dev->driver when drv claims rio_dev, else error 88 struct rio_driver *rdrv = to_rio_driver(dev->driver); rio_device_probe() 93 if (!rdev->driver && rdrv->probe) { rio_device_probe() 101 rdev->driver = rdrv; rio_device_probe() 115 * driver, then run the driver remove() method. Then update 121 struct rio_driver *rdrv = rdev->driver; rio_device_remove() 126 rdev->driver = NULL; rio_device_remove() 135 * rio_register_driver - register a new RIO driver 136 * @rdrv: the RIO driver structure to register 140 * occurred, the driver remains registered even if no device 145 /* initialize common driver fields */ rio_register_driver() 146 rdrv->driver.name = rdrv->name; rio_register_driver() 147 rdrv->driver.bus = &rio_bus_type; rio_register_driver() 150 return driver_register(&rdrv->driver); rio_register_driver() 154 * rio_unregister_driver - unregister a RIO driver 155 * @rdrv: the RIO driver structure to unregister 164 driver_unregister(&rdrv->driver); rio_unregister_driver() 174 * rio_match_bus - Tell if a RIO device structure has a matching RIO driver device id structure 176 * @drv: the standard driver structure containing the ids to match against 178 * Used by a driver to check whether a RIO device present in the
|
/linux-4.1.27/drivers/s390/char/ |
H A D | sclp_tty.h | 2 * interface to the SCLP-read/write driver
|
/linux-4.1.27/drivers/s390/net/ |
H A D | smsgiucv.h | 2 * IUCV special message driver
|
/linux-4.1.27/drivers/pci/ |
H A D | pci-driver.c | 2 * drivers/pci/pci-driver.c 31 * pci_add_dynid - add a new PCI device ID to this driver and re-probe devices 32 * @drv: target pci driver 39 * @driver_data: private driver data 41 * Adds a new dynamic pci device ID to this driver and causes the 42 * driver to probe for all devices again. @drv must have been 75 return driver_attach(&drv->driver); pci_add_dynid() 93 * @driver: target device driver 97 * Allow PCI IDs to be added to an existing driver via sysfs. 99 static ssize_t store_new_id(struct device_driver *driver, const char *buf, store_new_id() argument 102 struct pci_driver *pdrv = to_pci_driver(driver); store_new_id() 160 * store_remove_id - remove a PCI device ID from this driver 161 * @driver: target device driver 165 * Removes a dynamic pci device ID to this driver. 167 static ssize_t store_remove_id(struct device_driver *driver, const char *buf, store_remove_id() argument 171 struct pci_driver *pdrv = to_pci_driver(driver); store_remove_id() 217 * Used by a driver to check whether a PCI device present in the 222 * that a driver might want to check for. 247 * @drv: the PCI driver to match against 250 * Used by a driver to check whether a PCI device present in the 260 /* When driver_override is set, only bind to the matching driver */ pci_match_device() 301 * active and the usage count is incremented. If the driver local_pci_probe() 307 pci_dev->driver = pci_drv; local_pci_probe() 312 pci_dev->driver = NULL; local_pci_probe() 331 * Execute driver initialization on node where the device is pci_call_probe() 332 * attached. This way the driver likely allocates its local memory pci_call_probe() 367 * __pci_device_probe - check if a driver wants to claim a specific PCI device 368 * @drv: driver to call to check if it wants the PCI device 372 * side-effect: pci_dev->driver is set to drv when drv claims pci_dev. 379 if (!pci_dev->driver && drv->probe) { __pci_device_probe() 397 drv = to_pci_driver(dev->driver); pci_device_probe() 410 struct pci_driver *drv = pci_dev->driver; pci_device_remove() 418 pci_dev->driver = NULL; pci_device_remove() 426 * since it might change by the next time we load the driver. pci_device_remove() 433 * the driver should have called pci_disable_device(), but the pci_device_remove() 447 struct pci_driver *drv = pci_dev->driver; pci_device_shutdown() 503 * Default "suspend" method for devices that have no driver provided suspend, 504 * or not even a driver at all (second part). 517 * Default "resume" method for devices that have no driver provided resume, 518 * or not even a driver at all (second part). 539 struct pci_driver *drv = pci_dev->driver; pci_legacy_suspend() 566 struct pci_driver *drv = pci_dev->driver; pci_legacy_suspend_late() 600 struct pci_driver *drv = pci_dev->driver; pci_legacy_resume_early() 609 struct pci_driver *drv = pci_dev->driver; pci_legacy_resume() 636 struct pci_driver *drv = pci_dev->driver; pci_has_legacy_pm_support() 645 WARN(ret && drv->driver.pm, "driver %s device %04x:%04x\n", pci_has_legacy_pm_support() 655 struct device_driver *drv = dev->driver; pci_pm_prepare() 684 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_suspend() 731 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_suspend_noirq() 788 struct device_driver *drv = dev->driver; pci_pm_resume_noirq() 805 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_resume() 851 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_freeze() 888 struct device_driver *drv = dev->driver; pci_pm_freeze_noirq() 916 struct device_driver *drv = dev->driver; pci_pm_thaw_noirq() 939 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_thaw() 966 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_poweroff() 1001 struct device_driver *drv = dev->driver; pci_pm_poweroff_noirq() 1041 struct device_driver *drv = dev->driver; pci_pm_restore_noirq() 1064 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_restore() 1113 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_runtime_suspend() 1118 * If pci_dev->driver is not set (unbound), the device should pci_pm_runtime_suspend() 1121 if (!pci_dev->driver) pci_pm_runtime_suspend() 1158 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_runtime_resume() 1161 * If pci_dev->driver is not set (unbound), the device should pci_pm_runtime_resume() 1164 if (!pci_dev->driver) pci_pm_runtime_resume() 1185 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pci_pm_runtime_idle() 1189 * If pci_dev->driver is not set (unbound), the device should pci_pm_runtime_idle() 1192 if (!pci_dev->driver) pci_pm_runtime_idle() 1236 * __pci_register_driver - register a new pci driver 1237 * @drv: the driver structure to register 1241 * Adds the driver structure to the list of registered drivers. 1243 * If no error occurred, the driver remains registered even if 1249 /* initialize common driver fields */ __pci_register_driver() 1250 drv->driver.name = drv->name; __pci_register_driver() 1251 drv->driver.bus = &pci_bus_type; __pci_register_driver() 1252 drv->driver.owner = owner; __pci_register_driver() 1253 drv->driver.mod_name = mod_name; __pci_register_driver() 1259 return driver_register(&drv->driver); __pci_register_driver() 1264 * pci_unregister_driver - unregister a pci driver 1265 * @drv: the driver structure to unregister 1267 * Deletes the driver structure from the list of registered PCI drivers, 1275 driver_unregister(&drv->driver); pci_unregister_driver() 1289 * registered driver for the device. 1293 if (dev->driver) pci_dev_driver() 1294 return dev->driver; pci_dev_driver() 1308 * @drv: the device driver to search for matching PCI device id structures 1310 * Used by a driver to check whether a PCI device present in the
|
/linux-4.1.27/drivers/input/joystick/iforce/ |
H A D | Makefile | 2 # Makefile for the I-Force driver
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | ctrl.h | 2 * CAAM control-plane driver backend public-level include definitions
|
/linux-4.1.27/fs/proc/ |
H A D | proc_tty.c | 141 * registering the driver's /proc handler into /proc/tty/driver/<foo> 143 void proc_tty_register_driver(struct tty_driver *driver) proc_tty_register_driver() argument 147 if (!driver->driver_name || driver->proc_entry || proc_tty_register_driver() 148 !driver->ops->proc_fops) proc_tty_register_driver() 151 ent = proc_create_data(driver->driver_name, 0, proc_tty_driver, proc_tty_register_driver() 152 driver->ops->proc_fops, driver); proc_tty_register_driver() 153 driver->proc_entry = ent; proc_tty_register_driver() 159 void proc_tty_unregister_driver(struct tty_driver *driver) proc_tty_unregister_driver() argument 163 ent = driver->proc_entry; proc_tty_unregister_driver() 167 remove_proc_entry(driver->driver_name, proc_tty_driver); proc_tty_unregister_driver() 169 driver->proc_entry = NULL; proc_tty_unregister_driver() 181 * /proc/tty/driver/serial reveals the exact character counts for proc_tty_init() 186 proc_tty_driver = proc_mkdir_mode("tty/driver", S_IRUSR|S_IXUSR, NULL); proc_tty_init()
|
H A D | consoles.c | 35 const struct tty_driver *driver; show_console_dev() local 37 driver = con->device(con, &index); show_console_dev() 38 if (driver) { show_console_dev() 39 dev = MKDEV(driver->major, driver->minor_start); show_console_dev()
|
/linux-4.1.27/drivers/video/fbdev/i810/ |
H A D | Makefile | 2 # Makefile for the Intel 810/815 framebuffer driver
|
/linux-4.1.27/drivers/pnp/ |
H A D | Makefile | 7 pnp-y := core.o card.o driver.o resource.o manager.o support.o interface.o quirks.o
|
H A D | driver.c | 2 * driver.c - device id matching, driver model, etc. 87 pnp_drv = to_pnp_driver(dev->driver); pnp_device_probe() 112 pnp_dev->driver = pnp_drv; pnp_device_probe() 127 struct pnp_driver *drv = pnp_dev->driver; pnp_device_remove() 132 pnp_dev->driver = NULL; pnp_device_remove() 141 struct pnp_driver *drv = pnp_dev->driver; pnp_device_shutdown() 160 struct pnp_driver *pnp_drv = pnp_dev->driver; __pnp_bus_suspend() 166 if (pnp_drv->driver.pm && pnp_drv->driver.pm->suspend) { __pnp_bus_suspend() 167 error = pnp_drv->driver.pm->suspend(dev); __pnp_bus_suspend() 168 suspend_report_result(pnp_drv->driver.pm->suspend, error); __pnp_bus_suspend() 208 struct pnp_driver *pnp_drv = pnp_dev->driver; pnp_bus_resume() 226 if (pnp_drv->driver.pm && pnp_drv->driver.pm->resume) { pnp_bus_resume() 227 error = pnp_drv->driver.pm->resume(dev); pnp_bus_resume() 264 drv->driver.name = drv->name; pnp_register_driver() 265 drv->driver.bus = &pnp_bus_type; pnp_register_driver() 267 return driver_register(&drv->driver); pnp_register_driver() 272 driver_unregister(&drv->driver); pnp_unregister_driver()
|
/linux-4.1.27/include/linux/usb/ |
H A D | atmel_usba_udc.h | 2 * Platform data definitions for Atmel USBA gadget driver.
|
/linux-4.1.27/arch/mips/lasat/ |
H A D | at93c.h | 2 * Atmel AT93C46 serial eeprom driver
|
/linux-4.1.27/sound/drivers/pcsp/ |
H A D | pcsp_input.h | 2 * PC-Speaker driver for Linux
|
/linux-4.1.27/include/linux/can/platform/ |
H A D | mcp251x.h | 6 * CAN bus driver for Microchip 251x CAN Controller with SPI Interface
|
/linux-4.1.27/sound/soc/intel/atom/ |
H A D | Makefile | 6 # DSP driver
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | altera-ci.h | 4 * CI driver in conjunction with NetUp Dual DVB-T/C RF CI card 53 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); altera_ci_init() 59 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); altera_ci_release() 64 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); altera_ci_irq() 70 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); altera_ci_tuner_reset() 79 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 85 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 91 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
H A D | Makefile | 2 # Makefile for the kernel SAA7146 FULL TS DVB device driver 3 # and the AV7110 DVB device driver
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the
|
/linux-4.1.27/drivers/base/ |
H A D | init.c | 16 * driver_init - initialize driver model. 18 * Call the driver model init functions to initialize their
|
H A D | driver.c | 2 * driver.c - centralized device driver management 35 * driver_for_each_device - Iterator for devices bound to a driver. 64 * @drv: The device's driver 98 * driver_create_file - create sysfs file for driver. 99 * @drv: driver. 100 * @attr: driver attribute descriptor. 116 * driver_remove_file - remove sysfs file for driver. 117 * @drv: driver. 118 * @attr: driver attribute descriptor. 141 * driver_register - register driver with bus 142 * @drv: driver to register 183 * driver_unregister - remove driver from system. 184 * @drv: driver. 191 WARN(1, "Unexpected driver unregister!\n"); driver_unregister() 200 * driver_find - locate driver on a bus by its name. 201 * @name: name of the driver. 202 * @bus: bus to scan for the driver. 205 * a bus to find driver by name. Return driver if found. 207 * This routine provides no locking to prevent the driver it returns 220 return priv->driver; driver_find()
|
H A D | dd.c | 2 * drivers/base/dd.c - The core device/driver interactions. 6 * driver binding and unbinding. 35 * Sometimes driver probe order matters, but the kernel doesn't always have 37 * resource it depends on is available. For example, an SDHCI driver may 39 * initialized. If a required resource is not available yet, a driver can 43 * list. A driver returning -EPROBE_DEFER causes the device to be added to the 44 * pending list. A successful driver probe will trigger moving all devices 138 * should be called anytime a driver is successfully bound to a device. 147 * trigger has occurred in the midst of probing a driver. If the trigger count 203 pr_debug("driver: '%s': %s: bound to device '%s'\n", dev->driver->name, driver_bound() 206 klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices); driver_bound() 228 ret = sysfs_create_link(&dev->driver->p->kobj, &dev->kobj, driver_sysfs_add() 231 ret = sysfs_create_link(&dev->kobj, &dev->driver->p->kobj, driver_sysfs_add() 232 "driver"); driver_sysfs_add() 234 sysfs_remove_link(&dev->driver->p->kobj, driver_sysfs_add() 242 struct device_driver *drv = dev->driver; driver_sysfs_remove() 246 sysfs_remove_link(&dev->kobj, "driver"); driver_sysfs_remove() 251 * device_bind_driver - bind a driver to one device. 254 * Allow manual attachment of a driver to a device. 255 * Caller must have already set @dev->driver. 260 * from a driver's probe() method.) 284 pr_debug("bus: '%s': %s: probing driver %s with device %s\n", really_probe() 288 dev->driver = drv; really_probe() 322 pr_debug("bus: '%s': %s: bound device %s to driver %s\n", really_probe() 329 dev->driver = NULL; really_probe() 349 /* driver matched but the probe failed */ really_probe() 355 * Ignore errors returned by ->probe so that the next driver can try really_probe() 393 * driver_probe_device - attempt to bind device & driver together 394 * @drv: driver to bind a device to 395 * @dev: device to try to bind to the driver 410 pr_debug("bus: '%s': %s: matched device %s with driver %s\n", driver_probe_device() 431 * device_attach - try to attach device to a driver. 438 * Returns 1 if the device was bound to a driver; 439 * 0 if no matching driver was found; 449 if (dev->driver) { device_attach() 458 dev->driver = NULL; device_attach() 491 if (!dev->driver) __driver_attach() 501 * driver_attach - try to bind driver to devices. 502 * @drv: driver. 505 * match the driver with each one. If driver_probe_device() 506 * returns 0 and the @dev->driver is set, we've found a 523 drv = dev->driver; __device_release_driver() 541 dev->driver = NULL; __device_release_driver() 556 * device_release_driver - manually detach device from driver. 559 * Manually detach device from driver. 576 * driver_detach - detach driver from all devices it controls. 577 * @drv: driver. 600 if (dev->driver == drv) driver_detach()
|
/linux-4.1.27/include/linux/spi/ |
H A D | xilinx_spi.h | 5 * struct xspi_platform_data - Platform data of the Xilinx SPI driver 9 * @devices: Devices to add when the driver is probed.
|
/linux-4.1.27/include/linux/input/ |
H A D | lm8333.h | 2 * public include for LM8333 keypad driver - same license as driver
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-debugifc.h | 25 /* Print general status of driver. This will also trigger a probe of 27 driver so the information should be self-consistent (but it will 28 hang if the driver is wedged). */ 33 driver. This should work even if the driver appears to be 38 /* Parse a string command into a driver action. */
|
/linux-4.1.27/drivers/scsi/aic94xx/ |
H A D | aic94xx_seq.h | 2 * Aic94xx SAS/SATA driver sequencer interface header file. 9 * This file is part of the aic94xx driver. 11 * The aic94xx driver is free software; you can redistribute it and/or 16 * The aic94xx driver is distributed in the hope that it will be useful, 22 * along with the aic94xx driver; if not, write to the Free Software 45 /* version string printed by driver */
|
H A D | aic94xx_dump.h | 2 * Aic94xx SAS/SATA driver dump header file. 9 * This file is part of the aic94xx driver. 11 * The aic94xx driver is free software; you can redistribute it and/or 16 * The aic94xx driver is distributed in the hope that it will be useful, 22 * along with the aic94xx driver; if not, write to the Free Software
|
/linux-4.1.27/drivers/misc/mic/bus/ |
H A D | mic_bus.c | 18 * Intel MIC Bus driver. 20 * This implementation is very similar to the the virtio bus driver 74 * This looks through all the IDs a driver claims to support. If any of them 102 struct mbus_driver *drv = drv_to_mbus(dev->dev.driver); mbus_dev_probe() 114 struct mbus_driver *drv = drv_to_mbus(dev->dev.driver); mbus_dev_remove() 129 int mbus_register_driver(struct mbus_driver *driver) mbus_register_driver() argument 131 driver->driver.bus = &mic_bus; mbus_register_driver() 132 return driver_register(&driver->driver); mbus_register_driver() 136 void mbus_unregister_driver(struct mbus_driver *driver) mbus_unregister_driver() argument 138 driver_unregister(&driver->driver); mbus_unregister_driver() 179 * matching driver. mbus_register_device() 217 MODULE_DESCRIPTION("Intel(R) MIC Bus driver");
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | driver.c | 37 * i2o_bus_match - Tell if I2O device class id matches the class ids of the I2O driver (OSM) 39 * @drv: the driver to match against 41 * Used by the bus to check if the driver wants to handle the device. 43 * Returns 1 if the class ids of the driver match the class id of the 69 * i2o_driver_register - Register a I2O driver (OSM) in the I2O core 70 * @drv: I2O driver which should be registered 84 osm_debug("Register driver %s\n", drv->name); i2o_driver_register() 90 osm_err("Could not initialize event queue for driver " i2o_driver_register() 94 osm_debug("Event queue initialized for driver %s\n", drv->name); i2o_driver_register() 98 drv->driver.name = drv->name; i2o_driver_register() 99 drv->driver.bus = &i2o_bus_type; i2o_driver_register() 116 osm_debug("driver %s gets context id %d\n", drv->name, drv->context); i2o_driver_register() 126 rc = driver_register(&drv->driver); i2o_driver_register() 141 * i2o_driver_unregister - Unregister a I2O driver (OSM) from the I2O core 142 * @drv: I2O driver which should be unregistered 152 osm_debug("unregister driver %s\n", drv->name); i2o_driver_unregister() 154 driver_unregister(&drv->driver); i2o_driver_unregister() 181 * The reply is delivered to the driver from which the original message 196 osm_warn("%s: Spurious reply to unknown driver %d\n", c->name, i2o_driver_dispatch() 206 osm_warn("%s: Spurious reply to unknown driver %d\n", c->name, i2o_driver_dispatch() 246 osm_debug("%s: Reply to driver %s, but no reply function defined!\n", i2o_driver_dispatch() 368 * Unregisters the I2O bus and frees driver array.
|
/linux-4.1.27/sound/aoa/soundbus/ |
H A D | core.c | 43 drv = to_soundbus_driver(dev->driver); soundbus_probe() 111 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); soundbus_device_remove() 113 if (dev->driver && drv->remove) soundbus_device_remove() 123 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); soundbus_device_shutdown() 125 if (dev->driver && drv->shutdown) soundbus_device_shutdown() 134 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); soundbus_device_suspend() 136 if (dev->driver && drv->suspend) soundbus_device_suspend() 144 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); soundbus_device_resume() 146 if (dev->driver && drv->resume) soundbus_device_resume() 193 /* initialize common driver fields */ soundbus_register_driver() 194 drv->driver.name = drv->name; soundbus_register_driver() 195 drv->driver.bus = &soundbus_bus_type; soundbus_register_driver() 198 return driver_register(&drv->driver); soundbus_register_driver() 204 driver_unregister(&drv->driver); soundbus_unregister_driver()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.c | 20 * This is the generic driver code. This binds the driver to the drm core, 29 static struct drm_driver driver; variable in typeref:struct:drm_driver 67 return drm_get_pci_dev(pdev, ent, &driver); mga_pci_probe() 90 static struct drm_driver driver = { variable in typeref:struct:drm_driver 125 return drm_pci_init(&driver, &mgag200_pci_driver); mgag200_init() 130 drm_pci_exit(&driver, &mgag200_pci_driver); mgag200_exit()
|
/linux-4.1.27/drivers/staging/comedi/ |
H A D | comedi_usb.c | 3 * Comedi USB driver specific functions. 46 * comedi_usb_auto_config() - Configure/probe a comedi USB driver. 48 * @driver: comedi_driver struct 49 * @context: driver specific data, passed to comedi_auto_config() 54 struct comedi_driver *driver, comedi_usb_auto_config() 57 return comedi_auto_config(&intf->dev, driver, context); comedi_usb_auto_config() 62 * comedi_pci_auto_unconfig() - Unconfigure/disconnect a comedi USB driver. 74 * comedi_usb_driver_register() - Register a comedi USB driver. 102 * comedi_usb_driver_unregister() - Unregister a comedi USB driver. 53 comedi_usb_auto_config(struct usb_interface *intf, struct comedi_driver *driver, unsigned long context) comedi_usb_auto_config() argument
|
/linux-4.1.27/tools/usb/usbip/src/ |
H A D | usbip_unbind.c | 54 const char *driver; unbind_device() local 66 /* Check whether the device is using usbip-host driver. */ unbind_device() 67 driver = udev_device_get_driver(dev); unbind_device() 68 if (!driver || strcmp(driver, "usbip-host")) { unbind_device() 69 err("device is not bound to usbip-host driver"); unbind_device() 73 /* Unbind device from driver. */ unbind_device() 80 err("error unbinding device %s from driver", busid); unbind_device() 84 /* Notify driver of unbind. */ unbind_device()
|
H A D | usbip_bind.c | 62 err("error binding device %s to driver: %s", busid, bind_usbip() 70 /* buggy driver may cause dead lock */ unbind_other() 81 const char *driver; unbind_other() local 106 /* Get the device driver. */ unbind_other() 107 driver = udev_device_get_driver(dev); unbind_other() 108 if (!driver) { unbind_other() 109 /* No driver bound to this device. */ unbind_other() 113 if (!strncmp(USBIP_HOST_DRV_NAME, driver, unbind_other() 120 /* Unbind device from driver. */ unbind_other() 123 SYSFS_DRIVERS_NAME, driver, attr_name); unbind_other() 127 err("error unbinding device %s from driver", busid); unbind_other() 159 err("could not unbind driver from device on busid %s", busid); bind_device()
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
H A D | common.c | 2 * Samsung S5P/EXYNOS4 SoC Camera Subsystem driver 44 strlcpy(cap->driver, dev->driver->name, sizeof(cap->driver)); __fimc_vidioc_querycap() 45 strlcpy(cap->card, dev->driver->name, sizeof(cap->card)); __fimc_vidioc_querycap()
|
/linux-4.1.27/drivers/misc/ |
H A D | tifm_core.c | 2 * tifm_core.c - TI FlashMedia driver 49 driver); tifm_bus_match() 75 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_probe() 76 driver); tifm_device_probe() 80 if (dev->driver && drv->probe) { tifm_device_probe() 97 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_remove() 98 driver); tifm_device_remove() 100 if (dev->driver && drv->remove) { tifm_device_remove() 104 sock->dev.driver = NULL; tifm_device_remove() 116 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_suspend() 117 driver); tifm_device_suspend() 119 if (dev->driver && drv->suspend) tifm_device_suspend() 127 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_resume() 128 driver); tifm_device_resume() 130 if (dev->driver && drv->resume) tifm_device_resume() 320 drv->driver.bus = &tifm_bus_type; tifm_register_driver() 322 return driver_register(&drv->driver); tifm_register_driver() 328 driver_unregister(&drv->driver); tifm_unregister_driver() 369 MODULE_DESCRIPTION("TI FlashMedia core driver");
|
/linux-4.1.27/drivers/sbus/char/ |
H A D | uctrl.c | 242 if (UCTRL_STAT_TXNF_STA & sbus_readl(&driver->regs->uctrl_stat)) \ 246 sbus_writel(value, &driver->regs->uctrl_data); \ 255 if ((UCTRL_STAT_RXNE_STA & sbus_readl(&driver->regs->uctrl_stat)) == 0) \ 259 value = sbus_readl(&driver->regs->uctrl_data); \ 261 sbus_writel(UCTRL_STAT_RXNE_STA, &driver->regs->uctrl_stat); \ 264 static void uctrl_do_txn(struct uctrl_driver *driver, struct uctrl_txn *txn) uctrl_do_txn() argument 269 stat = sbus_readl(&driver->regs->uctrl_stat); uctrl_do_txn() 270 intr = sbus_readl(&driver->regs->uctrl_intr); uctrl_do_txn() 271 sbus_writel(stat, &driver->regs->uctrl_stat); uctrl_do_txn() 302 static void uctrl_get_event_status(struct uctrl_driver *driver) uctrl_get_event_status() argument 313 uctrl_do_txn(driver, &txn); uctrl_get_event_status() 316 driver->status.event_status = uctrl_get_event_status() 318 dprintk(("ev is %x\n", driver->status.event_status)); uctrl_get_event_status() 321 static void uctrl_get_external_status(struct uctrl_driver *driver) uctrl_get_external_status() argument 333 uctrl_do_txn(driver, &txn); uctrl_get_external_status() 336 driver->status.external_status = uctrl_get_external_status() 338 dprintk(("ex is %x\n", driver->status.external_status)); uctrl_get_external_status() 339 v = driver->status.external_status; uctrl_get_external_status() 426 .driver = {
|
/linux-4.1.27/drivers/vfio/ |
H A D | vfio.c | 39 #define DRIVER_DESC "VFIO - User Level meta-driver" 98 * IOMMU driver registration 102 struct vfio_iommu_driver *driver, *tmp; vfio_register_iommu_driver() local 104 driver = kzalloc(sizeof(*driver), GFP_KERNEL); vfio_register_iommu_driver() 105 if (!driver) vfio_register_iommu_driver() 108 driver->ops = ops; vfio_register_iommu_driver() 116 kfree(driver); vfio_register_iommu_driver() 121 list_add(&driver->vfio_next, &vfio.iommu_drivers_list); vfio_register_iommu_driver() 131 struct vfio_iommu_driver *driver; vfio_unregister_iommu_driver() local 134 list_for_each_entry(driver, &vfio.iommu_drivers_list, vfio_next) { vfio_unregister_iommu_driver() 135 if (driver->ops == ops) { vfio_unregister_iommu_driver() 136 list_del(&driver->vfio_next); vfio_unregister_iommu_driver() 138 kfree(driver); vfio_unregister_iommu_driver() 462 * - driver-less 463 * - bound to a vfio driver 464 * - bound to a whitelisted driver 467 * driver. The first is to test whether the device exists in the vfio 470 * a vfio driver to driver-less. 476 struct device_driver *drv = ACCESS_ONCE(dev->driver); vfio_dev_viable() 557 * vfio sub-driver should block the remove callback until vfio_iommu_group_notifier() 559 * stub driver, then it should be released and we don't vfio_iommu_group_notifier() 564 pr_debug("%s: Device %s, group %d binding to driver\n", vfio_iommu_group_notifier() 569 pr_debug("%s: Device %s, group %d bound to driver %s\n", vfio_iommu_group_notifier() 571 iommu_group_id(group->iommu_group), dev->driver->name); vfio_iommu_group_notifier() 575 pr_debug("%s: Device %s, group %d unbinding from driver %s\n", vfio_iommu_group_notifier() 577 iommu_group_id(group->iommu_group), dev->driver->name); vfio_iommu_group_notifier() 580 pr_debug("%s: Device %s, group %d unbound from driver\n", vfio_iommu_group_notifier() 588 * want a toggle to disable driver auto probe for this device. vfio_iommu_group_notifier() 609 * VFIO driver API 665 * be bound to a vfio driver. The driver implicitly holds a 724 * becomes non-viable; the device has a driver (until the unbind vfio_del_group_dev() 745 * bus driver. The driver may in turn need to request the vfio_del_group_dev() 747 * interval with counter to allow the driver to take escalating vfio_del_group_dev() 789 struct vfio_iommu_driver *driver; vfio_ioctl_check_extension() local 794 driver = container->iommu_driver; vfio_ioctl_check_extension() 800 * If no driver is set, poll all registered drivers for vfio_ioctl_check_extension() 802 * a driver is already set, further queries will be passed vfio_ioctl_check_extension() 803 * only to that driver. vfio_ioctl_check_extension() 805 if (!driver) { vfio_ioctl_check_extension() 807 list_for_each_entry(driver, &vfio.iommu_drivers_list, vfio_ioctl_check_extension() 809 if (!try_module_get(driver->ops->owner)) vfio_ioctl_check_extension() 812 ret = driver->ops->ioctl(NULL, vfio_ioctl_check_extension() 815 module_put(driver->ops->owner); vfio_ioctl_check_extension() 821 ret = driver->ops->ioctl(container->iommu_data, vfio_ioctl_check_extension() 832 struct vfio_iommu_driver *driver, __vfio_container_attach_groups() 839 ret = driver->ops->attach_group(data, group->iommu_group); __vfio_container_attach_groups() 849 driver->ops->detach_group(data, group->iommu_group); __vfio_container_attach_groups() 858 struct vfio_iommu_driver *driver; vfio_ioctl_set_iommu() local 877 list_for_each_entry(driver, &vfio.iommu_drivers_list, vfio_next) { vfio_ioctl_set_iommu() 880 if (!try_module_get(driver->ops->owner)) vfio_ioctl_set_iommu() 885 * so test which iommu driver reported support for this vfio_ioctl_set_iommu() 887 * magic, allowing a single driver to support multiple vfio_ioctl_set_iommu() 890 if (driver->ops->ioctl(NULL, VFIO_CHECK_EXTENSION, arg) <= 0) { vfio_ioctl_set_iommu() 891 module_put(driver->ops->owner); vfio_ioctl_set_iommu() 895 /* module reference holds the driver we're working on */ vfio_ioctl_set_iommu() 898 data = driver->ops->open(arg); vfio_ioctl_set_iommu() 901 module_put(driver->ops->owner); vfio_ioctl_set_iommu() 905 ret = __vfio_container_attach_groups(container, driver, data); vfio_ioctl_set_iommu() 907 container->iommu_driver = driver; vfio_ioctl_set_iommu() 910 driver->ops->release(data); vfio_ioctl_set_iommu() 911 module_put(driver->ops->owner); vfio_ioctl_set_iommu() 928 struct vfio_iommu_driver *driver; vfio_fops_unl_ioctl() local 948 driver = container->iommu_driver; vfio_fops_unl_ioctl() 951 if (driver) /* passthrough all unrecognized ioctls */ vfio_fops_unl_ioctl() 952 ret = driver->ops->ioctl(data, cmd, arg); vfio_fops_unl_ioctl() 998 * Once an iommu driver is set, we optionally pass read/write/mmap 999 * on to the driver, allowing management interfaces beyond ioctl. 1005 struct vfio_iommu_driver *driver; vfio_fops_read() local 1010 driver = container->iommu_driver; vfio_fops_read() 1011 if (likely(driver && driver->ops->read)) vfio_fops_read() 1012 ret = driver->ops->read(container->iommu_data, vfio_fops_read() 1024 struct vfio_iommu_driver *driver; vfio_fops_write() local 1029 driver = container->iommu_driver; vfio_fops_write() 1030 if (likely(driver && driver->ops->write)) vfio_fops_write() 1031 ret = driver->ops->write(container->iommu_data, vfio_fops_write() 1042 struct vfio_iommu_driver *driver; vfio_fops_mmap() local 1047 driver = container->iommu_driver; vfio_fops_mmap() 1048 if (likely(driver && driver->ops->mmap)) vfio_fops_mmap() 1049 ret = driver->ops->mmap(container->iommu_data, vma); vfio_fops_mmap() 1075 struct vfio_iommu_driver *driver; __vfio_group_unset_container() local 1079 driver = container->iommu_driver; __vfio_group_unset_container() 1080 if (driver) __vfio_group_unset_container() 1081 driver->ops->detach_group(container->iommu_data, __vfio_group_unset_container() 1088 if (driver && list_empty(&container->group_list)) { __vfio_group_unset_container() 1089 driver->ops->release(container->iommu_data); __vfio_group_unset_container() 1090 module_put(driver->ops->owner); __vfio_group_unset_container() 1136 struct vfio_iommu_driver *driver; vfio_group_set_container() local 1157 driver = container->iommu_driver; vfio_group_set_container() 1158 if (driver) { vfio_group_set_container() 1159 ret = driver->ops->attach_group(container->iommu_data, vfio_group_set_container() 1458 * - setting an IOMMU driver for a container. 831 __vfio_container_attach_groups(struct vfio_container *container, struct vfio_iommu_driver *driver, void *data) __vfio_container_attach_groups() argument
|
/linux-4.1.27/drivers/leds/ |
H A D | leds-rb532.c | 2 * LEDs driver for the "User LED" on Routerboard532 7 * rb-diag.c (my own standalone driver for both LED and 54 .driver = {
|
/linux-4.1.27/drivers/iio/accel/ |
H A D | st_accel_spi.c | 2 * STMicroelectronics accelerometers driver 65 .driver = { 76 MODULE_DESCRIPTION("STMicroelectronics accelerometers spi driver");
|
/linux-4.1.27/drivers/iio/gyro/ |
H A D | st_gyro_spi.c | 2 * STMicroelectronics gyroscopes driver 62 .driver = { 73 MODULE_DESCRIPTION("STMicroelectronics gyroscopes spi driver");
|
/linux-4.1.27/drivers/iio/magnetometer/ |
H A D | st_magn_spi.c | 2 * STMicroelectronics magnetometers driver 59 .driver = { 70 MODULE_DESCRIPTION("STMicroelectronics magnetometers spi driver");
|
/linux-4.1.27/drivers/iio/pressure/ |
H A D | st_pressure_spi.c | 2 * STMicroelectronics pressures driver 58 .driver = { 69 MODULE_DESCRIPTION("STMicroelectronics pressures spi driver");
|
/linux-4.1.27/drivers/net/appletalk/ |
H A D | cops_ffdrv.h | 3 * The firmware this driver downloads into the Localtalk card is a 5 * side driver and the routine that loads this data into the card are. 21 /* cops_ffdrv.h: LocalTalk driver firmware dump for Linux.
|
H A D | cops_ltdrv.h | 2 * The firmware this driver downloads into the Localtalk card is a 4 * side driver and the routine that loads this data into the card are. 20 /* cops_ltdrv.h: LocalTalk driver firmware dump for Linux.
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
H A D | hplance.h | 1 /* Random defines and structures for the HP Lance driver. 3 * Based on the Sun Lance driver and the NetBSD HP Lance driver
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-generic.c | 1 /* rtc-generic: RTC driver using the generic RTC abstraction 52 .driver = { 61 MODULE_DESCRIPTION("Generic RTC driver");
|
H A D | rtc-starfire.c | 1 /* rtc-starfire.c: Starfire platform RTC driver. 15 MODULE_DESCRIPTION("Starfire RTC driver"); 55 .driver = {
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | Makefile | 2 # Makefile for the drm device driver. This driver provides support for the 9 # core driver code
|