Home
last modified time | relevance | path

Searched +full:activity +full:- +full:signal +full:- +full:sources (Results 1 – 25 of 60) sorted by relevance

123

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/
Dleds-bcm6328.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Álvaro Fernández Rojas <noltari@gmail.com>
17 as spi-gpio. See
21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
25 should be controlled by a hardware signal instead of the MODE register value,
27 is usually 1:1 for hardware to LED signals, but through the activity/link
29 explained later in brcm,link-signal-sources). Even if a LED is hardware
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-bcm6328.txt7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or
10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
14 should be controlled by a hardware signal instead of the MODE register value,
16 is usually 1:1 for hardware to LED signals, but through the activity/link
18 explained later in brcm,link-signal-sources). Even if a LED is hardware
24 - compatible : should be "brcm,bcm6328-leds".
25 - #address-cells : must be 1.
26 - #size-cells : must be 0.
27 - reg : BCM6328 LED controller address and size.
30 - brcm,serial-leds : Boolean, enables Serial LEDs.
[all …]
/kernel/linux/linux-6.6/arch/mips/boot/dts/brcm/
Dbcm63268-comtrend-vr-3032u.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
7 compatible = "comtrend,vr-3032u", "brcm,bcm63268";
8 model = "Comtrend VR-3032u";
17 stdout-path = &uart0;
23 brcm,serial-leds;
24 brcm,serial-dat-low;
25 brcm,serial-shift-inv;
29 brcm,hardware-controlled;
30 brcm,link-signal-sources = <0>;
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/brcm/
Dbcm63268-comtrend-vr-3032u.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
7 compatible = "comtrend,vr-3032u", "brcm,bcm63268";
8 model = "Comtrend VR-3032u";
17 stdout-path = &uart0;
23 brcm,serial-leds;
24 brcm,serial-dat-low;
25 brcm,serial-shift-inv;
29 brcm,hardware-controlled;
30 brcm,link-signal-sources = <0>;
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-bcm6328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c
59 * struct bcm6328_led - state container for bcm6328 based LEDs
98 * bits [31:0] -> LEDs 8-23
99 * bits [47:32] -> LEDs 0-7
100 * bits [63:48] -> unused
105 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift()
107 return pin - 8; /* LEDs 8-23 (bits 31:0) */ in bcm6328_pin2shift()
115 shift = bcm6328_pin2shift(led->pin); in bcm6328_led_mode()
117 mode = led->mem + BCM6328_REG_MODE_HI; in bcm6328_led_mode()
[all …]
/kernel/linux/linux-6.6/drivers/leds/
Dleds-bcm6328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c
59 * struct bcm6328_led - state container for bcm6328 based LEDs
98 * bits [31:0] -> LEDs 8-23
99 * bits [47:32] -> LEDs 0-7
100 * bits [63:48] -> unused
105 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift()
107 return pin - 8; /* LEDs 8-23 (bits 31:0) */ in bcm6328_pin2shift()
115 shift = bcm6328_pin2shift(led->pin); in bcm6328_led_mode()
117 mode = led->mem + BCM6328_REG_MODE_HI; in bcm6328_led_mode()
[all …]
/kernel/linux/linux-6.6/Documentation/sound/soc/
Ddapm.rst11 such, can easily co-exist with the other PM systems.
17 activity and audio mixer settings within the device.
39 audio subsystem signal paths
60 Audio DAPM widgets fall into a number of types:-
63 Mixes several analog signals into a single analog signal.
97 Signal Generator.
127 (Widgets are defined in include/sound/soc-dapm.h)
130 There are convenience macros defined in soc-dapm.h that can be used to quickly
138 ---------------------
144 Stream widgets have the following format:-
[all …]
/kernel/linux/linux-5.10/Documentation/sound/soc/
Ddapm.rst11 such, can easily co-exist with the other PM systems.
17 activity and audio mixer settings within the device.
39 audio subsystem signal paths
60 Audio DAPM widgets fall into a number of types:-
63 Mixes several analog signals into a single analog signal.
97 Signal Generator.
127 (Widgets are defined in include/sound/soc-dapm.h)
130 There are convenience macros defined in soc-dapm.h that can be used to quickly
138 ---------------------
144 Stream widgets have the following format:-
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcs47l15.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2016-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
33 /* Mid-mode registers */
39 #define DRV_NAME "cs47l15-codec"
72 snd_soc_dapm_to_component(w->dapm); in cs47l15_adsp_power_ev()
74 struct madera_priv *priv = &cs47l15->core; in cs47l15_adsp_power_ev()
75 struct madera *madera = priv->madera; in cs47l15_adsp_power_ev()
79 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq); in cs47l15_adsp_power_ev()
81 dev_err(madera->dev, in cs47l15_adsp_power_ev()
[all …]
Dcs47l35.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
33 #define DRV_NAME "cs47l35-codec"
90 snd_soc_dapm_to_component(w->dapm); in cs47l35_adsp_power_ev()
92 struct madera_priv *priv = &cs47l35->core; in cs47l35_adsp_power_ev()
93 struct madera *madera = priv->madera; in cs47l35_adsp_power_ev()
97 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq); in cs47l35_adsp_power_ev()
99 dev_err(madera->dev, in cs47l35_adsp_power_ev()
109 ret = madera_set_adsp_clk(&cs47l35->core, w->shift, freq); in cs47l35_adsp_power_ev()
[all …]
Dcs47l92.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2016-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
33 #define DRV_NAME "cs47l92-codec"
60 struct madera_priv *priv = &cs47l92->core; in cs47l92_put_demux()
61 struct madera *madera = priv->madera; in cs47l92_put_demux()
62 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in cs47l92_put_demux()
67 if (ucontrol->value.enumerated.item[0] > e->items - 1) in cs47l92_put_demux()
68 return -EINVAL; in cs47l92_put_demux()
70 mux = ucontrol->value.enumerated.item[0]; in cs47l92_put_demux()
[all …]
Dcs47l85.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
30 #define DRV_NAME "cs47l85-codec"
114 snd_soc_dapm_to_component(w->dapm); in cs47l85_adsp_power_ev()
116 struct madera_priv *priv = &cs47l85->core; in cs47l85_adsp_power_ev()
117 struct madera *madera = priv->madera; in cs47l85_adsp_power_ev()
121 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq); in cs47l85_adsp_power_ev()
123 dev_err(madera->dev, in cs47l85_adsp_power_ev()
133 ret = madera_set_adsp_clk(&cs47l85->core, w->shift, freq); in cs47l85_adsp_power_ev()
[all …]
Dcs47l90.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
30 #define DRV_NAME "cs47l90-codec"
114 snd_soc_dapm_to_component(w->dapm); in cs47l90_adsp_power_ev()
116 struct madera_priv *priv = &cs47l90->core; in cs47l90_adsp_power_ev()
117 struct madera *madera = priv->madera; in cs47l90_adsp_power_ev()
121 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq); in cs47l90_adsp_power_ev()
123 dev_err(madera->dev, in cs47l90_adsp_power_ev()
130 ret = madera_set_adsp_clk(&cs47l90->core, w->shift, freq); in cs47l90_adsp_power_ev()
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dcs47l15.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2016-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
33 /* Mid-mode registers */
39 #define DRV_NAME "cs47l15-codec"
72 snd_soc_dapm_to_component(w->dapm); in cs47l15_adsp_power_ev()
74 struct madera_priv *priv = &cs47l15->core; in cs47l15_adsp_power_ev()
75 struct madera *madera = priv->madera; in cs47l15_adsp_power_ev()
79 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq); in cs47l15_adsp_power_ev()
81 dev_err(madera->dev, in cs47l15_adsp_power_ev()
[all …]
Dcs47l35.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
33 #define DRV_NAME "cs47l35-codec"
90 snd_soc_dapm_to_component(w->dapm); in cs47l35_adsp_power_ev()
92 struct madera_priv *priv = &cs47l35->core; in cs47l35_adsp_power_ev()
93 struct madera *madera = priv->madera; in cs47l35_adsp_power_ev()
97 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq); in cs47l35_adsp_power_ev()
99 dev_err(madera->dev, in cs47l35_adsp_power_ev()
109 ret = madera_set_adsp_clk(&cs47l35->core, w->shift, freq); in cs47l35_adsp_power_ev()
[all …]
Dcs47l92.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2016-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
33 #define DRV_NAME "cs47l92-codec"
60 struct madera_priv *priv = &cs47l92->core; in cs47l92_put_demux()
61 struct madera *madera = priv->madera; in cs47l92_put_demux()
62 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in cs47l92_put_demux()
67 if (ucontrol->value.enumerated.item[0] > e->items - 1) in cs47l92_put_demux()
68 return -EINVAL; in cs47l92_put_demux()
70 mux = ucontrol->value.enumerated.item[0]; in cs47l92_put_demux()
[all …]
Dcs47l85.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
30 #define DRV_NAME "cs47l85-codec"
114 snd_soc_dapm_to_component(w->dapm); in cs47l85_adsp_power_ev()
116 struct madera_priv *priv = &cs47l85->core; in cs47l85_adsp_power_ev()
117 struct madera *madera = priv->madera; in cs47l85_adsp_power_ev()
121 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq); in cs47l85_adsp_power_ev()
123 dev_err(madera->dev, in cs47l85_adsp_power_ev()
133 ret = madera_set_adsp_clk(&cs47l85->core, w->shift, freq); in cs47l85_adsp_power_ev()
[all …]
Dcs47l90.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
23 #include <linux/irqchip/irq-madera.h>
30 #define DRV_NAME "cs47l90-codec"
114 snd_soc_dapm_to_component(w->dapm); in cs47l90_adsp_power_ev()
116 struct madera_priv *priv = &cs47l90->core; in cs47l90_adsp_power_ev()
117 struct madera *madera = priv->madera; in cs47l90_adsp_power_ev()
121 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq); in cs47l90_adsp_power_ev()
123 dev_err(madera->dev, in cs47l90_adsp_power_ev()
130 ret = madera_set_adsp_clk(&cs47l90->core, w->shift, freq); in cs47l90_adsp_power_ev()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c30 #include <linux/amd-iommu.h>
58 /* Ordered, single-threaded workqueue for restoring evicted
61 * their BOs and result in a live-lock situation where processes
81 * Structure for SDMA activity tracking
114 pdd = workarea->pdd; in kfd_sdma_activity_worker()
117 dqm = pdd->dev->dqm; in kfd_sdma_activity_worker()
118 qpd = &pdd->qpd; in kfd_sdma_activity_worker()
122 * Total SDMA activity is current SDMA activity + past SDMA activity in kfd_sdma_activity_worker()
124 * To get the current activity counters for all active SDMA queues, in kfd_sdma_activity_worker()
125 * we loop over all SDMA queues and get their counts from user-space. in kfd_sdma_activity_worker()
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
Dprm3xxx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2010-2012 Texas Instruments, Inc.
26 #include "prm-regbits-34xx.h"
28 #include "cm-regbits-34xx.h"
57 * omap3_prm_reset_src_map - map from bits in the PRM_RSTST hardware
59 * bit shifts (which is an OMAP SoC-independent enumeration)
74 { -1, -1 },
80 * struct omap3_vp - OMAP3 VP register access description.
105 return irqstatus & vp->tranxdone_status; in omap3_prm_vp_check_txdone()
112 omap2_prm_write_mod_reg(vp->tranxdone_status, in omap3_prm_vp_clear_txdone()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dprm3xxx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2010-2012 Texas Instruments, Inc.
26 #include "prm-regbits-34xx.h"
28 #include "cm-regbits-34xx.h"
56 * omap3_prm_reset_src_map - map from bits in the PRM_RSTST hardware
58 * bit shifts (which is an OMAP SoC-independent enumeration)
73 { -1, -1 },
79 * struct omap3_vp - OMAP3 VP register access description.
104 return irqstatus & vp->tranxdone_status; in omap3_prm_vp_check_txdone()
111 omap2_prm_write_mod_reg(vp->tranxdone_status, in omap3_prm_vp_clear_txdone()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dde4x5.h16 #define DE4X5_BMR iobase+(0x000 << lp->bus) /* Bus Mode Register */
17 #define DE4X5_TPD iobase+(0x008 << lp->bus) /* Transmit Poll Demand Reg */
18 #define DE4X5_RPD iobase+(0x010 << lp->bus) /* Receive Poll Demand Reg */
19 #define DE4X5_RRBA iobase+(0x018 << lp->bus) /* RX Ring Base Address Reg */
20 #define DE4X5_TRBA iobase+(0x020 << lp->bus) /* TX Ring Base Address Reg */
21 #define DE4X5_STS iobase+(0x028 << lp->bus) /* Status Register */
22 #define DE4X5_OMR iobase+(0x030 << lp->bus) /* Operation Mode Register */
23 #define DE4X5_IMR iobase+(0x038 << lp->bus) /* Interrupt Mask Register */
24 #define DE4X5_MFC iobase+(0x040 << lp->bus) /* Missed Frame Counter */
25 #define DE4X5_APROM iobase+(0x048 << lp->bus) /* Ethernet Address PROM */
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2014-2022 Advanced Micro Devices, Inc.
60 /* Ordered, single-threaded workqueue for restoring evicted
63 * their BOs and result in a live-lock situation where processes
85 * Structure for SDMA activity tracking
116 pdd = workarea->pdd; in kfd_sdma_activity_worker()
119 dqm = pdd->dev->dqm; in kfd_sdma_activity_worker()
120 qpd = &pdd->qpd; in kfd_sdma_activity_worker()
124 * Total SDMA activity is current SDMA activity + past SDMA activity in kfd_sdma_activity_worker()
126 * To get the current activity counters for all active SDMA queues, in kfd_sdma_activity_worker()
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/pm/
Ddevices.rst1 .. SPDX-License-Identifier: GPL-2.0
10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
18 management (PM) code is also driver-specific. Most drivers will do very
22 This writeup gives an overview of how drivers interact with system-wide
25 background for the domain-specific work you'd do with any specific driver.
31 Drivers will use one or both of these models to put devices into low-power
36 Drivers can enter low-power states as part of entering system-wide
37 low-power states like "suspend" (also known as "suspend-to-RAM"), or
39 "suspend-to-disk").
42 by implementing various role-specific suspend and resume methods to
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/pm/
Ddevices.rst1 .. SPDX-License-Identifier: GPL-2.0
10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
18 management (PM) code is also driver-specific. Most drivers will do very
22 This writeup gives an overview of how drivers interact with system-wide
25 background for the domain-specific work you'd do with any specific driver.
31 Drivers will use one or both of these models to put devices into low-power
36 Drivers can enter low-power states as part of entering system-wide
37 low-power states like "suspend" (also known as "suspend-to-RAM"), or
39 "suspend-to-disk").
42 by implementing various role-specific suspend and resume methods to
[all …]

123