Home
last modified time | relevance | path

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

12345678910>>...238

/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/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/drivers/gpu/drm/gma500/
H A Dmmu.c57 static inline void psb_mmu_clflush(struct psb_mmu_driver *driver, void *addr) in psb_mmu_clflush() argument
59 if (!driver->has_clflush) in psb_mmu_clflush()
67 static void psb_mmu_flush_pd_locked(struct psb_mmu_driver *driver, int force) in psb_mmu_flush_pd_locked() argument
69 struct drm_device *dev = driver->dev; in psb_mmu_flush_pd_locked()
72 if (atomic_read(&driver->needs_tlbflush) || force) { in psb_mmu_flush_pd_locked()
80 if (driver->msvdx_mmu_invaldc) in psb_mmu_flush_pd_locked()
81 atomic_set(driver->msvdx_mmu_invaldc, 1); in psb_mmu_flush_pd_locked()
83 atomic_set(&driver->needs_tlbflush, 0); in psb_mmu_flush_pd_locked()
87 static void psb_mmu_flush_pd(struct psb_mmu_driver *driver, int force)
89 down_write(&driver->sem);
[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_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/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/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/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/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/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/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/pci/endpoint/
H A Dpci-epf-core.c35 if (!epf->driver) { in pci_epf_unbind()
43 epf_vf->driver->ops->unbind(epf_vf); in pci_epf_unbind()
46 epf->driver->ops->unbind(epf); in pci_epf_unbind()
48 module_put(epf->driver->owner); in pci_epf_unbind()
67 if (!epf->driver) { in pci_epf_bind()
72 if (!try_module_get(epf->driver->owner)) in pci_epf_bind()
123 ret = epf_vf->driver->ops->bind(epf_vf); in pci_epf_bind()
129 ret = epf->driver->ops->bind(epf); in pci_epf_bind()
426 static void pci_epf_remove_cfs(struct pci_epf_driver *driver) in pci_epf_remove_cfs() argument
434 list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) in pci_epf_remove_cfs()
[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/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.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/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 …]
/linux/drivers/gpu/host1x/
H A Dbus.c40 struct host1x_driver *driver, in host1x_subdev_add() argument
59 if (of_match_node(driver->subdevs, child) && in host1x_subdev_add()
61 err = host1x_subdev_add(device, driver, child); in host1x_subdev_add()
89 struct host1x_driver *driver) in host1x_device_parse_dt() argument
94 if (of_match_node(driver->subdevs, np) && in host1x_device_parse_dt()
96 err = host1x_subdev_add(device, driver, np); in host1x_device_parse_dt()
351 struct host1x_driver *driver = to_host1x_driver(dev->driver); in host1x_device_probe() local
354 if (driver->probe) in host1x_device_probe()
355 return driver->probe(device); in host1x_device_probe()
362 struct host1x_driver *driver = to_host1x_driver(dev->driver); in host1x_device_remove() local
[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 …]

12345678910>>...238