/drivers/base/power/ |
D | generic_ops.c | 24 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_idle() 47 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_suspend() 66 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_resume() 85 struct device_driver *drv = dev->driver; in pm_generic_prepare() 100 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend_noirq() 112 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend_late() 124 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend() 136 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_freeze_noirq() 148 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_freeze_late() 160 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_freeze() [all …]
|
/drivers/gpu/drm/gma500/ |
D | mmu.c | 84 struct psb_mmu_driver *driver; member 110 static inline void psb_mmu_clflush(struct psb_mmu_driver *driver, in psb_mmu_clflush() argument 113 if (!driver->has_clflush) in psb_mmu_clflush() 121 static void psb_page_clflush(struct psb_mmu_driver *driver, struct page* page) in psb_page_clflush() argument 123 uint32_t clflush_add = driver->clflush_add >> PAGE_SHIFT; in psb_page_clflush() 138 static void psb_pages_clflush(struct psb_mmu_driver *driver, in psb_pages_clflush() argument 143 if (!driver->has_clflush) in psb_pages_clflush() 147 psb_page_clflush(driver, *page++); in psb_pages_clflush() 150 static void psb_mmu_flush_pd_locked(struct psb_mmu_driver *driver, in psb_mmu_flush_pd_locked() argument 153 atomic_set(&driver->needs_tlbflush, 0); in psb_mmu_flush_pd_locked() [all …]
|
/drivers/usb/serial/ |
D | bus.c | 22 struct usb_serial_driver *driver; in usb_serial_device_match() local 33 driver = to_usb_serial_driver(drv); in usb_serial_device_match() 35 if (driver == port->serial->type) in usb_serial_device_match() 53 struct usb_serial_driver *driver; in usb_serial_device_probe() local 69 driver = port->serial->type; in usb_serial_device_probe() 70 if (driver->port_probe) { in usb_serial_device_probe() 71 retval = driver->port_probe(port); in usb_serial_device_probe() 78 if (driver->port_remove) in usb_serial_device_probe() 79 retval = driver->port_remove(port); in usb_serial_device_probe() 87 driver->description, minor); in usb_serial_device_probe() [all …]
|
/drivers/usb/gadget/ |
D | udc-core.c | 41 struct usb_gadget_driver *driver; member 129 struct usb_gadget_driver *driver) in usb_gadget_udc_start() argument 131 return gadget->ops->udc_start(gadget, driver); in usb_gadget_udc_start() 147 struct usb_gadget_driver *driver) in usb_gadget_udc_stop() argument 149 gadget->ops->udc_stop(gadget, driver); in usb_gadget_udc_stop() 272 udc->driver->disconnect(udc->gadget); in usb_gadget_remove_driver() 273 udc->driver->unbind(udc->gadget); in usb_gadget_remove_driver() 276 udc->driver = NULL; in usb_gadget_remove_driver() 277 udc->dev.driver = NULL; in usb_gadget_remove_driver() 278 udc->gadget->dev.driver = NULL; in usb_gadget_remove_driver() [all …]
|
/drivers/tty/ |
D | tty_io.c | 250 #define TTY_NUMBER(tty) ((tty)->index + (tty)->driver->name_base) 305 if (tty->driver->type == TTY_DRIVER_TYPE_PTY && in check_tty_count() 306 tty->driver->subtype == PTY_TYPE_SLAVE && in check_tty_count() 847 if (on_exit && tty->driver->type != TTY_DRIVER_TYPE_PTY) { in disassociate_ctty() 1207 tty->driver->name); in tty_write() 1249 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name() argument 1251 int i = index + driver->name_base; in pty_line_name() 1254 driver->subtype == PTY_TYPE_SLAVE ? "tty" : driver->name, in pty_line_name() 1269 static void tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name() argument 1271 if (driver->flags & TTY_DRIVER_UNNUMBERED_NODE) in tty_line_name() [all …]
|
/drivers/pci/pcie/ |
D | portdrv_pci.c | 232 struct pcie_port_service_driver *driver; in error_detected_iter() local 238 if (device->bus == &pcie_port_bus_type && device->driver) { in error_detected_iter() 239 driver = to_service_driver(device->driver); in error_detected_iter() 240 if (!driver || in error_detected_iter() 241 !driver->err_handler || in error_detected_iter() 242 !driver->err_handler->error_detected) in error_detected_iter() 248 status = driver->err_handler->error_detected( in error_detected_iter() 271 struct pcie_port_service_driver *driver; in mmio_enabled_iter() local 276 if (device->bus == &pcie_port_bus_type && device->driver) { in mmio_enabled_iter() 277 driver = to_service_driver(device->driver); in mmio_enabled_iter() [all …]
|
D | portdrv_core.c | 414 if ((dev->bus == &pcie_port_bus_type) && dev->driver) { in suspend_iter() 415 service_driver = to_service_driver(dev->driver); in suspend_iter() 436 (dev->driver)) { in resume_iter() 437 service_driver = to_service_driver(dev->driver); in resume_iter() 488 struct pcie_port_service_driver *driver; in pcie_port_probe_service() local 491 if (!dev || !dev->driver) in pcie_port_probe_service() 494 driver = to_service_driver(dev->driver); in pcie_port_probe_service() 495 if (!driver || !driver->probe) in pcie_port_probe_service() 499 status = driver->probe(pciedev); in pcie_port_probe_service() 502 driver->name); in pcie_port_probe_service() [all …]
|
/drivers/usb/core/ |
D | driver.c | 40 struct device_driver *driver, in usb_store_new_id() argument 72 retval = driver_attach(driver); in usb_store_new_id() 97 static ssize_t show_dynids(struct device_driver *driver, char *buf) in show_dynids() argument 99 struct usb_driver *usb_drv = to_usb_driver(driver); in show_dynids() 104 static ssize_t store_new_id(struct device_driver *driver, in store_new_id() argument 107 struct usb_driver *usb_drv = to_usb_driver(driver); in store_new_id() 109 return usb_store_new_id(&usb_drv->dynids, driver, buf, count); in store_new_id() 122 store_remove_id(struct device_driver *driver, const char *buf, size_t count) in store_remove_id() argument 125 struct usb_driver *usb_driver = to_usb_driver(driver); in store_remove_id() 157 error = driver_create_file(&usb_drv->drvwrap.driver, in usb_create_newid_files() [all …]
|
/drivers/bluetooth/ |
D | Kconfig | 6 tristate "HCI USB driver" 9 Bluetooth HCI USB driver. 10 This driver is required if you want to use Bluetooth devices with 17 tristate "HCI SDIO driver" 20 Bluetooth HCI SDIO driver. 21 This driver is required if you want to use Bluetooth device with 28 tristate "HCI UART driver" 31 Bluetooth HCI UART driver. 32 This driver is required if you want to use Bluetooth devices with 33 serial port interface. You will also need this driver if you have [all …]
|
/drivers/video/omap2/dss/ |
D | display-sysfs.c | 55 r = dssdev->driver->enable(dssdev); in display_enabled_store() 59 dssdev->driver->disable(dssdev); in display_enabled_store() 71 dssdev->driver->get_te ? in display_tear_show() 72 dssdev->driver->get_te(dssdev) : 0); in display_tear_show() 82 if (!dssdev->driver->enable_te || !dssdev->driver->get_te) in display_tear_store() 89 r = dssdev->driver->enable_te(dssdev, te); in display_tear_store() 102 if (!dssdev->driver->get_timings) in display_timings_show() 105 dssdev->driver->get_timings(dssdev, &t); in display_timings_show() 120 if (!dssdev->driver->set_timings || !dssdev->driver->check_timings) in display_timings_store() 139 r = dssdev->driver->check_timings(dssdev, &t); in display_timings_store() [all …]
|
/drivers/pinctrl/ |
D | Kconfig | 34 Select this to enable the ABx500 family IC GPIO driver 37 bool "AB8500 pin controller driver" 41 bool "AB8540 pin controller driver" 45 bool "AB9540 pin controller driver" 49 bool "AB8505 pin controller driver" 53 bool "AT91 pinctrl driver" 59 Say Y here to enable the at91 pinctrl driver 72 bool "IMX35 pinctrl driver" 77 Say Y here to enable the imx35 pinctrl driver 80 bool "IMX51 pinctrl driver" [all …]
|
/drivers/pwm/ |
D | Kconfig | 14 within the Linux kernel. On the driver side it provides an API 21 allows only a single driver implementing the required API. Not 35 Generic PWM framework driver for Analog Baseband AB8500. 37 To compile this driver as a module, choose M here: the module 44 Generic PWM framework driver for Atmel Timer Counter Block. 49 To compile this driver as a module, choose M here: the module 56 Generic PWM framework driver for Blackfin. 58 To compile this driver as a module, choose M here: the module 65 Generic PWM framework driver for i.MX. 67 To compile this driver as a module, choose M here: the module [all …]
|
/drivers/net/wireless/hostap/ |
D | Kconfig | 18 Shared driver code for IEEE 802.11b wireless cards based on 19 Intersil Prism2/2.5/3 chipset. This driver supports so called 24 Host AP driver configuration and tools. This site includes 28 This option includes the base Host AP driver code that is shared by 30 PLX/PCI/CS version of the driver to actually use the driver. 32 The driver can be compiled as a module and it will be called 36 bool "Support downloading firmware images with Host AP driver" 39 Configure Host AP driver to include support for firmware image 52 Allow Host AP driver to write firmware images to the non-volatile 61 tristate "Host AP driver for Prism2/2.5/3 in PLX9052 PCI adaptors" [all …]
|
/drivers/gpu/drm/ |
D | drm_usb.c | 7 struct drm_driver *driver) in drm_get_usb_dev() argument 25 ret = drm_fill_in_dev(dev, NULL, driver); in drm_get_usb_dev() 40 if (dev->driver->load) { in drm_get_usb_dev() 41 ret = dev->driver->load(dev, 0); in drm_get_usb_dev() 52 list_add_tail(&dev->driver_item, &driver->device_list); in drm_get_usb_dev() 57 driver->name, driver->major, driver->minor, driver->patchlevel, in drm_get_usb_dev() 58 driver->date, dev->primary->index); in drm_get_usb_dev() 97 int drm_usb_init(struct drm_driver *driver, struct usb_driver *udriver) in drm_usb_init() argument 102 INIT_LIST_HEAD(&driver->device_list); in drm_usb_init() 103 driver->kdriver.usb = udriver; in drm_usb_init() [all …]
|
D | drm_platform.c | 43 struct drm_driver *driver) in drm_get_platform_dev() argument 59 ret = drm_fill_in_dev(dev, NULL, driver); in drm_get_platform_dev() 76 if (dev->driver->load) { in drm_get_platform_dev() 77 ret = dev->driver->load(dev, 0); in drm_get_platform_dev() 90 list_add_tail(&dev->driver_item, &driver->device_list); in drm_get_platform_dev() 95 driver->name, driver->major, driver->minor, driver->patchlevel, in drm_get_platform_dev() 96 driver->date, dev->primary->index); in drm_get_platform_dev() 185 int drm_platform_init(struct drm_driver *driver, struct platform_device *platform_device) in drm_platform_init() argument 189 driver->kdriver.platform_device = platform_device; in drm_platform_init() 190 driver->bus = &drm_platform_bus; in drm_platform_init() [all …]
|
/drivers/misc/mei/ |
D | bus.c | 32 #define to_mei_cl_driver(d) container_of(d, struct mei_cl_driver, driver) 38 struct mei_cl_driver *driver = to_mei_cl_driver(drv); in mei_cl_device_match() local 44 if (!driver || !driver->id_table) in mei_cl_device_match() 47 id = driver->id_table; in mei_cl_device_match() 62 struct mei_cl_driver *driver; in mei_cl_device_probe() local 68 driver = to_mei_cl_driver(dev->driver); in mei_cl_device_probe() 69 if (!driver || !driver->probe) in mei_cl_device_probe() 76 return driver->probe(device, &id); in mei_cl_device_probe() 82 struct mei_cl_driver *driver; in mei_cl_device_remove() local 84 if (!device || !dev->driver) in mei_cl_device_remove() [all …]
|
/drivers/char/agp/ |
D | backend.c | 144 if (bridge->driver->needs_scratch_page) { in agp_backend_initialize() 145 struct page *page = bridge->driver->agp_alloc_page(bridge); in agp_backend_initialize() 156 bridge->scratch_page = bridge->driver->mask_memory(bridge, in agp_backend_initialize() 160 size_value = bridge->driver->fetch_size(); in agp_backend_initialize() 166 if (bridge->driver->create_gatt_table(bridge)) { in agp_backend_initialize() 185 if (bridge->driver->configure()) { in agp_backend_initialize() 196 if (bridge->driver->needs_scratch_page) { in agp_backend_initialize() 199 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_UNMAP); in agp_backend_initialize() 200 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_FREE); in agp_backend_initialize() 203 bridge->driver->free_gatt_table(bridge); in agp_backend_initialize() [all …]
|
/drivers/i2c/ |
D | i2c-core.c | 57 static int i2c_detect(struct i2c_adapter *adapter, struct i2c_driver *driver); 75 struct i2c_driver *driver; in i2c_device_match() local 88 driver = to_i2c_driver(drv); in i2c_device_match() 90 if (driver->id_table) in i2c_device_match() 91 return i2c_match_id(driver->id_table, client) != NULL; in i2c_device_match() 236 struct i2c_driver *driver; in i2c_device_probe() local 242 driver = to_i2c_driver(dev->driver); in i2c_device_probe() 243 if (!driver->probe || !driver->id_table) in i2c_device_probe() 245 client->driver = driver; in i2c_device_probe() 251 status = driver->probe(client, i2c_match_id(driver->id_table, client)); in i2c_device_probe() [all …]
|
/drivers/vfio/ |
D | vfio.c | 95 struct vfio_iommu_driver *driver, *tmp; in vfio_register_iommu_driver() local 97 driver = kzalloc(sizeof(*driver), GFP_KERNEL); in vfio_register_iommu_driver() 98 if (!driver) in vfio_register_iommu_driver() 101 driver->ops = ops; in vfio_register_iommu_driver() 109 kfree(driver); in vfio_register_iommu_driver() 114 list_add(&driver->vfio_next, &vfio.iommu_drivers_list); in vfio_register_iommu_driver() 124 struct vfio_iommu_driver *driver; in vfio_unregister_iommu_driver() local 127 list_for_each_entry(driver, &vfio.iommu_drivers_list, vfio_next) { in vfio_unregister_iommu_driver() 128 if (driver->ops == ops) { in vfio_unregister_iommu_driver() 129 list_del(&driver->vfio_next); in vfio_unregister_iommu_driver() [all …]
|
/drivers/net/hamradio/ |
D | Kconfig | 2 tristate "Serial port KISS driver" 16 To compile this driver as a module, choose M here: the module 20 tristate "Serial port 6PACK driver" 30 Note that this driver is still experimental and might cause 32 driver, read <file:Documentation/networking/6pack.txt>. 34 To compile this driver as a module, choose M here: the module 38 tristate "BPQ Ethernet driver" 48 tristate "High-speed (DMA) SCC driver for AX.25" 51 This is a driver for high-speed SCC boards, i.e. those supporting 57 Currently, this driver supports Ottawa PI/PI2, Paccomm/Gracilis [all …]
|
/drivers/iio/dac/ |
D | Kconfig | 7 tristate "Analog Devices AD5064 and similar multi-channel DAC driver" 14 To compile this driver as a module, choose M here: the 18 tristate "Analog Devices Analog Devices AD5360/61/62/63/70/71/73 DAC driver" 25 To compile this driver as module choose M here: the module will be called 29 tristate "Analog Devices AD5380/81/82/83/84/90/91/92 DAC driver" 38 To compile this driver as module choose M here: the module will be called 42 tristate "Analog Devices AD5421 DAC driver" 48 To compile this driver as module choose M here: the module will be called 52 tristate "Analog Devices AD5624/44/64R DAC spi driver" 56 AD5664R converters (DAC). This driver uses the common SPI interface. [all …]
|
/drivers/video/backlight/ |
D | Kconfig | 41 SPI driver for Epson L4F00242T03. This provides basic support 48 SPI driver for Samsung LMS283GF05. This provides basic support 56 power control driver for it. The panel starts up in power 57 off state, so you need this driver in order to see any 67 chip then say y to include a driver for it. 74 then say y to include a power driver for it. 89 then say y to include a power driver for it. 94 This driver provides a platform-device registered LCD power 101 If you have an Sharp SL-6000 Zaurus say Y to enable a driver 110 say Y to enable LCD control driver. [all …]
|
/drivers/pci/ |
D | pci-driver.c | 75 retval = driver_attach(&drv->driver); in pci_add_dynid() 101 store_new_id(struct device_driver *driver, const char *buf, size_t count) in store_new_id() argument 103 struct pci_driver *pdrv = to_pci_driver(driver); in store_new_id() 148 store_remove_id(struct device_driver *driver, const char *buf, size_t count) in store_remove_id() argument 151 struct pci_driver *pdrv = to_pci_driver(driver); in store_remove_id() 265 pci_dev->driver = pci_drv; in local_pci_probe() 268 pci_dev->driver = NULL; in local_pci_probe() 314 if (!pci_dev->driver && drv->probe) { in __pci_device_probe() 332 drv = to_pci_driver(dev->driver); in pci_device_probe() 345 struct pci_driver * drv = pci_dev->driver; in pci_device_remove() [all …]
|
/drivers/char/hw_random/ |
D | Kconfig | 11 To compile this driver as a module, choose M here: the 27 This driver provides kernel-side support for a generic Random 32 To compile this driver as a module, choose M here: the 42 This driver provides kernel-side support for the Random Number 45 To compile this driver as a module, choose M here: the 55 This driver provides kernel-side support for the Random Number 58 To compile this driver as a module, choose M here: the 68 This driver provides kernel-side support for the Random Number 71 To compile this driver as a module, choose M here: the 81 This driver provides kernel-side support for the Random Number [all …]
|
/drivers/uio/ |
D | Kconfig | 4 Enable this to allow the userspace driver core code to be 7 to be written in userspace. Note that a small kernel driver 15 tristate "generic Hilscher CIF Card driver" 19 driver requires a userspace component called cif that handles 23 To compile this driver as a module, choose M here: the module 27 tristate "Userspace I/O platform driver" 29 Generic platform driver for Userspace I/O devices. 34 tristate "Userspace I/O platform driver with generic IRQ handling" 36 Platform driver for Userspace I/O devices, including generic 39 This kernel driver requires that the matching userspace driver [all …]
|