Home
last modified time | relevance | path

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

12345678910>>...216

/linux/drivers/phy/broadcom/
H A Dphy-bcm-ns2-usbdrd.c67 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/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 for MediaTek MT2701 vdecsys"
[all …]
/linux/tools/testing/selftests/vfio/lib/
H A Dvfio_pci_driver.c22 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 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/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/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(sizeof(*driver), GFP_KERNEL); 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/interconnect/qcom/
H A DKconfig12 tristate "Qualcomm GLYMUR interconnect driver"
17 This is a driver for the Qualcomm Network-on-Chip on glymur-based
21 tristate "Qualcomm KAANAPALI interconnect driver"
26 This is a driver for the Qualcomm Network-on-Chip on kaanapali-based
30 tristate "Qualcomm MSM8909 interconnect driver"
35 This is a driver for the Qualcomm Network-on-Chip on msm8909-based
39 tristate "Qualcomm MSM8916 interconnect driver"
44 This is a driver for the Qualcomm Network-on-Chip on msm8916-based
48 tristate "Qualcomm MSM8937 interconnect driver"
53 This is a driver for the Qualcomm Network-on-Chip on msm8937-based
[all …]
/linux/drivers/pinctrl/freescale/
H A DKconfig11 tristate "i.MX95 pinctrl driver using SCMI protocol interface"
18 i.MX95 SCMI firmware provides pinctrl protocol. This driver
34 bool "IMX1 pinctrl driver"
40 Say Y here to enable the imx1 pinctrl driver
43 bool "IMX27 pinctrl driver"
49 Say Y here to enable the imx27 pinctrl driver
53 bool "IMX25 pinctrl driver"
59 Say Y here to enable the imx25 pinctrl driver
62 bool "IMX35 pinctrl driver"
68 Say Y here to enable the imx35 pinctrl driver
[all …]
/linux/drivers/pinctrl/qcom/
H A DKconfig.msm5 tristate "Qualcomm APQ8064 pin controller driver"
8 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
12 tristate "Qualcomm APQ8084 pin controller driver"
15 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
19 tristate "Qualcomm Technologies Inc Glymur pin controller driver"
22 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
29 tristate "Qualcomm IPQ4019 pin controller driver"
32 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
36 tristate "Qualcomm Technologies, Inc. IPQ5018 pin controller driver"
39 This is the pinctrl, pinmux, pinconf and gpiolib driver for
[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()
1173 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name() argument
1176 int i = index + driver->name_base; in pty_line_name()
1179 driver->subtype == PTY_TYPE_SLAVE ? "tty" : driver->name, in pty_line_name()
1194 static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name() argument
1196 if (driver->flags & TTY_DRIVER_UNNUMBERED_NODE) in tty_line_name()
1197 return sprintf(p, "%s", driver->name); in tty_line_name()
[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/usb/core/
H A Ddriver.c44 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/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/pwm/
H A DKconfig15 within the Linux kernel. On the driver side it provides an API
22 allows only a single driver implementing the required API. Not
36 This option enables some additional checks to help lowlevel driver
39 output to the kernel log, so only enable while working on a driver.
54 Generic PWM framework driver for Analog Baseband AB8500.
56 To compile this driver as a module, choose M here: the module
71 Generic PWM framework driver for Airoha SoC.
73 To compile this driver as a module, choose M here: the module
80 Generic PWM framework driver for PWM controller present on
85 To compile this driver as a module, choose M here: the module
[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/staging/fbtft/
H A DKconfig14 tristate "FB driver for the AGM1264K-FL LCD display"
19 tristate "FB driver for the BD663474 LCD Controller"
24 tristate "FB driver for the HX8340BN LCD Controller"
29 tristate "FB driver for the HX8347D LCD Controller"
34 tristate "FB driver for the HX8353D LCD Controller"
39 tristate "FB driver for the HX8357D LCD Controller"
44 tristate "FB driver for the ILI9163 LCD Controller"
49 tristate "FB driver for the ILI9320 LCD Controller"
54 tristate "FB driver for the ILI9325 LCD Controller"
59 tristate "FB driver for the ILI9340 LCD Controller"
[all …]
/linux/drivers/greybus/
H A Dcore.c95 const struct greybus_driver *driver = to_greybus_driver(drv); in greybus_match_device() local
104 id = greybus_match_id(bundle, driver->id_table); in greybus_match_device()
197 struct greybus_driver *driver = to_greybus_driver(dev->driver); in greybus_probe() local
203 id = greybus_match_id(bundle, driver->id_table); in greybus_probe()
232 retval = driver->probe(bundle, id); in greybus_probe()
257 struct greybus_driver *driver = to_greybus_driver(dev->driver); in greybus_remove() local
281 driver->disconnect(bundle); in greybus_remove()
298 int greybus_register_driver(struct greybus_driver *driver, struct module *owner, in greybus_register_driver() argument
306 driver->driver.bus = &greybus_bus_type; in greybus_register_driver()
307 driver->driver.name = driver->name; in greybus_register_driver()
[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/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 for Hi655x" if EXPERT
[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/lib/kunit/
H A Ddevice.c33 /* If the driver is managed by KUnit and unique to this device. */
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()
192 const struct device_driver *driver = to_kunit_device(dev)->driver; kunit_device_unregister() local
[all...]
/linux/drivers/iio/dac/
H A DKconfig10 tristate "Analog Devices AD3530R and Similar DACs driver"
17 To compile this driver as a module, choose M here: the
21 tristate "Analog Devices AD3552R DAC High Speed driver"
26 Digital to Analog Converter High Speed driver.
28 The driver requires the assistance of an IP core to operate,
32 To compile this driver as a module, choose M here: the
39 tristate "Analog Devices AD3552R DAC driver"
48 To compile this driver as a module, choose M here: the
52 tristate "Analog Devices AD5064 and similar multi-channel DAC driver"
62 To compile this driver as a module, choose M here: the
[all …]
/linux/arch/s390/pci/
H A Dpci_event.c75 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/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 …]

12345678910>>...216