Home
last modified time | relevance | path

Searched +full:codec +full:- +full:irq (Results 1 – 25 of 271) sorted by relevance

1234567891011

/freebsd/sys/dev/sound/pci/
H A Dvia82c686.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
83 struct resource *reg, *irq; member
86 struct ac97_info *codec; member
112 return bus_space_read_1(via->st, via->sh, regno); in via_rd()
114 return bus_space_read_2(via->st, via->sh, regno); in via_rd()
116 return bus_space_read_4(via->st, via->sh, regno); in via_rd()
128 bus_space_write_1(via->st, via->sh, regno, data); in via_wr()
131 bus_space_write_2(via->st, via->sh, regno, data); in via_wr()
134 bus_space_write_4(via->st, via->sh, regno, data); in via_wr()
[all …]
H A Dfm801.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
143 struct resource *reg, *irq; member
176 return (bus_space_read_1(fm801->st, fm801->sh, regno)); in fm801_rd()
178 return (bus_space_read_2(fm801->st, fm801->sh, regno)); in fm801_rd()
180 return (bus_space_read_4(fm801->st, fm801->sh, regno)); in fm801_rd()
192 bus_space_write_1(fm801->st, fm801->sh, regno, data); in fm801_wr()
195 bus_space_write_2(fm801->st, fm801->sh, regno, data); in fm801_wr()
198 bus_space_write_4(fm801->st, fm801->sh, regno, data); in fm801_wr()
203 /* -------------------------------------------------------------------- */
[all …]
H A Dcsa.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
9 * Copyright (c) 1996-1998 Crystal Semiconductor Corp.
87 struct resource *irq, int flags,
91 struct resource *irq, void *cookie);
192 subcard = card->cards; in csa_findsubcard()
211 device_set_desc(dev, card->name); in csa_probe()
229 scp->dev = dev; in csa_attach()
234 resp = &scp->res; in csa_attach()
235 scp->card = csa_findsubcard(dev); in csa_attach()
[all …]
H A Dcs4281.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
65 /* ------------------------------------------------------------------------- */
91 struct resource *reg, *irq, *mem; member
101 /* -------------------------------------------------------------------- */
122 /* -------------------------------------------------------------------- */
143 /* -------------------------------------------------------------------- */
149 return bus_space_read_4(sc->st, sc->sh, regno); in cs4281_rd()
155 bus_space_write_4(sc->st, sc->sh, regno, data); in cs4281_wr()
184 tries --; in cs4281_waitset()
[all …]
H A Dneomagic.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
38 #include <dev/sound/pci/neomagic-coeff.h>
43 /* -------------------------------------------------------------------- */
66 struct resource *reg, *irq, *buf; member
78 /* -------------------------------------------------------------------- */
117 /* -------------------------------------------------------------------- */
128 /* -------------------------------------------------------------------- */
134 bus_space_tag_t st = rman_get_bustag(sc->reg); in nm_rd()
135 bus_space_handle_t sh = rman_get_bushandle(sc->reg); in nm_rd()
[all …]
H A Dich.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
41 /* -------------------------------------------------------------------- */
80 #define ICH_LOCK(sc) snd_mtxlock((sc)->ich_lock)
81 #define ICH_UNLOCK(sc) snd_mtxunlock((sc)->ich_lock)
82 #define ICH_LOCK_ASSERT(sc) snd_mtxassert((sc)->ich_lock)
145 "AMD-768" },
147 "AMD-8111" }
181 struct resource *nambar, *nabmbar, *irq; member
189 struct ac97_info *codec; member
[all …]
H A Datiixp.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
34 * * 32bit native playback - yay!
54 * Takashi Iwai (ALSA snd-atiixp), for register definitions and some
79 #define ATI_IXP_BLK_ALIGN (~(ATI_IXP_BLK_MIN - 1))
117 struct resource *reg, *irq; member
120 struct ac97_info *codec; member
138 bus_space_read_4((_sc)->st, (_sc)->sh, _reg)
140 bus_space_write_4((_sc)->st, (_sc)->sh, _reg, _val)
142 #define atiixp_lock(_sc) snd_mtxlock((_sc)->lock)
[all …]
H A Dvia8233.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
73 #define VIA_BLK_ALIGN (~(VIA_BLK_MIN - 1))
110 struct resource *reg, *irq; member
113 struct ac97_info *codec; member
149 ret += via->pch[i].active; in via_chan_active()
152 ret += via->rch[i].active; in via_chan_active()
165 dev = oidp->oid_arg1; in sysctl_via8233_spdif_enable()
167 snd_mtxlock(via->lock); in sysctl_via8233_spdif_enable()
169 snd_mtxunlock(via->lock); in sysctl_via8233_spdif_enable()
[all …]
H A Dcsapcm.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
9 * Copyright (c) 1996-1998 Crystal Semiconductor Corp.
80 /* -------------------------------------------------------------------- */
118 /* -------------------------------------------------------------------- */
125 old = csa->active; in csa_active()
126 csa->active += run; in csa_active()
128 if ((csa->active > 1) || (csa->active < -1)) in csa_active()
129 csa->active = 0; in csa_active()
130 if (csa->card->active) in csa_active()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Dab8500.txt1 * AB8500 Multi-Functional Device (MFD)
4 - compatible : contains "stericsson,ab8500" or "stericsson,ab8505";
5 - interrupts : contains the IRQ line for the AB8500
6 - interrupt-controller : describes the AB8500 as an Interrupt Controller (has its own domain)
7 - #interrupt-cells : should be 2, for 2-cell format
8 - The first cell is the AB8500 local IRQ number
9 - The second cell is used to specify optional parameters
10 - bits[3:0] trigger type and level flags:
11 1 = low-to-high edge triggered
12 2 = high-to-low edge triggered
[all …]
H A Dstericsson,ab8500.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ST-Ericsson Analog Baseband AB8500 and AB8505
10 - Linus Walleij <linus.walleij@linaro.org>
13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit
14 handling power management (regulators), analog-to-digital conversion
15 (ADC), battery charging, fuel gauging of the battery, battery-backed
16 RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms
21 USB charging handling has changed, and it has an embedded USB-to-serial
[all …]
H A Dda9055.txt3 DA9055 consists of a large and varied group of sub-devices (I2C Only):
6 ------ ------------ -----------
7 da9055-gpio : : GPIOs
8 da9055-regulator : : Regulators
9 da9055-onkey : : On key
10 da9055-rtc : : RTC
11 da9055-hwmon : : ADC
12 da9055-watchdog : : Watchdog
14 The CODEC device in DA9055 has a separate, configurable I2C address and so
17 For details on accompanying CODEC I2C device, see the following:
[all …]
H A Dx-powers,ac100.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/x-powers,ac100.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AC100
10 - Chen-Yu Tsai <wens@csie.org>
14 const: x-powers,ac100
19 codec:
23 "#clock-cells":
27 const: x-powers,ac100-codec
[all …]
H A Dmotorola-cpcap.txt4 - compatible : One or both of "motorola,cpcap" or "ste,6556002"
5 - reg : SPI chip select
6 - interrupts : The interrupt line the device is connected to
7 - interrupt-controller : Marks the device node as an interrupt controller
8 - #interrupt-cells : The number of cells to describe an IRQ, should be 2
9 - #address-cells : Child device offset number of cells, should be 1
10 - #size-cells : Child device size number of cells, should be 0
11 - spi-max-frequency : Typically set to 3000000
12 - spi-cs-high : SPI chip select direction
16 The sub-functions of CPCAP get their own node with their own compatible values,
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Deverest,es8326.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Everest ES8326 audio CODEC
10 - David Yang <yangxiaohua@everest-semi.com>
21 - description: clock for master clock (MCLK)
23 clock-names:
25 - const: mclk
27 "#sound-dai-cells":
30 everest,jack-pol:
[all …]
H A Ddialog,da7219.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
H A Dnvidia,tegra20-ac97.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra20-ac97.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <treding@nvidia.com>
11 - Jon Hunter <jonathanh@nvidia.com>
15 const: nvidia,tegra20-ac97
23 reset-names:
35 dma-names:
37 - const: rx
[all …]
H A Dda7218.txt1 Dialog Semiconductor DA7218 Audio Codec bindings
3 DA7218 is an audio codec with HP detect feature.
8 - compatible : Should be "dlg,da7217" or "dlg,da7218"
9 - reg: Specifies the I2C slave address
11 - VDD-supply: VDD power supply for the device
12 - VDDMIC-supply: VDDMIC power supply for the device
13 - VDDIO-supply: VDDIO power supply for the device
18 - interrupts: IRQ line info for DA7218 chip.
19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
21 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if
[all …]
H A Dda7219.txt1 Dialog Semiconductor DA7219 Audio Codec bindings
3 DA7219 is an audio codec with advanced accessory detect features.
8 - compatible : Should be "dlg,da7219"
9 - reg: Specifies the I2C slave address
11 - interrupts : IRQ line info for DA7219.
12 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
15 - VDD-supply: VDD power supply for the device
16 - VDDMIC-supply: VDDMIC power supply for the device
17 - VDDIO-supply: VDDIO power supply for the device
22 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if
[all …]
H A Dwm8994.txt1 WM1811/WM8994/WM8958 audio CODEC
8 - compatible : One of "wlf,wm1811", "wlf,wm8994" or "wlf,wm8958".
10 - reg : the I2C address of the device for I2C, the chip select
13 - gpio-controller : Indicates this device is a GPIO controller.
14 - #gpio-cells : Must be 2. The first cell is the pin number and the
17 - power supplies for the device, as covered in
20 - for wlf,wm1811 and wlf,wm8958:
21 AVDD1-supply, AVDD2-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply,
22 DCVDD-supply, CPVDD-supply, SPKVDD1-supply, SPKVDD2-supply
23 - for wlf,wm8994:
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Dcirrus,lochnagar.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
15 Logic devices on mini-cards, as well as allowing connection of various
26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt
29 [3] include/dt-bindings/pinctrl/lochnagar.h
37 - cirrus,lochnagar-pinctrl
39 gpio-controller: true
[all …]
/freebsd/sys/contrib/device-tree/src/xtensa/
H A Dxtfpga.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 compatible = "cdns,xtensa-xtfpga";
4 #address-cells = <1>;
5 #size-cells = <1>;
6 interrupt-parent = <&pic>;
18 #address-cells = <1>;
19 #size-cells = <0>;
21 compatible = "cdns,xtensa-cpu";
28 compatible = "cdns,xtensa-pic";
29 /* one cell: internal irq number,
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dstihxxx-b2120.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <dt-bindings/clock/stih407-clks.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/media/c8sectpfe.h>
11 compatible = "gpio-leds";
12 led-red {
15 linux,default-trigger = "heartbeat";
17 led-green {
19 default-state = "off";
24 compatible = "simple-audio-card";
[all …]
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Dexynos5250-snow-rev5.dts1 // SPDX-License-Identifier: GPL-2.0
10 /dts-v1/;
11 #include "exynos5250-snow-common.dtsi"
15 compatible = "google,snow-rev5", "samsung,exynos5250",
17 chassis-type = "laptop";
20 compatible = "google,snow-audio-max98090";
22 samsung,model = "Snow-I2S-MAX98090";
23 samsung,audio-codec = <&max98090>;
26 sound-dai = <&i2s0 0>;
29 codec {
[all …]
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Dmediatek,vcodec-subdev-decoder.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/media/mediatek,vcodec-subde
[all...]

1234567891011