| /linux/drivers/phy/broadcom/ |
| H A D | phy-bcm-ns2-usbdrd.c | 67 struct ns2_phy_driver *driver; member 79 struct ns2_phy_driver *driver) in pll_lock_stat() argument 83 return readl_poll_timeout_atomic(driver->icfgdrd_regs + usb_reg, in pll_lock_stat() 91 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_init() local 94 val = readl(driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init() 103 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init() 111 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_poweroff() local 114 val = readl(driver->crmu_usb2_ctrl); in ns2_drd_phy_poweroff() 116 writel(val, driver->crmu_usb2_ctrl); in ns2_drd_phy_poweroff() 118 val = readl(driver->crmu_usb2_ctrl); in ns2_drd_phy_poweroff() [all …]
|
| /linux/tools/testing/selftests/vfio/lib/ |
| H A D | vfio_pci_driver.c | 22 VFIO_ASSERT_NULL(device->driver.ops); in vfio_pci_driver_probe() 30 device->driver.ops = ops; in vfio_pci_driver_probe() 34 static void vfio_check_driver_op(struct vfio_pci_driver *driver, void *op, in vfio_check_driver_op() argument 37 VFIO_ASSERT_NOT_NULL(driver->ops); in vfio_check_driver_op() 39 VFIO_ASSERT_EQ(driver->initialized, op != driver->ops->init); in vfio_check_driver_op() 40 VFIO_ASSERT_EQ(driver->memcpy_in_progress, op == driver->ops->memcpy_wait); in vfio_check_driver_op() 50 struct vfio_pci_driver *driver = &device->driver; in vfio_pci_driver_init() local 52 VFIO_ASSERT_NOT_NULL(driver->region.vaddr); in vfio_pci_driver_init() 53 VFIO_CHECK_DRIVER_OP(driver, init); in vfio_pci_driver_init() 55 driver->ops->init(device); in vfio_pci_driver_init() [all …]
|
| /linux/Documentation/networking/ |
| H A D | mac80211-auth-assoc-deauth.txt | 11 participant driver 17 mac80211->driver: sta_state(AP, not-exists) 18 mac80211->driver: bss_info_changed(clear BSSID) 20 note over mac80211,driver 26 mac80211->driver: config(channel, channel type) 27 mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap) 28 mac80211->driver: sta_state(AP, exists) 31 mac80211->driver: TX directed probe request 32 driver->mac80211: RX probe response 35 mac80211->driver: TX auth frame [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | bus.c | 20 const struct usb_serial_driver *driver = to_usb_serial_driver(drv); in usb_serial_device_match() local 26 if (driver == port->serial->type) in usb_serial_device_match() 35 struct usb_serial_driver *driver; in usb_serial_device_probe() local 45 driver = port->serial->type; in usb_serial_device_probe() 46 if (driver->port_probe) { in usb_serial_device_probe() 47 retval = driver->port_probe(port); in usb_serial_device_probe() 64 driver->description, minor); in usb_serial_device_probe() 69 if (driver->port_remove) in usb_serial_device_probe() 70 driver->port_remove(port); in usb_serial_device_probe() 80 struct usb_serial_driver *driver; in usb_serial_device_remove() local [all …]
|
| /linux/drivers/vfio/ |
| H A D | container.c | 81 const struct vfio_iommu_driver *driver) in vfio_iommu_driver_allowed() argument 85 return container->noiommu == (driver->ops == &vfio_noiommu_ops); in vfio_iommu_driver_allowed() 93 struct vfio_iommu_driver *driver, *tmp; in vfio_register_iommu_driver() local 98 driver = kzalloc_obj(*driver); in vfio_register_iommu_driver() 99 if (!driver) in vfio_register_iommu_driver() 102 driver->ops = ops; in vfio_register_iommu_driver() 110 kfree(driver); in vfio_register_iommu_driver() 115 list_add(&driver->vfio_next, &vfio.iommu_drivers_list); in vfio_register_iommu_driver() 125 struct vfio_iommu_driver *driver; in vfio_unregister_iommu_driver() local 128 list_for_each_entry(driver, &vfio.iommu_drivers_list, vfio_next) { in vfio_unregister_iommu_driver() [all …]
|
| /linux/drivers/hid/intel-ish-hid/ishtp/ |
| H A D | bus.c | 23 #define to_ishtp_cl_driver(d) container_of(d, struct ishtp_cl_driver, driver) 216 struct ishtp_cl_driver *driver; in ishtp_cl_device_probe() local 221 driver = to_ishtp_cl_driver(dev->driver); in ishtp_cl_device_probe() 222 if (!driver || !driver->probe) in ishtp_cl_device_probe() 225 return driver->probe(device); in ishtp_cl_device_probe() 242 struct ishtp_cl_driver *driver = to_ishtp_cl_driver(drv); in ishtp_cl_bus_match() local 247 for (id = driver->id; !guid_is_null(&id->guid); id++) { in ishtp_cl_bus_match() 269 struct ishtp_cl_driver *driver = to_ishtp_cl_driver(dev->driver); in ishtp_cl_device_remove() local 276 if (driver->remove) in ishtp_cl_device_remove() 277 driver->remove(device); in ishtp_cl_device_remove() [all …]
|
| /linux/drivers/phy/marvell/ |
| H A D | Kconfig | 12 tristate "Marvell Berlin SATA PHY driver" 28 tristate "Marvell A3700 comphy driver" 35 This driver allows to control the comphy, a hardware block providing 40 tristate "Marvell A3700 UTMI driver" 46 Enable this to support Marvell A3700 UTMI PHY driver. 49 tristate "Marvell Armada 38x comphy driver" 54 This driver allows to control the comphy, an hardware block providing 59 tristate "Marvell CP110 comphy driver" 65 This driver allows to control the comphy, an hardware block providing 71 tristate "Marvell CP110 UTMI driver" [all …]
|
| /linux/arch/xtensa/platforms/iss/ |
| H A D | console.c | 106 struct tty_driver *driver; in rs_init() local 109 driver = tty_alloc_driver(SERIAL_MAX_NUM_LINES, TTY_DRIVER_REAL_RAW); in rs_init() 110 if (IS_ERR(driver)) in rs_init() 111 return PTR_ERR(driver); in rs_init() 117 driver->driver_name = "iss_serial"; in rs_init() 118 driver->name = "ttyS"; in rs_init() 119 driver->major = TTY_MAJOR; in rs_init() 120 driver->minor_start = 64; in rs_init() 121 driver->type = TTY_DRIVER_TYPE_SERIAL; in rs_init() 122 driver->subtype = SERIAL_TYPE_NORMAL; in rs_init() [all …]
|
| /linux/drivers/tty/ |
| H A D | ttynull.c | 64 struct tty_driver *driver; in ttynull_init() local 67 driver = tty_alloc_driver(1, in ttynull_init() 71 if (IS_ERR(driver)) in ttynull_init() 72 return PTR_ERR(driver); in ttynull_init() 77 driver->driver_name = "ttynull"; in ttynull_init() 78 driver->name = "ttynull"; in ttynull_init() 79 driver->type = TTY_DRIVER_TYPE_CONSOLE; in ttynull_init() 80 driver->init_termios = tty_std_termios; in ttynull_init() 81 driver->init_termios.c_oflag = OPOST | OCRNL | ONOCR | ONLRET; in ttynull_init() 82 tty_set_operations(driver, &ttynull_ops); in ttynull_init() [all …]
|
| /linux/drivers/nfc/nfcmrvl/ |
| H A D | Kconfig | 5 The core driver to support Marvell NFC devices. 7 This driver is required if you want to support 11 tristate "Marvell NFC-over-USB driver" 15 Marvell NFC-over-USB driver. 17 This driver provides support for Marvell NFC-over-USB devices: 20 Say Y here to compile support for Marvell NFC-over-USB driver 24 tristate "Marvell NFC-over-UART driver" 28 Marvell NFC-over-UART driver. 30 This driver provides support for Marvell NFC-over-UART devices 32 Say Y here to compile support for Marvell NFC-over-UART driver [all …]
|
| /linux/drivers/usb/core/ |
| H A D | driver.c | 44 struct device_driver *driver, in usb_store_new_id() argument 102 retval = driver_attach(driver); in usb_store_new_id() 132 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show() argument 134 struct usb_driver *usb_drv = to_usb_driver(driver); in new_id_show() 139 static ssize_t new_id_store(struct device_driver *driver, in new_id_store() argument 142 struct usb_driver *usb_drv = to_usb_driver(driver); in new_id_store() 144 return usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, driver, buf, count); in new_id_store() 151 static ssize_t remove_id_store(struct device_driver *driver, const char *buf, in remove_id_store() argument 155 struct usb_driver *usb_driver = to_usb_driver(driver); in remove_id_store() 178 static ssize_t remove_id_show(struct device_driver *driver, char *buf) in remove_id_show() argument [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | console.rst | 9 This type will be called 'system driver', and only one system driver is allowed 10 to exist. The system driver is persistent and it can never be unloaded, though 14 'modular driver' by this document. Multiple modular drivers can coexist at 15 any time with each driver sharing the console with other drivers including 16 the system driver. However, modular drivers cannot take over the console 17 that is currently occupied by another modular driver. (Exception: Drivers that 19 of driver occupying the consoles.) They can only take over the console that is 20 occupied by the system driver. In the same token, if the modular driver is 21 released by the console, the system driver will take over. 25 do_take_over_console() - load and bind driver to console layer [all …]
|
| /linux/lib/kunit/ |
| H A D | device.c | 34 const struct device_driver *driver; member 84 struct device_driver *driver; in kunit_driver_create() local 87 driver = kunit_kzalloc(test, sizeof(*driver), GFP_KERNEL); in kunit_driver_create() 89 if (!driver) in kunit_driver_create() 92 driver->name = kunit_kstrdup_const(test, name, GFP_KERNEL); in kunit_driver_create() 93 driver->bus = &kunit_bus_type; in kunit_driver_create() 94 driver->owner = THIS_MODULE; in kunit_driver_create() 96 err = driver_register(driver); in kunit_driver_create() 98 kunit_kfree(test, driver); in kunit_driver_create() 102 kunit_add_action(test, driver_unregister_wrapper, driver); in kunit_driver_create() [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | display-sysfs.c | 51 r = dssdev->driver->enable(dssdev); in display_enabled_store() 55 dssdev->driver->disable(dssdev); in display_enabled_store() 64 dssdev->driver->get_te ? in display_tear_show() 65 dssdev->driver->get_te(dssdev) : 0); in display_tear_show() 74 if (!dssdev->driver->enable_te || !dssdev->driver->get_te) in display_tear_store() 81 r = dssdev->driver->enable_te(dssdev, te); in display_tear_store() 92 if (!dssdev->driver->get_timings) in display_timings_show() 95 dssdev->driver->get_timings(dssdev, &t); in display_timings_show() 109 if (!dssdev->driver->set_timings || !dssdev->driver->check_timings) in display_timings_store() 128 r = dssdev->driver->check_timings(dssdev, &t); in display_timings_store() [all …]
|
| /linux/drivers/char/agp/ |
| H A D | backend.c | 146 if (bridge->driver->needs_scratch_page) { in agp_backend_initialize() 147 struct page *page = bridge->driver->agp_alloc_page(bridge); in agp_backend_initialize() 158 bridge->scratch_page = bridge->driver->mask_memory(bridge, in agp_backend_initialize() 162 size_value = bridge->driver->fetch_size(); in agp_backend_initialize() 168 if (bridge->driver->create_gatt_table(bridge)) { in agp_backend_initialize() 187 if (bridge->driver->configure()) { in agp_backend_initialize() 198 if (bridge->driver->needs_scratch_page) { in agp_backend_initialize() 201 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_UNMAP); in agp_backend_initialize() 202 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_FREE); in agp_backend_initialize() 205 bridge->driver->free_gatt_table(bridge); in agp_backend_initialize() [all …]
|
| /linux/arch/m68k/emu/ |
| H A D | nfcon.c | 128 struct tty_driver *driver; in nfcon_init() local 135 driver = tty_alloc_driver(1, TTY_DRIVER_REAL_RAW); in nfcon_init() 136 if (IS_ERR(driver)) in nfcon_init() 137 return PTR_ERR(driver); in nfcon_init() 141 driver->driver_name = "nfcon"; in nfcon_init() 142 driver->name = "nfcon"; in nfcon_init() 143 driver->type = TTY_DRIVER_TYPE_SYSTEM; in nfcon_init() 144 driver->subtype = SYSTEM_TYPE_TTY; in nfcon_init() 145 driver->init_termios = tty_std_termios; in nfcon_init() 147 tty_set_operations(driver, &nfcon_tty_ops); in nfcon_init() [all …]
|
| /linux/arch/s390/pci/ |
| H A D | pci_event.c | 75 static bool is_driver_supported(struct pci_driver *driver) in is_driver_supported() argument 77 if (!driver || !driver->err_handler) in is_driver_supported() 79 if (!driver->err_handler->error_detected) in is_driver_supported() 85 struct pci_driver *driver) in zpci_event_notify_error_detected() argument 89 ers_res = driver->err_handler->error_detected(pdev, pdev->error_state); in zpci_event_notify_error_detected() 100 struct pci_driver *driver) in zpci_event_do_error_state_clear() argument 118 if (driver->err_handler->mmio_enabled) in zpci_event_do_error_state_clear() 119 ers_res = driver->err_handler->mmio_enabled(pdev); in zpci_event_do_error_state_clear() 146 struct pci_driver *driver) in zpci_event_do_reset() argument 157 if (driver->err_handler->slot_reset) in zpci_event_do_reset() [all …]
|
| /linux/drivers/pci/endpoint/functions/ |
| H A D | Kconfig | 7 tristate "PCI Endpoint Test driver" 12 Enable this configuration option to enable the test driver 15 If in doubt, say "N" to disable Endpoint test driver. 18 tristate "PCI Endpoint NTB driver" 23 Bridge (NTB) driver for PCI Endpoint. NTB driver implements NTB 28 If in doubt, say "N" to disable Endpoint NTB driver. 31 tristate "PCI Endpoint Virtual NTB driver" 37 Bridge (NTB) driver for PCIe Endpoint. NTB driver implements NTB 40 If in doubt, say "N" to disable Endpoint NTB driver. 43 tristate "PCI Endpoint driver for MHI bus" [all …]
|
| /linux/sound/hda/common/ |
| H A D | bind.c | 3 * HD-audio codec driver binding 24 const struct hda_codec_driver *driver = in hda_codec_match() local 31 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match() 45 struct hda_codec_driver *driver = hda_codec_to_driver(codec); in hda_codec_unsol_event() local 55 if (driver->ops->unsol_event) in hda_codec_unsol_event() 56 driver->ops->unsol_event(codec, ev); in hda_codec_unsol_event() 90 struct module *owner = dev->driver->owner; in hda_codec_driver_probe() 91 struct hda_codec_driver *driver = hda_codec_to_driver(codec); in hda_codec_driver_probe() local 115 if (WARN_ON(!(driver->ops && driver in hda_codec_driver_probe() 155 struct hda_codec_driver *driver = hda_codec_to_driver(codec); hda_codec_driver_remove() local [all...] |
| /linux/Documentation/driver-api/driver-model/ |
| H A D | porting.rst | 12 Please refer to `Documentation/driver-api/driver-model/*.rst` for definitions of 13 various driver types and concepts. 16 at the bus driver layer. This was intentional, to minimize the 20 In a nutshell, the driver model consists of a set of objects that can 24 The generic objects must be registered with the driver model core. By 36 Step 1: Registering the bus driver. 39 - Define a struct bus_type for the bus driver:: 59 The bus type may be unregistered (if the bus driver may be compiled 128 bus driver should initialize the generic device. The most important 136 the bus driver sets this field correctly. [all …]
|
| /linux/drivers/iio/proximity/ |
| H A D | Kconfig | 17 To compile this driver as a module, choose M here: the 32 To compile this driver as a module, choose M here: the 39 Say Y here to build a driver for the Nicera D3-323-AA PIR sensor. 41 To compile this driver as a module, choose M here: the module will be 51 Say Y here to build a driver for TYHX HX9023S capacitive SAR sensor. 52 This driver supports the TYHX HX9023S capacitive 55 To compile this driver as a module, choose M here: the 65 Say Y here to build a driver for the Murata IRS-D200 PIR sensor. 67 To compile this driver as a module, choose M here: the module will be 77 Say Y here if you want to build a driver for the Intersil ISL29501 [all …]
|
| /linux/drivers/counter/ |
| H A D | Kconfig | 31 tristate "ACCES 104-QUAD-8 driver" 50 tristate "Flex Timer Module Quadrature decoder driver" 55 driver. 57 To compile this driver as a module, choose M here: the 61 tristate "Intel Quadrature Encoder Peripheral driver" 66 driver. 68 To compile this driver as a module, choose M here: the module 72 tristate "Interrupt counter driver" 75 Select this option to enable interrupt counter driver. Any interrupt 76 source can be used by this driver as the event source. [all …]
|
| /linux/Documentation/i2c/ |
| H A D | old-module-parameters.rst | 2 I2C device driver binding control from user-space in old kernels 12 control how the driver would probe I2C buses and attach to devices. These 13 parameters were known as ``probe`` (to let the driver probe for an extra 14 address), ``force`` (to forcibly attach the driver to a given device) and 15 ``ignore`` (to prevent a driver from probing a given address). 17 With the conversion of the I2C subsystem to the standard device driver 26 Attaching a driver to an I2C device 31 # modprobe <driver> probe=1,0x2d 32 # modprobe <driver> force=1,0x2d 33 # modprobe <driver> force_<device>=1,0x2d [all …]
|
| /linux/drivers/pinctrl/uniphier/ |
| H A D | Kconfig | 13 bool "UniPhier LD4 SoC pinctrl driver" 17 bool "UniPhier Pro4 SoC pinctrl driver" 21 bool "UniPhier sLD8 SoC pinctrl driver" 25 bool "UniPhier Pro5 SoC pinctrl driver" 29 bool "UniPhier PXs2 SoC pinctrl driver" 33 bool "UniPhier LD6b SoC pinctrl driver" 37 bool "UniPhier LD11 SoC pinctrl driver" 41 bool "UniPhier LD20 SoC pinctrl driver" 45 bool "UniPhier PXs3 SoC pinctrl driver" 49 bool "UniPhier NX1 SoC pinctrl driver"
|
| /linux/drivers/iio/potentiometer/ |
| H A D | Kconfig | 10 tristate "Analog Devices AD5110 and similar Digital Potentiometer driver" 16 To compile this driver as a module, choose M here: the 20 tristate "Analog Devices AD5272 and similar Digital Potentiometer driver" 26 To compile this driver as a module, choose M here: the 30 tristate "Maxim Integrated DS1803 and similar Digital Potentiometer driver" 36 To compile this driver as a module, choose M here: the 40 tristate "Maxim MAX5432-MAX5435 Digital Potentiometer driver" 47 To compile this driver as a module, choose M here: the 51 tristate "Maxim MAX5481-MAX5484 Digital Potentiometer driver" 58 To compile this driver as a module, choose M here: the [all …]
|