Home
last modified time | relevance | path

Searched refs:driver (Results 1 – 25 of 5748) sorted by relevance

12345678910>>...230

/linux/drivers/clk/mediatek/
H A DKconfig5 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 fo
[all...]
/linux/tools/testing/selftests/vfio/lib/
H A Dvfio_pci_driver.c28 VFIO_ASSERT_NULL(device->driver.ops); in vfio_pci_driver_probe()
36 device->driver.ops = ops; in vfio_pci_driver_probe()
39 device->driver.region.size = in vfio_check_driver_op()
44 static void vfio_check_driver_op(struct vfio_pci_driver *driver, void *op, in vfio_check_driver_op()
47 VFIO_ASSERT_NOT_NULL(driver->ops);
49 VFIO_ASSERT_EQ(driver->initialized, op != driver->ops->init);
50 VFIO_ASSERT_EQ(driver->memcpy_in_progress, op == driver->ops->memcpy_wait);
60 struct vfio_pci_driver *driver in vfio_pci_driver_init()
38 vfio_check_driver_op(struct vfio_pci_driver * driver,void * op,const char * op_name) vfio_check_driver_op() argument
54 struct vfio_pci_driver *driver = &device->driver; vfio_pci_driver_init() local
66 struct vfio_pci_driver *driver = &device->driver; vfio_pci_driver_remove() local
76 struct vfio_pci_driver *driver = &device->driver; vfio_pci_driver_send_msi() local
87 struct vfio_pci_driver *driver = &device->driver; vfio_pci_driver_memcpy_start() local
99 struct vfio_pci_driver *driver = &device->driver; vfio_pci_driver_memcpy_wait() local
113 struct vfio_pci_driver *driver = &device->driver; vfio_pci_driver_memcpy() local
[all...]
/linux/drivers/usb/serial/
H A Dbus.c20 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/Documentation/networking/
H A Dmac80211-auth-assoc-deauth.txt11 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/vfio/
H A Dcontainer.c81 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 Dsoc-component.c110 if (component->driver->set_sysclk) in snd_soc_component_set_sysclk()
111 ret = component->driver->set_sysclk(component, clk_id, source, in snd_soc_component_set_sysclk()
134 if (component->driver->set_pll) in snd_soc_component_set_pll()
135 ret = component->driver->set_pll(component, pll_id, source, in snd_soc_component_set_pll()
145 if (component->driver->seq_notifier) in snd_soc_component_seq_notifier()
146 component->driver->seq_notifier(component, type, subseq); in snd_soc_component_seq_notifier()
154 if (component->driver->stream_event) in snd_soc_component_stream_event()
155 ret = component->driver->stream_event(component, event); in snd_soc_component_stream_event()
165 if (component->driver->set_bias_level) in snd_soc_component_set_bias_level()
166 ret = component->driver in snd_soc_component_set_bias_level()
[all...]
/linux/drivers/tty/
H A Dtty_io.c254 if (!tty || !tty->driver) in tty_driver_name()
256 return tty->driver->name; in tty_driver_name()
283 if (tty->driver->type == TTY_DRIVER_TYPE_PTY && in check_tty_count()
284 tty->driver->subtype == PTY_TYPE_SLAVE && in check_tty_count()
301 * This routine returns a tty driver structure, given a device number and also
327 * (4, 64) or (188, 1). If no corresponding driver is registered then the
375 * This routine returns a tty driver structure, given a name and the condition
376 * that the tty driver is capable of polled operation.
504 * line discipline if present that the driver is ready to receive more output
648 * We don't want to have driver/ldis in __tty_hangup()
1148 pty_line_name(struct tty_driver * driver,int index,char * p) pty_line_name() argument
1169 tty_line_name(struct tty_driver * driver,int index,char * p) tty_line_name() argument
1189 tty_driver_lookup_tty(struct tty_driver * driver,struct file * file,int idx) tty_driver_lookup_tty() argument
1246 tty_standard_install(struct tty_driver * driver,struct tty_struct * tty) tty_standard_install() argument
1267 tty_driver_install_tty(struct tty_driver * driver,struct tty_struct * tty) tty_driver_install_tty() argument
1284 tty_driver_remove_tty(struct tty_driver * driver,struct tty_struct * tty) tty_driver_remove_tty() argument
1303 struct tty_driver *driver = tty->driver; tty_reopen() local
1359 tty_init_dev(struct tty_driver * driver,int idx) tty_init_dev() argument
1493 struct tty_driver *driver = tty->driver; release_one_tty() local
1883 struct tty_driver *driver = NULL; tty_lookup_driver() local
1922 struct tty_driver *driver; tty_kopen() local
2008 struct tty_driver *driver = NULL; tty_open_by_driver() local
3088 alloc_tty_struct(struct tty_driver * driver,int idx) alloc_tty_struct() argument
3149 tty_cdev_add(struct tty_driver * driver,dev_t dev,unsigned int index,unsigned int count) tty_cdev_add() argument
3186 tty_register_device(struct tty_driver * driver,unsigned index,struct device * device) tty_register_device() argument
3218 tty_register_device_attr(struct tty_driver * driver,unsigned index,struct device * device,void * drvdata,const struct attribute_group ** attr_grp) tty_register_device_attr() argument
3300 tty_unregister_device(struct tty_driver * driver,unsigned index) tty_unregister_device() argument
3324 struct tty_driver *driver; __tty_alloc_driver() local
3377 struct tty_driver *driver = container_of(kref, struct tty_driver, kref); destruct_tty_driver() local
3408 tty_driver_kref_put(struct tty_driver * driver) tty_driver_kref_put() argument
3420 tty_register_driver(struct tty_driver * driver) tty_register_driver() argument
3504 tty_unregister_driver(struct tty_driver * driver) tty_unregister_driver() argument
[all...]
H A Dttynull.c64 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/pinctrl/qcom/
H A DKconfig.msm5 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 fo
[all...]
/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c23 #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 DKconfig12 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/drivers/firmware/smccc/
H A Dbus.c30 struct arm_smccc_driver *smccc_drv = to_arm_smccc_driver(dev->driver); in arm_smccc_bus_probe()
37 struct arm_smccc_driver *smcc_drv = to_arm_smccc_driver(dev->driver); in arm_smccc_bus_remove()
78 int arm_smccc_driver_register(struct arm_smccc_driver *driver, in arm_smccc_driver_register() argument
81 if (!driver->probe || !driver->id_table) in arm_smccc_driver_register()
84 driver->driver.bus = &arm_smccc_bus_type; in arm_smccc_driver_register()
85 driver->driver.name = driver->name; in arm_smccc_driver_register()
86 driver->driver.owner = owner; in arm_smccc_driver_register()
87 driver->driver.mod_name = mod_name; in arm_smccc_driver_register()
89 return driver_register(&driver->driver); in arm_smccc_driver_register()
93 void arm_smccc_driver_unregister(struct arm_smccc_driver *driver) in arm_smccc_driver_unregister() argument
[all …]
/linux/Documentation/driver-api/
H A Dconsole.rst9 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 Ddisplay-sysfs.c51 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/pinctrl/bcm/
H A DKconfig7 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/arch/xtensa/platforms/iss/
H A Dconsole.c106 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/nfc/nfcmrvl/
H A DKconfig5 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/clk/
H A DKconfig37 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 fo
[all...]
/linux/lib/kunit/
H A Ddevice.c34 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/Documentation/driver-api/driver-model/
H A Dporting.rst12 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/char/agp/
H A Dbackend.c146 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/drivers/iio/proximity/
H A DKconfig17 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 Dbind.c3 * 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
119 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 Dnfcon.c128 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/counter/
H A DKconfig31 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 …]

12345678910>>...230