Home
last modified time | relevance | path

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

12345678910>>...214

/kernel/linux/linux-5.10/drivers/phy/broadcom/
Dphy-bcm-ns2-usbdrd.c77 struct ns2_phy_driver *driver; member
89 struct ns2_phy_driver *driver) in pll_lock_stat() argument
93 return readl_poll_timeout_atomic(driver->icfgdrd_regs + usb_reg, in pll_lock_stat()
101 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_init() local
104 val = readl(driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init()
113 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init()
121 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_poweroff() local
124 val = readl(driver->crmu_usb2_ctrl); in ns2_drd_phy_poweroff()
126 writel(val, driver->crmu_usb2_ctrl); in ns2_drd_phy_poweroff()
128 val = readl(driver->crmu_usb2_ctrl); in ns2_drd_phy_poweroff()
[all …]
/kernel/linux/linux-5.10/mm/
Dzpool.c22 struct zpool_driver *driver; member
41 void zpool_register_driver(struct zpool_driver *driver) in zpool_register_driver() argument
44 atomic_set(&driver->refcount, 0); in zpool_register_driver()
45 list_add(&driver->list, &drivers_head); in zpool_register_driver()
60 int zpool_unregister_driver(struct zpool_driver *driver) in zpool_unregister_driver() argument
65 refcount = atomic_read(&driver->refcount); in zpool_unregister_driver()
70 list_del(&driver->list); in zpool_unregister_driver()
80 struct zpool_driver *driver; in zpool_get_driver() local
83 list_for_each_entry(driver, &drivers_head, list) { in zpool_get_driver()
84 if (!strcmp(driver->type, type)) { in zpool_get_driver()
[all …]
/kernel/linux/linux-5.10/drivers/clk/mediatek/
DKconfig5 menu "Clock driver for MediaTek SoC"
15 bool "Clock driver for MediaTek MT2701"
20 This driver supports MediaTek MT2701 basic clocks.
23 bool "Clock driver for MediaTek MT2701 mmsys"
26 This driver supports MediaTek MT2701 mmsys clocks.
29 bool "Clock driver for MediaTek MT2701 imgsys"
32 This driver supports MediaTek MT2701 imgsys clocks.
35 bool "Clock driver for MediaTek MT2701 vdecsys"
38 This driver supports MediaTek MT2701 vdecsys clocks.
41 bool "Clock driver for MediaTek MT2701 hifsys"
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-dai.c57 if (dai->driver->ops && in snd_soc_dai_set_sysclk()
58 dai->driver->ops->set_sysclk) in snd_soc_dai_set_sysclk()
59 ret = dai->driver->ops->set_sysclk(dai, clk_id, freq, dir); in snd_soc_dai_set_sysclk()
83 if (dai->driver->ops && in snd_soc_dai_set_clkdiv()
84 dai->driver->ops->set_clkdiv) in snd_soc_dai_set_clkdiv()
85 ret = dai->driver->ops->set_clkdiv(dai, div_id, div); in snd_soc_dai_set_clkdiv()
106 if (dai->driver->ops && in snd_soc_dai_set_pll()
107 dai->driver->ops->set_pll) in snd_soc_dai_set_pll()
108 ret = dai->driver->ops->set_pll(dai, pll_id, source, in snd_soc_dai_set_pll()
129 if (dai->driver->ops && in snd_soc_dai_set_bclk_ratio()
[all …]
Dsoc-component.c77 if (component->driver->set_sysclk) in snd_soc_component_set_sysclk()
78 ret = component->driver->set_sysclk(component, clk_id, source, in snd_soc_component_set_sysclk()
101 if (component->driver->set_pll) in snd_soc_component_set_pll()
102 ret = component->driver->set_pll(component, pll_id, source, in snd_soc_component_set_pll()
112 if (component->driver->seq_notifier) in snd_soc_component_seq_notifier()
113 component->driver->seq_notifier(component, type, subseq); in snd_soc_component_seq_notifier()
121 if (component->driver->stream_event) in snd_soc_component_stream_event()
122 ret = component->driver->stream_event(component, event); in snd_soc_component_stream_event()
132 if (component->driver->set_bias_level) in snd_soc_component_set_bias_level()
133 ret = component->driver->set_bias_level(component, level); in snd_soc_component_set_bias_level()
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
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 …]
/kernel/linux/linux-5.10/drivers/base/power/
Dgeneric_ops.c22 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_suspend()
41 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_resume()
60 struct device_driver *drv = dev->driver; in pm_generic_prepare()
75 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend_noirq()
87 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend_late()
99 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend()
111 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_freeze_noirq()
123 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_freeze_late()
135 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_freeze()
147 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_poweroff_noirq()
[all …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dbus.c19 struct usb_serial_driver *driver; in usb_serial_device_match() local
30 driver = to_usb_serial_driver(drv); in usb_serial_device_match()
32 if (driver == port->serial->type) in usb_serial_device_match()
40 struct usb_serial_driver *driver; in usb_serial_device_probe() local
55 driver = port->serial->type; in usb_serial_device_probe()
56 if (driver->port_probe) { in usb_serial_device_probe()
57 retval = driver->port_probe(port); in usb_serial_device_probe()
74 driver->description, minor); in usb_serial_device_probe()
79 if (driver->port_remove) in usb_serial_device_probe()
80 driver->port_remove(port); in usb_serial_device_probe()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
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()
68 static inline void psb_mmu_clflush(struct psb_mmu_driver *driver, void *addr) in psb_mmu_clflush() argument
74 static void psb_mmu_flush_pd_locked(struct psb_mmu_driver *driver, int force) in psb_mmu_flush_pd_locked() argument
76 struct drm_device *dev = driver->dev; in psb_mmu_flush_pd_locked()
79 if (atomic_read(&driver->needs_tlbflush) || force) { in psb_mmu_flush_pd_locked()
87 if (driver->msvdx_mmu_invaldc) in psb_mmu_flush_pd_locked()
88 atomic_set(driver->msvdx_mmu_invaldc, 1); in psb_mmu_flush_pd_locked()
90 atomic_set(&driver->needs_tlbflush, 0); in psb_mmu_flush_pd_locked()
94 static void psb_mmu_flush_pd(struct psb_mmu_driver *driver, int force)
[all …]
/kernel/linux/linux-5.10/drivers/pci/endpoint/
Dpci-epf-core.c33 if (!epf->driver) { in pci_epf_unbind()
39 epf->driver->ops->unbind(epf); in pci_epf_unbind()
41 module_put(epf->driver->owner); in pci_epf_unbind()
56 if (!epf->driver) { in pci_epf_bind()
61 if (!try_module_get(epf->driver->owner)) in pci_epf_bind()
65 ret = epf->driver->ops->bind(epf); in pci_epf_bind()
140 static void pci_epf_remove_cfs(struct pci_epf_driver *driver) in pci_epf_remove_cfs() argument
148 list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) in pci_epf_remove_cfs()
150 list_del(&driver->epf_group); in pci_epf_remove_cfs()
160 void pci_epf_unregister_driver(struct pci_epf_driver *driver) in pci_epf_unregister_driver() argument
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/
DKconfig21 bool "IMX1 pinctrl driver"
25 Say Y here to enable the imx1 pinctrl driver
28 bool "i.MX21 pinctrl driver"
32 Say Y here to enable the i.MX21 pinctrl driver
35 bool "IMX27 pinctrl driver"
39 Say Y here to enable the imx27 pinctrl driver
43 bool "IMX25 pinctrl driver"
48 Say Y here to enable the imx25 pinctrl driver
51 bool "IMX35 pinctrl driver"
55 Say Y here to enable the imx35 pinctrl driver
[all …]
/kernel/linux/linux-5.10/scripts/dtc/
Ddt_to_config328 my $driver = $pn_arg_ref->{driver};
371 (exists($driver_config_hard_code_list{$driver}) &&
372 ($driver ne "no_driver"))) {
441 my $driver = $pn_arg_ref->{driver};
460 print " : $compat : $driver : $config : ";
532 my $driver = shift;
536 my ($dir, $base) = $driver =~ m{(.*)/(.*).c};
546 push @{ $driver_config{$driver} }, $config;
693 push @{ $driver_config{$driver} }, $config;
706 my $driver = shift;
[all …]
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
Dbus.c23 #define to_ishtp_cl_driver(d) container_of(d, struct ishtp_cl_driver, driver)
215 struct ishtp_cl_driver *driver; in ishtp_cl_device_probe() local
220 driver = to_ishtp_cl_driver(dev->driver); in ishtp_cl_device_probe()
221 if (!driver || !driver->probe) in ishtp_cl_device_probe()
224 return driver->probe(device); in ishtp_cl_device_probe()
241 struct ishtp_cl_driver *driver = to_ishtp_cl_driver(drv); in ishtp_cl_bus_match() local
243 return guid_equal(driver->guid, in ishtp_cl_bus_match()
260 struct ishtp_cl_driver *driver; in ishtp_cl_device_remove() local
262 if (!device || !dev->driver) in ishtp_cl_device_remove()
270 driver = to_ishtp_cl_driver(dev->driver); in ishtp_cl_device_remove()
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Dtty_io.c255 if (!tty || !tty->driver) in tty_driver_name()
257 return tty->driver->name; in tty_driver_name()
290 if (tty->driver->type == TTY_DRIVER_TYPE_PTY && in check_tty_count()
291 tty->driver->subtype == PTY_TYPE_SLAVE && in check_tty_count()
1196 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name() argument
1198 int i = index + driver->name_base; in pty_line_name()
1201 driver->subtype == PTY_TYPE_SLAVE ? "tty" : driver->name, in pty_line_name()
1216 static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name() argument
1218 if (driver->flags & TTY_DRIVER_UNNUMBERED_NODE) in tty_line_name()
1219 return sprintf(p, "%s", driver->name); in tty_line_name()
[all …]
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 …]
/kernel/linux/linux-5.10/drivers/pwm/
DKconfig15 within the Linux kernel. On the driver side it provides an API
22 allows only a single driver implementing the required API. Not
40 This option enables some additional checks to help lowlevel driver
43 output to the kernel log, so only enable while working on a driver.
49 Generic PWM framework driver for Analog Baseband AB8500.
51 To compile this driver as a module, choose M here: the module
59 Generic PWM framework driver for Atmel SoC.
61 To compile this driver as a module, choose M here: the module
69 Generic PWM framework driver for the PWM output of the HLCDC
73 To compile this driver as a module, choose M here: the module
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/
DKconfig14 tristate "Qualcomm APQ8064 pin controller driver"
18 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
22 tristate "Qualcomm APQ8084 pin controller driver"
26 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
30 tristate "Qualcomm IPQ4019 pin controller driver"
34 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
38 tristate "Qualcomm IPQ8064 pin controller driver"
42 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
46 tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
50 This is the pinctrl, pinmux, pinconf and gpiolib driver for
[all …]
/kernel/linux/linux-5.10/drivers/greybus/
Dcore.c65 struct greybus_driver *driver = to_greybus_driver(drv); in greybus_match_device() local
74 id = greybus_match_id(bundle, driver->id_table); in greybus_match_device()
167 struct greybus_driver *driver = to_greybus_driver(dev->driver); in greybus_probe() local
173 id = greybus_match_id(bundle, driver->id_table); in greybus_probe()
202 retval = driver->probe(bundle, id); in greybus_probe()
227 struct greybus_driver *driver = to_greybus_driver(dev->driver); in greybus_remove() local
251 driver->disconnect(bundle); in greybus_remove()
268 int greybus_register_driver(struct greybus_driver *driver, struct module *owner, in greybus_register_driver() argument
276 driver->driver.bus = &greybus_bus_type; in greybus_register_driver()
277 driver->driver.name = driver->name; in greybus_register_driver()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/host1x/
Dbus.c38 struct host1x_driver *driver, in host1x_subdev_add() argument
58 if (of_match_node(driver->subdevs, child) && in host1x_subdev_add()
60 err = host1x_subdev_add(device, driver, child); in host1x_subdev_add()
89 struct host1x_driver *driver) in host1x_device_parse_dt() argument
95 if (of_match_node(driver->subdevs, np) && in host1x_device_parse_dt()
97 err = host1x_subdev_add(device, driver, np); in host1x_device_parse_dt()
417 struct host1x_driver *driver) in host1x_device_add() argument
436 device->driver = driver; in host1x_device_add()
440 dev_set_name(&device->dev, "%s", driver->driver.name); in host1x_device_add()
450 err = host1x_device_parse_dt(device, driver); in host1x_device_add()
[all …]
/kernel/linux/linux-5.10/drivers/power/reset/
DKconfig13 bool "ams AS3722 power-off driver"
16 This driver supports turning off board via a ams AS3722 power-off.
19 tristate "Atmel AT91 poweroff driver"
23 This driver supports poweroff for Atmel AT91SAM9 and SAMA5
27 tristate "Atmel AT91 reset driver"
31 This driver supports restart for Atmel AT91SAM9 and SAMA5
35 tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
39 This driver supports the alternate shutdown controller for some Atmel
43 bool "LSI Axxia reset driver"
46 This driver supports restart for Axxia SoC.
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/
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 …]
/kernel/linux/linux-5.10/drivers/nfc/nfcmrvl/
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 …]
/kernel/linux/linux-5.10/drivers/phy/marvell/
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
81 Enable this to support Marvell USB HSIC PHY driver for Marvell
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddisplay-sysfs.c50 r = dssdev->driver->enable(dssdev); in display_enabled_store()
54 dssdev->driver->disable(dssdev); in display_enabled_store()
63 dssdev->driver->get_te ? in display_tear_show()
64 dssdev->driver->get_te(dssdev) : 0); in display_tear_show()
73 if (!dssdev->driver->enable_te || !dssdev->driver->get_te) in display_tear_store()
80 r = dssdev->driver->enable_te(dssdev, te); in display_tear_store()
91 if (!dssdev->driver->get_timings) in display_timings_show()
94 dssdev->driver->get_timings(dssdev, &t); in display_timings_show()
108 if (!dssdev->driver->set_timings || !dssdev->driver->check_timings) in display_timings_store()
127 r = dssdev->driver->check_timings(dssdev, &t); in display_timings_store()
[all …]
/kernel/linux/linux-5.10/drivers/usb/core/
Ddriver.c44 struct device_driver *driver, in usb_store_new_id() argument
102 retval = driver_attach(driver); in usb_store_new_id()
131 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show() argument
133 struct usb_driver *usb_drv = to_usb_driver(driver); in new_id_show()
138 static ssize_t new_id_store(struct device_driver *driver, in new_id_store() argument
141 struct usb_driver *usb_drv = to_usb_driver(driver); in new_id_store()
143 return usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, driver, buf, count); in new_id_store()
150 static ssize_t remove_id_store(struct device_driver *driver, const char *buf, in remove_id_store() argument
154 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 …]

12345678910>>...214