Home
last modified time | relevance | path

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

12345678910>>...257

/linux-6.6.21/drivers/phy/broadcom/
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-6.6.21/mm/
Dzpool.c22 struct zpool_driver *driver; member
33 void zpool_register_driver(struct zpool_driver *driver) in zpool_register_driver() argument
36 atomic_set(&driver->refcount, 0); in zpool_register_driver()
37 list_add(&driver->list, &drivers_head); in zpool_register_driver()
52 int zpool_unregister_driver(struct zpool_driver *driver) in zpool_unregister_driver() argument
57 refcount = atomic_read(&driver->refcount); in zpool_unregister_driver()
62 list_del(&driver->list); in zpool_unregister_driver()
72 struct zpool_driver *driver; in zpool_get_driver() local
75 list_for_each_entry(driver, &drivers_head, list) { in zpool_get_driver()
76 if (!strcmp(driver->type, type)) { in zpool_get_driver()
[all …]
/linux-6.6.21/drivers/clk/mediatek/
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-6.6.21/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.c96 if (component->driver->set_sysclk) in snd_soc_component_set_sysclk()
97 ret = component->driver->set_sysclk(component, clk_id, source, in snd_soc_component_set_sysclk()
120 if (component->driver->set_pll) in snd_soc_component_set_pll()
121 ret = component->driver->set_pll(component, pll_id, source, in snd_soc_component_set_pll()
131 if (component->driver->seq_notifier) in snd_soc_component_seq_notifier()
132 component->driver->seq_notifier(component, type, subseq); in snd_soc_component_seq_notifier()
140 if (component->driver->stream_event) in snd_soc_component_stream_event()
141 ret = component->driver->stream_event(component, event); in snd_soc_component_stream_event()
151 if (component->driver->set_bias_level) in snd_soc_component_set_bias_level()
152 ret = component->driver->set_bias_level(component, level); in snd_soc_component_set_bias_level()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/usb/serial/
Dbus.c20 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-6.6.21/drivers/gpu/drm/gma500/
Dmmu.c56 static inline void psb_mmu_clflush(struct psb_mmu_driver *driver, void *addr) in psb_mmu_clflush() argument
58 if (!driver->has_clflush) in psb_mmu_clflush()
66 static void psb_mmu_flush_pd_locked(struct psb_mmu_driver *driver, int force) in psb_mmu_flush_pd_locked() argument
68 struct drm_device *dev = driver->dev; in psb_mmu_flush_pd_locked()
71 if (atomic_read(&driver->needs_tlbflush) || force) { in psb_mmu_flush_pd_locked()
79 if (driver->msvdx_mmu_invaldc) in psb_mmu_flush_pd_locked()
80 atomic_set(driver->msvdx_mmu_invaldc, 1); in psb_mmu_flush_pd_locked()
82 atomic_set(&driver->needs_tlbflush, 0); in psb_mmu_flush_pd_locked()
86 static void psb_mmu_flush_pd(struct psb_mmu_driver *driver, int force)
88 down_write(&driver->sem);
[all …]
/linux-6.6.21/drivers/pinctrl/freescale/
DKconfig21 bool "IMX1 pinctrl driver"
25 Say Y here to enable the imx1 pinctrl driver
28 bool "IMX27 pinctrl driver"
32 Say Y here to enable the imx27 pinctrl driver
36 bool "IMX25 pinctrl driver"
41 Say Y here to enable the imx25 pinctrl driver
44 bool "IMX35 pinctrl driver"
48 Say Y here to enable the imx35 pinctrl driver
51 bool "IMX50 pinctrl driver"
55 Say Y here to enable the imx50 pinctrl driver
[all …]
/linux-6.6.21/drivers/vfio/
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-6.6.21/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-6.6.21/drivers/pinctrl/qcom/
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 IPQ4019 pin controller driver"
22 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
26 tristate "Qualcomm Technologies, Inc. IPQ5018 pin controller driver"
29 This is the pinctrl, pinmux, pinconf and gpiolib driver for
35 tristate "Qualcomm IPQ8064 pin controller driver"
38 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
[all …]
/linux-6.6.21/drivers/pci/endpoint/
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()
303 static void pci_epf_remove_cfs(struct pci_epf_driver *driver) in pci_epf_remove_cfs() argument
311 list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) in pci_epf_remove_cfs()
[all …]
/linux-6.6.21/drivers/interconnect/qcom/
DKconfig12 tristate "Qualcomm MSM8916 interconnect driver"
17 This is a driver for the Qualcomm Network-on-Chip on msm8916-based
21 tristate "Qualcomm MSM8939 interconnect driver"
26 This is a driver for the Qualcomm Network-on-Chip on msm8939-based
30 tristate "Qualcomm MSM8974 interconnect driver"
35 This is a driver for the Qualcomm Network-on-Chip on msm8974-based
39 tristate "Qualcomm MSM8996 interconnect driver"
44 This is a driver for the Qualcomm Network-on-Chip on msm8996-based
48 tristate "Qualcomm OSM L3 interconnect driver"
52 driver which controls the scaling of L3 caches on Qualcomm SoCs.
[all …]
/linux-6.6.21/drivers/tty/
Dtty_io.c254 if (!tty || !tty->driver) in tty_driver_name()
256 return tty->driver->name; in tty_driver_name()
284 if (tty->driver->type == TTY_DRIVER_TYPE_PTY && in check_tty_count()
285 tty->driver->subtype == PTY_TYPE_SLAVE && in check_tty_count()
1180 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name() argument
1183 int i = index + driver->name_base; in pty_line_name()
1186 driver->subtype == PTY_TYPE_SLAVE ? "tty" : driver->name, in pty_line_name()
1201 static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name() argument
1203 if (driver->flags & TTY_DRIVER_UNNUMBERED_NODE) in tty_line_name()
1204 return sprintf(p, "%s", driver->name); in tty_line_name()
[all …]
/linux-6.6.21/drivers/hid/intel-ish-hid/ishtp/
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
244 return(device->fw_client ? guid_equal(&driver->id[0].guid, in ishtp_cl_bus_match()
261 struct ishtp_cl_driver *driver = to_ishtp_cl_driver(dev->driver); in ishtp_cl_device_remove() local
268 if (driver->remove) in ishtp_cl_device_remove()
269 driver->remove(device); in ishtp_cl_device_remove()
[all …]
/linux-6.6.21/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 tristate "Actions Semi ATC260x PMIC power-off driver"
46 This driver provides power-off and restart support for a system
[all …]
/linux-6.6.21/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
58 Generic PWM framework driver for PWM controller present on
63 To compile this driver as a module, choose M here: the module
71 Generic PWM framework driver for Atmel SoC.
73 To compile this driver as a module, choose M here: the module
[all …]
/linux-6.6.21/arch/s390/pci/
Dpci_event.c67 static bool is_driver_supported(struct pci_driver *driver) in is_driver_supported() argument
69 if (!driver || !driver->err_handler) in is_driver_supported()
71 if (!driver->err_handler->error_detected) in is_driver_supported()
73 if (!driver->err_handler->slot_reset) in is_driver_supported()
75 if (!driver->err_handler->resume) in is_driver_supported()
81 struct pci_driver *driver) in zpci_event_notify_error_detected() argument
85 ers_res = driver->err_handler->error_detected(pdev, pdev->error_state); in zpci_event_notify_error_detected()
95 struct pci_driver *driver) in zpci_event_do_error_state_clear() argument
109 if (driver->err_handler->mmio_enabled) { in zpci_event_do_error_state_clear()
110 ers_res = driver->err_handler->mmio_enabled(pdev); in zpci_event_do_error_state_clear()
[all …]
/linux-6.6.21/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
71 tristate "Marvell CP110 UTMI driver"
[all …]
/linux-6.6.21/drivers/pinctrl/intel/
DKconfig10 driver for memory mapped GPIO functionality on Intel Baytrail
18 tristate "Intel Cherryview/Braswell pinctrl and GPIO driver"
21 Cherryview/Braswell pinctrl driver provides an interface that
25 tristate "Intel Lynxpoint pinctrl and GPIO driver"
28 Lynxpoint is the PCH of Intel Haswell. This pinctrl driver
41 tristate "Intel Alder Lake pinctrl and GPIO driver"
44 This pinctrl driver provides an interface that allows configuring
48 tristate "Intel Broxton pinctrl and GPIO driver"
51 Broxton pinctrl driver provides an interface that allows
55 tristate "Intel Cannon Lake PCH pinctrl and GPIO driver"
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/pinctrl/bcm/
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 …]

12345678910>>...257