Home
last modified time | relevance | path

Searched full:dac (Results 1 – 25 of 1022) sorted by relevance

12345678910>>...41

/linux-6.12.1/drivers/net/wireless/broadcom/b43/
Dtables_lpphy.c1070 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, },
1071 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, },
1072 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, },
1073 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, },
1074 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, },
1075 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, },
1076 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, },
1077 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, },
1078 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, },
1079 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, },
[all …]
/linux-6.12.1/sound/soc/img/
Dpistachio-internal-dac.c3 * Pistachio internal dac driver
53 SND_SOC_DAPM_DAC("DAC", "Playback", SND_SOC_NOPM, 0, 0),
59 { "AOUTL", NULL, "DAC" },
60 { "AOUTR", NULL, "DAC" },
82 static void pistachio_internal_dac_pwr_off(struct pistachio_internal_dac *dac) in pistachio_internal_dac_pwr_off() argument
84 regmap_update_bits(dac->regmap, PISTACHIO_INTERNAL_DAC_CTRL, in pistachio_internal_dac_pwr_off()
88 pistachio_internal_dac_reg_writel(dac->regmap, 0, in pistachio_internal_dac_pwr_off()
92 static void pistachio_internal_dac_pwr_on(struct pistachio_internal_dac *dac) in pistachio_internal_dac_pwr_on() argument
94 regmap_update_bits(dac->regmap, PISTACHIO_INTERNAL_DAC_SRST, in pistachio_internal_dac_pwr_on()
98 regmap_update_bits(dac->regmap, PISTACHIO_INTERNAL_DAC_SRST, in pistachio_internal_dac_pwr_on()
[all …]
/linux-6.12.1/drivers/iio/dac/
Dad3552r.c228 /* DAC powerdown */
230 /* DAC amplifier powerdown */
249 /* Channel select. When set allow Input -> DAC and Mask -> DAC */
350 static int ad3552r_transfer(struct ad3552r_desc *dac, u8 addr, u32 len, in ad3552r_transfer() argument
359 return spi_write_then_read(dac->spi, buf, 1, data, len); in ad3552r_transfer()
362 return spi_write_then_read(dac->spi, buf, len + 1, NULL, 0); in ad3552r_transfer()
365 static int ad3552r_write_reg(struct ad3552r_desc *dac, u8 addr, u16 val) in ad3552r_write_reg() argument
372 /* Only DAC register are 2 bytes wide */ in ad3552r_write_reg()
380 return ad3552r_transfer(dac, addr, reg_len, buf, false); in ad3552r_write_reg()
383 static int ad3552r_read_reg(struct ad3552r_desc *dac, u8 addr, u16 *val) in ad3552r_read_reg() argument
[all …]
Dlpc18xx_dac.c3 * IIO DAC driver for NXP LPC18xx DAC
24 /* LPC18XX DAC registers and bits */
52 struct lpc18xx_dac *dac = iio_priv(indio_dev); in lpc18xx_dac_read_raw() local
57 reg = readl(dac->base + LPC18XX_DAC_CR); in lpc18xx_dac_read_raw()
64 *val = regulator_get_voltage(dac->vref) / 1000; in lpc18xx_dac_read_raw()
77 struct lpc18xx_dac *dac = iio_priv(indio_dev); in lpc18xx_dac_write_raw() local
88 mutex_lock(&dac->lock); in lpc18xx_dac_write_raw()
89 writel(reg, dac->base + LPC18XX_DAC_CR); in lpc18xx_dac_write_raw()
90 writel(LPC18XX_DAC_CTRL_DMA_ENA, dac->base + LPC18XX_DAC_CTRL); in lpc18xx_dac_write_raw()
91 mutex_unlock(&dac->lock); in lpc18xx_dac_write_raw()
[all …]
DKconfig3 # DAC drivers
10 tristate "Analog Devices AD3552R DAC driver"
22 tristate "Analog Devices AD5064 and similar multi-channel DAC driver"
36 tristate "Analog Devices AD5360/61/62/63/70/71/73 DAC driver"
41 Digital to Analog Converters (DAC).
47 tristate "Analog Devices AD5380/81/82/83/84/90/91/92 DAC driver"
54 Digital to Analog Converters (DAC).
60 tristate "Analog Devices AD5421 DAC driver"
64 digital-to-analog convertors (DAC).
96 tristate "Analog Devices AD5592R ADC/DAC driver"
[all …]
Ddpot-dac.c3 * IIO DAC emulation driver using a digital potentiometer
24 * | '---' dac output voltage
56 struct dpot_dac *dac = iio_priv(indio_dev); in dpot_dac_read_raw() local
62 return iio_read_channel_raw(dac->dpot, val); in dpot_dac_read_raw()
65 ret = iio_read_channel_scale(dac->dpot, val, val2); in dpot_dac_read_raw()
69 do_div(tmp, dac->max_ohms); in dpot_dac_read_raw()
70 tmp *= regulator_get_voltage(dac->vref) / 1000; in dpot_dac_read_raw()
84 *val *= regulator_get_voltage(dac->vref) / 1000; in dpot_dac_read_raw()
85 *val2 *= dac->max_ohms; in dpot_dac_read_raw()
100 struct dpot_dac *dac = iio_priv(indio_dev); in dpot_dac_read_avail() local
[all …]
Dstm32-dac.c3 * This file is part of STM32 DAC driver
22 #include "stm32-dac-core.h"
31 * struct stm32_dac - private data of DAC driver
32 * @common: reference to DAC common data
43 struct stm32_dac *dac = iio_priv(indio_dev); in stm32_dac_is_enabled() local
47 ret = regmap_read(dac->common->regmap, STM32_DAC_CR, &val); in stm32_dac_is_enabled()
61 struct stm32_dac *dac = iio_priv(indio_dev); in stm32_dac_set_enable_state() local
68 mutex_lock(&dac->lock); in stm32_dac_set_enable_state()
71 mutex_unlock(&dac->lock); in stm32_dac_set_enable_state()
78 mutex_unlock(&dac->lock); in stm32_dac_set_enable_state()
[all …]
/linux-6.12.1/sound/soc/codecs/
Drk817_codec.c143 SND_SOC_DAPM_SUPPLY("DAC Clock", RK817_CODEC_DTOP_DIGEN_CLKE, 3, 0, NULL, 0),
145 SND_SOC_DAPM_SUPPLY("DAC Channel Enable", RK817_CODEC_DTOP_DIGEN_CLKE, 1, 0, NULL, 0),
147 SND_SOC_DAPM_SUPPLY("DAC Bias", RK817_CODEC_ADAC_CFG1, 3, 1, NULL, 0),
148 SND_SOC_DAPM_SUPPLY("DAC Mute Off", RK817_CODEC_DDAC_MUTE_MIXCTL, 0, 1, NULL, 0),
153 SND_SOC_DAPM_DAC("SPK DAC", "Playback", RK817_CODEC_ADAC_CFG1, 2, 1),
168 SND_SOC_DAPM_DAC("DAC L", "Playback", RK817_CODEC_ADAC_CFG1, 1, 1),
169 SND_SOC_DAPM_DAC("DAC R", "Playback", RK817_CODEC_ADAC_CFG1, 0, 1),
223 {"SPK DAC", NULL, "LDO Regulator"},
224 {"SPK DAC", NULL, "IBIAS Block"},
225 {"SPK DAC", NULL, "VAvg Buffer"},
[all …]
Drt5665.c979 SOC_DAPM_ENUM("IF2_1 DAC Swap Source", rt5665_if2_1_dac_enum);
985 SOC_DAPM_ENUM("IF2_2 DAC Swap Source", rt5665_if2_2_dac_enum);
991 SOC_DAPM_ENUM("IF3 DAC Swap Source", rt5665_if3_dac_enum);
1408 /* DAC Digital Volume */
1648 SOC_DAPM_SINGLE("DAC L1 Switch", RT5665_STO1_DAC_MIXER,
1650 SOC_DAPM_SINGLE("DAC R1 Switch", RT5665_STO1_DAC_MIXER,
1652 SOC_DAPM_SINGLE("DAC L2 Switch", RT5665_STO1_DAC_MIXER,
1654 SOC_DAPM_SINGLE("DAC R2 Switch", RT5665_STO1_DAC_MIXER,
1659 SOC_DAPM_SINGLE("DAC L1 Switch", RT5665_STO1_DAC_MIXER,
1661 SOC_DAPM_SINGLE("DAC R1 Switch", RT5665_STO1_DAC_MIXER,
[all …]
Drt5659.c1186 SOC_DAPM_ENUM("IF2 DAC Swap Source", rt5659_if2_dac_enum);
1192 SOC_DAPM_ENUM("IF3 DAC Swap Source", rt5659_if3_dac_enum);
1496 /* DAC Digital Volume */
1548 SOC_SINGLE("DAC IF1 DAC1 L Data Switch", RT5659_TDM_CTRL_4, 12, 7, 0),
1549 SOC_SINGLE("DAC IF1 DAC1 R Data Switch", RT5659_TDM_CTRL_4, 8, 7, 0),
1550 SOC_SINGLE("DAC IF1 DAC2 L Data Switch", RT5659_TDM_CTRL_4, 4, 7, 0),
1551 SOC_SINGLE("DAC IF1 DAC2 R Data Switch", RT5659_TDM_CTRL_4, 0, 7, 0),
1763 SOC_DAPM_SINGLE("DAC L1 Switch", RT5659_STO_DAC_MIXER,
1765 SOC_DAPM_SINGLE("DAC R1 Switch", RT5659_STO_DAC_MIXER,
1767 SOC_DAPM_SINGLE("DAC L2 Switch", RT5659_STO_DAC_MIXER,
[all …]
Drt5670.c690 /* DAC Digital Volume */
698 SOC_DOUBLE_TLV("Mono DAC Playback Volume", RT5670_DAC2_DIG_VOL,
731 SOC_ENUM("DAC IF2 Data Switch", rt5670_if2_dac_enum),
1005 SOC_DAPM_SINGLE("DAC L1 Switch", RT5670_STO_DAC_MIXER,
1007 SOC_DAPM_SINGLE("DAC L2 Switch", RT5670_STO_DAC_MIXER,
1009 SOC_DAPM_SINGLE("DAC R1 Switch", RT5670_STO_DAC_MIXER,
1014 SOC_DAPM_SINGLE("DAC R1 Switch", RT5670_STO_DAC_MIXER,
1016 SOC_DAPM_SINGLE("DAC R2 Switch", RT5670_STO_DAC_MIXER,
1018 SOC_DAPM_SINGLE("DAC L1 Switch", RT5670_STO_DAC_MIXER,
1023 SOC_DAPM_SINGLE("DAC L1 Switch", RT5670_DD_MIXER,
[all …]
Drt5640.c399 /* DAC Digital Volume */
439 SOC_ENUM("DAC IF1 Data Switch", rt5640_if1_dac_enum),
441 SOC_ENUM("DAC IF2 Data Switch", rt5640_if2_dac_enum),
532 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_STO_DAC_MIXER,
534 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_STO_DAC_MIXER,
541 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_STO_DAC_MIXER,
543 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_STO_DAC_MIXER,
550 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_STO_DAC_MIXER,
552 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_STO_DAC_MIXER,
557 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_STO_DAC_MIXER,
[all …]
Drt5645.c824 /* DAC Digital Volume */
829 SOC_DOUBLE_TLV("Mono DAC Playback Volume", RT5645_DAC2_DIG_VOL,
1098 SOC_DAPM_SINGLE("DAC L1 Switch", RT5645_STO_DAC_MIXER,
1100 SOC_DAPM_SINGLE("DAC L2 Switch", RT5645_STO_DAC_MIXER,
1102 SOC_DAPM_SINGLE("DAC R1 Switch", RT5645_STO_DAC_MIXER,
1107 SOC_DAPM_SINGLE("DAC R1 Switch", RT5645_STO_DAC_MIXER,
1109 SOC_DAPM_SINGLE("DAC R2 Switch", RT5645_STO_DAC_MIXER,
1111 SOC_DAPM_SINGLE("DAC L1 Switch", RT5645_STO_DAC_MIXER,
1116 SOC_DAPM_SINGLE("DAC L1 Switch", RT5645_MONO_DAC_MIXER,
1118 SOC_DAPM_SINGLE("DAC L2 Switch", RT5645_MONO_DAC_MIXER,
[all …]
Dsti-sas.c17 /* DAC definitions */
19 /* stih407 DAC registers */
22 /* sysconf 5042: Audio-DAC-Control */
25 /* DAC definitions */
65 const struct snd_soc_dai_ops *dac_ops; /* DAC function callbacks */
72 struct sti_dac_audio dac; member
84 status = regmap_read(drvdata->dac.regmap, reg, &val); in sti_sas_read_reg()
96 return regmap_write(drvdata->dac.regmap, reg, value); in sti_sas_write_reg()
104 * DAC and SPDIF are activated by default in sti_sas_init_sas_registers()
121 /* Init DAC configuration */ in sti_sas_init_sas_registers()
[all …]
Drt5651.c322 /* DAC Digital Volume */
328 SOC_DOUBLE_TLV("Mono DAC Playback Volume", RT5651_DAC2_DIG_VOL,
365 SOC_ENUM("DAC IF2 Data Switch", rt5651_if2_dac_enum),
439 SOC_DAPM_SINGLE("DAC L1 Switch", RT5651_STO_DAC_MIXER,
441 SOC_DAPM_SINGLE("DAC L2 Switch", RT5651_STO_DAC_MIXER,
443 SOC_DAPM_SINGLE("DAC R1 Switch", RT5651_STO_DAC_MIXER,
448 SOC_DAPM_SINGLE("DAC R1 Switch", RT5651_STO_DAC_MIXER,
450 SOC_DAPM_SINGLE("DAC R2 Switch", RT5651_STO_DAC_MIXER,
452 SOC_DAPM_SINGLE("DAC L1 Switch", RT5651_STO_DAC_MIXER,
457 SOC_DAPM_SINGLE("DAC L1 Switch", RT5651_DD_MIXER,
[all …]
Drt5677.c1008 /* DAC Digital Volume */
1591 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix L Switch", RT5677_DD1_MIXER,
1593 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix L Switch", RT5677_DD1_MIXER,
1602 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix R Switch", RT5677_DD1_MIXER,
1604 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix R Switch", RT5677_DD1_MIXER,
1613 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix L Switch", RT5677_DD2_MIXER,
1615 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix L Switch", RT5677_DD2_MIXER,
1624 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix R Switch", RT5677_DD2_MIXER,
1626 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix R Switch", RT5677_DD2_MIXER,
1740 "IF1 DAC 01", "IF2 DAC 01", "IF3 DAC LR", "IF4 DAC LR", "SLB DAC 01",
[all …]
Drt5660.c315 /* DAC Digital Volume */
412 SOC_DAPM_SINGLE("DAC L1 Switch", RT5660_STO_DAC_MIXER,
414 SOC_DAPM_SINGLE("DAC R1 Switch", RT5660_STO_DAC_MIXER,
419 SOC_DAPM_SINGLE("DAC R1 Switch", RT5660_STO_DAC_MIXER,
421 SOC_DAPM_SINGLE("DAC L1 Switch", RT5660_STO_DAC_MIXER,
501 SOC_DAPM_SINGLE("DAC Switch", RT5660_LOUT_MIXER,
531 SOC_DAPM_ENUM("IF1 DAC Swap Source", rt5660_if1_dac_enum);
631 SND_SOC_DAPM_PGA("IF1 DAC", SND_SOC_NOPM, 0, 0, NULL, 0),
632 SND_SOC_DAPM_PGA("IF1 DAC L", SND_SOC_NOPM, 0, 0, NULL, 0),
633 SND_SOC_DAPM_PGA("IF1 DAC R", SND_SOC_NOPM, 0, 0, NULL, 0),
[all …]
Drt5616.c320 /* DAC Digital Volume */
385 SOC_DAPM_SINGLE("DAC L1 Switch", RT5616_STO_DAC_MIXER,
387 SOC_DAPM_SINGLE("DAC R1 Switch", RT5616_STO_DAC_MIXER,
392 SOC_DAPM_SINGLE("DAC R1 Switch", RT5616_STO_DAC_MIXER,
394 SOC_DAPM_SINGLE("DAC L1 Switch", RT5616_STO_DAC_MIXER,
428 SOC_DAPM_SINGLE("DAC L1 Switch", RT5616_OUT_L3_MIXER,
441 SOC_DAPM_SINGLE("DAC R1 Switch", RT5616_OUT_R3_MIXER,
453 SOC_DAPM_SINGLE("DAC L1 Switch", RT5616_LOUT_MIXER,
455 SOC_DAPM_SINGLE("DAC R1 Switch", RT5616_LOUT_MIXER,
758 SND_SOC_DAPM_PGA("IF1 DAC", SND_SOC_NOPM, 0, 0, NULL, 0),
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/dac/
Dst,stm32-dac.yaml4 $id: http://devicetree.org/schemas/iio/dac/st,stm32-dac.yaml#
7 title: STMicroelectronics STM32 DAC
10 The STM32 DAC is a 12-bit voltage output digital-to-analog converter. The DAC
14 triggers for conversions. The DAC's output buffer allows a high drive output
23 - st,stm32f4-dac-core
24 - st,stm32h7-dac-core
64 "^dac@[1-2]+$":
67 A DAC block node should contain at least one subnode, representing an
68 DAC instance/channel available on the machine.
72 const: st,stm32-dac
[all …]
Dadi,axi-dac.yaml4 $id: http://devicetree.org/schemas/iio/dac/adi,axi-dac.yaml#
7 title: Analog Devices AXI DAC IP core
13 Analog Devices Generic AXI DAC IP core for interfacing a DAC device
17 interface for the actual DAC, while this IP core will interface
18 to the data-lines of the DAC and handle the streaming of data from
19 memory via DMA into the DAC.
26 - adi,axi-dac-9.1.b
54 dac@44a00000 {
55 compatible = "adi,axi-dac-9.1.b";
Dadi,ltc2672.yaml4 $id: http://devicetree.org/schemas/iio/dac/adi,ltc2672.yaml#
7 title: Analog Devices LTC2672 DAC
14 Analog Devices LTC2672 5 channel, 12-/16-Bit, 300mA DAC
35 description: Positive Supply Voltage Input for DAC OUT0.
38 description: Positive Supply Voltage Input for DAC OUT1.
41 description: Positive Supply Voltage Input for DAC OUT2.
44 description: Positive Supply Voltage Input for DAC OUT3.
47 description: Positive Supply Voltage Input for DAC OUT4.
90 $ref: dac.yaml
96 description: The channel number representing the DAC output channel.
[all …]
/linux-6.12.1/sound/spi/
Dat73c213.h3 * Driver for the AT73C213 16-bit stereo DAC on Atmel ATSTK1000
11 /* DAC control register */
22 /* DAC left line in gain register */
26 /* DAC right line in gain register */
30 /* DAC Left Master Playback Gain Register */
34 /* DAC Right Master Playback Gain Register */
38 /* DAC Left Line Out Gain Register */
42 /* DAC Right Line Out Gain Register */
46 /* DAC Output Level Control Register */
53 /* DAC Mixer Control Register */
[all …]
/linux-6.12.1/drivers/leds/
Dleds-dac124s085.c6 * LED driver for the DAC124S085 SPI DAC
52 struct dac124s085 *dac; in dac124s085_probe() local
56 dac = devm_kzalloc(&spi->dev, sizeof(*dac), GFP_KERNEL); in dac124s085_probe()
57 if (!dac) in dac124s085_probe()
62 for (i = 0; i < ARRAY_SIZE(dac->leds); i++) { in dac124s085_probe()
63 led = dac->leds + i; in dac124s085_probe()
77 spi_set_drvdata(spi, dac); in dac124s085_probe()
83 led_classdev_unregister(&dac->leds[i].ldev); in dac124s085_probe()
90 struct dac124s085 *dac = spi_get_drvdata(spi); in dac124s085_remove() local
93 for (i = 0; i < ARRAY_SIZE(dac->leds); i++) in dac124s085_remove()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Denvelope-detector.yaml7 title: ADC envelope detector using a DAC and a comparator
13 The DAC is used to find the peak level of an alternating voltage input
22 | dac|-->--|- / |
36 description: Channel node of the dac to be used for comparator input.
39 const: dac
69 dac: dac {
70 compatible = "dpot-dac";
79 io-channels = <&dac 0>;
80 io-channel-names = "dac";
/linux-6.12.1/sound/soc/meson/
Dt9015.c130 SOC_DAPM_ENUM("Right DAC Source", dacr_in_enum);
132 SOC_DAPM_ENUM("Left DAC Source", dacl_in_enum);
137 SND_SOC_DAPM_MUX("Right DAC Sel", SND_SOC_NOPM, 0, 0,
139 SND_SOC_DAPM_MUX("Left DAC Sel", SND_SOC_NOPM, 0, 0,
141 SND_SOC_DAPM_DAC("Right DAC", NULL, BLOCK_EN, DACR_EN, 0),
142 SND_SOC_DAPM_DAC("Left DAC", NULL, BLOCK_EN, DACL_EN, 0),
160 { "Right DAC Sel", "Right", "Right IN" },
161 { "Right DAC Sel", "Left", "Left IN" },
162 { "Left DAC Sel", "Right", "Right IN" },
163 { "Left DAC Sel", "Left", "Left IN" },
[all …]

12345678910>>...41