Home
last modified time | relevance | path

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

12345678910>>...262

/Linux-v5.4/drivers/phy/broadcom/
Dphy-bcm-ns2-usbdrd.c76 struct ns2_phy_driver *driver; member
88 struct ns2_phy_driver *driver) in pll_lock_stat() argument
95 val = readl(driver->icfgdrd_regs + usb_reg); in pll_lock_stat()
106 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_init() local
109 val = readl(driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init()
118 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init()
126 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_poweroff() local
129 val = readl(driver->crmu_usb2_ctrl); in ns2_drd_phy_poweroff()
131 writel(val, driver->crmu_usb2_ctrl); in ns2_drd_phy_poweroff()
133 val = readl(driver->crmu_usb2_ctrl); in ns2_drd_phy_poweroff()
[all …]
/Linux-v5.4/mm/
Dzpool.c22 struct zpool_driver *driver; member
40 void zpool_register_driver(struct zpool_driver *driver) in zpool_register_driver() argument
43 atomic_set(&driver->refcount, 0); in zpool_register_driver()
44 list_add(&driver->list, &drivers_head); in zpool_register_driver()
59 int zpool_unregister_driver(struct zpool_driver *driver) in zpool_unregister_driver() argument
64 refcount = atomic_read(&driver->refcount); in zpool_unregister_driver()
69 list_del(&driver->list); in zpool_unregister_driver()
79 struct zpool_driver *driver; in zpool_get_driver() local
82 list_for_each_entry(driver, &drivers_head, list) { in zpool_get_driver()
83 if (!strcmp(driver->type, type)) { in zpool_get_driver()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/sound/soc/
Dsoc-dai.c24 if (dai->driver->ops->set_sysclk) in snd_soc_dai_set_sysclk()
25 return dai->driver->ops->set_sysclk(dai, clk_id, freq, dir); in snd_soc_dai_set_sysclk()
45 if (dai->driver->ops->set_clkdiv) in snd_soc_dai_set_clkdiv()
46 return dai->driver->ops->set_clkdiv(dai, div_id, div); in snd_soc_dai_set_clkdiv()
65 if (dai->driver->ops->set_pll) in snd_soc_dai_set_pll()
66 return dai->driver->ops->set_pll(dai, pll_id, source, in snd_soc_dai_set_pll()
83 if (dai->driver->ops->set_bclk_ratio) in snd_soc_dai_set_bclk_ratio()
84 return dai->driver->ops->set_bclk_ratio(dai, ratio); in snd_soc_dai_set_bclk_ratio()
99 if (dai->driver->ops->set_fmt == NULL) in snd_soc_dai_set_fmt()
101 return dai->driver->ops->set_fmt(dai, fmt); in snd_soc_dai_set_fmt()
[all …]
Dsoc-component.c25 if (component->driver->set_sysclk) in snd_soc_component_set_sysclk()
26 return component->driver->set_sysclk(component, clk_id, source, in snd_soc_component_set_sysclk()
47 if (component->driver->set_pll) in snd_soc_component_set_pll()
48 return component->driver->set_pll(component, pll_id, source, in snd_soc_component_set_pll()
58 if (component->driver->seq_notifier) in snd_soc_component_seq_notifier()
59 component->driver->seq_notifier(component, type, subseq); in snd_soc_component_seq_notifier()
65 if (component->driver->stream_event) in snd_soc_component_stream_event()
66 return component->driver->stream_event(component, event); in snd_soc_component_stream_event()
74 if (component->driver->set_bias_level) in snd_soc_component_set_bias_level()
75 return component->driver->set_bias_level(component, level); in snd_soc_component_set_bias_level()
[all …]
Dsoc-compress.c34 if (!component->driver->compr_ops || in soc_compr_components_open()
35 !component->driver->compr_ops->open) in soc_compr_components_open()
38 ret = component->driver->compr_ops->open(cstream); in soc_compr_components_open()
66 if (!component->driver->compr_ops || in soc_compr_components_free()
67 !component->driver->compr_ops->free) in soc_compr_components_free()
70 component->driver->compr_ops->free(cstream); in soc_compr_components_free()
85 if (cpu_dai->driver->cops && cpu_dai->driver->cops->startup) { in soc_compr_open()
86 ret = cpu_dai->driver->cops->startup(cstream, cpu_dai); in soc_compr_open()
118 if (cpu_dai->driver->cops && cpu_dai->driver->cops->shutdown) in soc_compr_open()
119 cpu_dai->driver->cops->shutdown(cstream, cpu_dai); in soc_compr_open()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/pci/endpoint/
Dpci-epf-core.c34 if (!epf->driver) { in pci_epf_linkup()
39 epf->driver->ops->linkup(epf); in pci_epf_linkup()
53 if (!epf->driver) { in pci_epf_unbind()
58 epf->driver->ops->unbind(epf); in pci_epf_unbind()
59 module_put(epf->driver->owner); in pci_epf_unbind()
72 if (!epf->driver) { in pci_epf_bind()
77 if (!try_module_get(epf->driver->owner)) in pci_epf_bind()
80 return epf->driver->ops->bind(epf); in pci_epf_bind()
148 static void pci_epf_remove_cfs(struct pci_epf_driver *driver) in pci_epf_remove_cfs() argument
156 list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) in pci_epf_remove_cfs()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/pinctrl/freescale/
DKconfig20 bool "IMX1 pinctrl driver"
24 Say Y here to enable the imx1 pinctrl driver
27 bool "i.MX21 pinctrl driver"
31 Say Y here to enable the i.MX21 pinctrl driver
34 bool "IMX27 pinctrl driver"
38 Say Y here to enable the imx27 pinctrl driver
42 bool "IMX25 pinctrl driver"
47 Say Y here to enable the imx25 pinctrl driver
50 bool "IMX35 pinctrl driver"
54 Say Y here to enable the imx35 pinctrl driver
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 Generic PWM framework driver for Analog Baseband AB8500.
42 To compile this driver as a module, choose M here: the module
49 Generic PWM framework driver for Atmel SoC.
51 To compile this driver as a module, choose M here: the module
59 Generic PWM framework driver for the PWM output of the HLCDC
63 To compile this driver as a module, choose M here: the module
70 Generic PWM framework driver for Atmel Timer Counter Block.
75 To compile this driver as a module, choose M here: the module
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/tty/
Dtty_io.c257 if (!tty || !tty->driver) in tty_driver_name()
259 return tty->driver->name; in tty_driver_name()
292 if (tty->driver->type == TTY_DRIVER_TYPE_PTY && in check_tty_count()
293 tty->driver->subtype == PTY_TYPE_SLAVE && in check_tty_count()
1115 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name() argument
1117 int i = index + driver->name_base; in pty_line_name()
1120 driver->subtype == PTY_TYPE_SLAVE ? "tty" : driver->name, in pty_line_name()
1135 static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name() argument
1137 if (driver->flags & TTY_DRIVER_UNNUMBERED_NODE) in tty_line_name()
1138 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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/pinctrl/qcom/
DKconfig12 tristate "Qualcomm APQ8064 pin controller driver"
16 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
20 tristate "Qualcomm APQ8084 pin controller driver"
24 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
28 tristate "Qualcomm IPQ4019 pin controller driver"
32 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
36 tristate "Qualcomm IPQ8064 pin controller driver"
40 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
44 tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
48 This is the pinctrl, pinmux, pinconf and gpiolib driver for
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]

12345678910>>...262