| /linux/tools/testing/selftests/vfio/lib/ |
| H A D | vfio_pci_driver.c | 26 VFIO_ASSERT_NULL(device->driver.ops); in vfio_pci_driver_probe() 34 device->driver.ops = ops; in vfio_pci_driver_probe() 38 static void vfio_check_driver_op(struct vfio_pci_driver *driver, void *op, in vfio_check_driver_op() argument 41 VFIO_ASSERT_NOT_NULL(driver->ops); in vfio_check_driver_op() 43 VFIO_ASSERT_EQ(driver->initialized, op != driver->ops->init); in vfio_check_driver_op() 44 VFIO_ASSERT_EQ(driver->memcpy_in_progress, op == driver->ops->memcpy_wait); in vfio_check_driver_op() 54 struct vfio_pci_driver *driver = &device->driver; in vfio_pci_driver_init() local 56 VFIO_ASSERT_NOT_NULL(driver->region.vaddr); in vfio_pci_driver_init() 57 VFIO_CHECK_DRIVER_OP(driver, init); in vfio_pci_driver_init() 59 driver->ops->init(device); in vfio_pci_driver_init() [all …]
|
| /linux/drivers/clk/mediatek/ |
| H A D | Kconfig | 5 menu "Clock driver for MediaTek SoC" 15 bool "clock driver for MediaTek FHCTL hardware control" 18 This driver supports MediaTek frequency hopping and 22 bool "Clock driver for MediaTek MT2701" 27 This driver supports MediaTek MT2701 basic clocks. 30 bool "Clock driver for MediaTek MT2701 mmsys" 33 This driver supports MediaTek MT2701 mmsys clocks. 36 bool "Clock driver for MediaTek MT2701 imgsys" 39 This driver supports MediaTek MT2701 imgsys clocks. 42 bool "Clock driver for MediaTek MT2701 vdecsys" [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/sound/soc/ |
| H A D | soc-component.c | 109 if (component->driver->set_sysclk) in snd_soc_component_set_sysclk() 110 ret = component->driver->set_sysclk(component, clk_id, source, in snd_soc_component_set_sysclk() 133 if (component->driver->set_pll) in snd_soc_component_set_pll() 134 ret = component->driver->set_pll(component, pll_id, source, in snd_soc_component_set_pll() 144 if (component->driver->seq_notifier) in snd_soc_component_seq_notifier() 145 component->driver->seq_notifier(component, type, subseq); in snd_soc_component_seq_notifier() 153 if (component->driver->stream_event) in snd_soc_component_stream_event() 154 ret = component->driver->stream_event(component, event); in snd_soc_component_stream_event() 164 if (component->driver->set_bias_level) in snd_soc_component_set_bias_level() 165 ret = component->driver->set_bias_level(component, level); in snd_soc_component_set_bias_level() [all …]
|
| /linux/drivers/pinctrl/qcom/ |
| H A D | Kconfig.msm | 5 tristate "Qualcomm APQ8064 pin controller driver" 9 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 13 tristate "Qualcomm APQ8084 pin controller driver" 17 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 21 tristate "Qualcomm Eliza pin controller driver" 25 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 32 tristate "Qualcomm Glymur pin controller driver" 36 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 43 tristate "Qualcomm Hawi pin controller driver" 47 This is the pinctrl, pinmux, pinconf and gpiolib driver for the [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/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/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/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/pinctrl/bcm/ |
| H A D | Kconfig | 7 bool "Broadcom BCM281xx pinctrl driver" 15 Say Y here to support Broadcom BCM281xx pinctrl driver, which is used 17 BCM28145, and BCM28155 SoCs. This driver requires the pinctrl 18 framework. GPIO is provided by a separate GPIO driver. 21 tristate "Broadcom BCM2835 GPIO (with PINCONF) driver" 30 Say Y here to enable the Broadcom BCM2835 GPIO driver. 33 tristate "Broadcom BCM4908 pinmux driver" 56 bool "Broadcom BCM6318 GPIO driver" 62 Say Y here to enable the Broadcom BCM6318 GPIO driver. 65 bool "Broadcom BCM6328 GPIO driver" [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/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/clk/ |
| H A D | Kconfig | 37 tristate "Clock driver for WM831x/2x PMICs" 50 This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs 62 tristate "Clock driver for Apple SoC NCOs" 65 This driver supports NCO (Numerically Controlled Oscillator) blocks 70 tristate "Clock driver for Maxim 77620/77686/77802 MFD" 73 This driver supports Maxim 77620/77686/77802 crystal oscillator 80 This driver supports Maxim 9485 Programmable Audio Clock Generator 83 tristate "Clock driver for RK805/RK808/RK809/RK817/RK818" 86 This driver supports RK805, RK809 and RK817, RK808 and RK818 crystal oscillator clock. 100 tristate "Clock driver for Hi655x" if EXPERT [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/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 …]
|
| H A D | binding.rst | 6 driver that can control it. Bus drivers have typically handled this 8 devices and the drivers. With generic device and device driver 19 for a driver, it is inserted at the end of this list. These are the 20 two events which trigger driver binding. 28 ID of the device must match one of the device IDs that the driver 31 algorithm, it is up to the bus driver to provide a callback to compare 32 a device against the IDs of a driver. The bus returns 1 if a match was 37 If a match is found, the device's driver field is set to the driver 38 and the driver's probe callback is called. This gives the driver a 47 class, and that is set in the driver's devclass field. [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/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/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/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/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/drivers/pinctrl/ |
| H A D | Kconfig | 50 The driver for memory mapped GPIO functionality on AMD platforms 66 The driver for memory mapped GPIO functionality on AMD platforms 73 tristate "Apple SoC GPIO pin controller driver" 81 This is the driver for the GPIO controller found on Apple ARM SoCs, 84 This driver can also be built as a module. If so, the module 88 bool "Axis ARTPEC-6 pin controller driver" 93 This is the driver for the Axis ARTPEC-6 pin controller. This driver 99 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC" 105 functionality. This driver supports the pinmux, push-pull and 110 bool "AT91 pinctrl driver" [all …]
|