/Linux-v5.10/drivers/net/wireless/broadcom/b43/ |
D | tables_lpphy.c | 1070 { .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-v5.10/sound/soc/img/ |
D | pistachio-internal-dac.c | 3 * 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-v5.10/drivers/iio/dac/ |
D | lpc18xx_dac.c | 3 * IIO DAC driver for NXP LPC18xx DAC 25 /* LPC18XX DAC registers and bits */ 53 struct lpc18xx_dac *dac = iio_priv(indio_dev); in lpc18xx_dac_read_raw() local 58 reg = readl(dac->base + LPC18XX_DAC_CR); in lpc18xx_dac_read_raw() 65 *val = regulator_get_voltage(dac->vref) / 1000; in lpc18xx_dac_read_raw() 78 struct lpc18xx_dac *dac = iio_priv(indio_dev); in lpc18xx_dac_write_raw() local 89 mutex_lock(&dac->lock); in lpc18xx_dac_write_raw() 90 writel(reg, dac->base + LPC18XX_DAC_CR); in lpc18xx_dac_write_raw() 91 writel(LPC18XX_DAC_CTRL_DMA_ENA, dac->base + LPC18XX_DAC_CTRL); in lpc18xx_dac_write_raw() 92 mutex_unlock(&dac->lock); in lpc18xx_dac_write_raw() [all …]
|
D | dpot-dac.c | 3 * 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 …]
|
D | Kconfig | 3 # DAC drivers 10 tristate "Analog Devices AD5064 and similar multi-channel DAC driver" 24 tristate "Analog Devices AD5360/61/62/63/70/71/73 DAC driver" 29 Digital to Analog Converters (DAC). 35 tristate "Analog Devices AD5380/81/82/83/84/90/91/92 DAC driver" 42 Digital to Analog Converters (DAC). 48 tristate "Analog Devices AD5421 DAC driver" 52 digital-to-analog convertors (DAC). 84 tristate "Analog Devices AD5592R ADC/DAC driver" 96 tristate "Analog Devices AD5593R ADC/DAC driver" [all …]
|
D | stm32-dac.c | 3 * This file is part of STM32 DAC driver 18 #include "stm32-dac-core.h" 27 * struct stm32_dac - private data of DAC driver 28 * @common: reference to DAC common data 39 struct stm32_dac *dac = iio_priv(indio_dev); in stm32_dac_is_enabled() local 43 ret = regmap_read(dac->common->regmap, STM32_DAC_CR, &val); in stm32_dac_is_enabled() 57 struct stm32_dac *dac = iio_priv(indio_dev); in stm32_dac_set_enable_state() local 64 mutex_lock(&dac->lock); in stm32_dac_set_enable_state() 67 mutex_unlock(&dac->lock); in stm32_dac_set_enable_state() 75 mutex_unlock(&dac->lock); in stm32_dac_set_enable_state() [all …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | rt5665.c | 980 SOC_DAPM_ENUM("IF2_1 DAC Swap Source", rt5665_if2_1_dac_enum); 986 SOC_DAPM_ENUM("IF2_2 DAC Swap Source", rt5665_if2_2_dac_enum); 992 SOC_DAPM_ENUM("IF3 DAC Swap Source", rt5665_if3_dac_enum); 1409 /* DAC Digital Volume */ 1649 SOC_DAPM_SINGLE("DAC L1 Switch", RT5665_STO1_DAC_MIXER, 1651 SOC_DAPM_SINGLE("DAC R1 Switch", RT5665_STO1_DAC_MIXER, 1653 SOC_DAPM_SINGLE("DAC L2 Switch", RT5665_STO1_DAC_MIXER, 1655 SOC_DAPM_SINGLE("DAC R2 Switch", RT5665_STO1_DAC_MIXER, 1660 SOC_DAPM_SINGLE("DAC L1 Switch", RT5665_STO1_DAC_MIXER, 1662 SOC_DAPM_SINGLE("DAC R1 Switch", RT5665_STO1_DAC_MIXER, [all …]
|
D | rt5659.c | 1187 SOC_DAPM_ENUM("IF2 DAC Swap Source", rt5659_if2_dac_enum); 1193 SOC_DAPM_ENUM("IF3 DAC Swap Source", rt5659_if3_dac_enum); 1497 /* DAC Digital Volume */ 1549 SOC_SINGLE("DAC IF1 DAC1 L Data Switch", RT5659_TDM_CTRL_4, 12, 7, 0), 1550 SOC_SINGLE("DAC IF1 DAC1 R Data Switch", RT5659_TDM_CTRL_4, 8, 7, 0), 1551 SOC_SINGLE("DAC IF1 DAC2 L Data Switch", RT5659_TDM_CTRL_4, 4, 7, 0), 1552 SOC_SINGLE("DAC IF1 DAC2 R Data Switch", RT5659_TDM_CTRL_4, 0, 7, 0), 1764 SOC_DAPM_SINGLE("DAC L1 Switch", RT5659_STO_DAC_MIXER, 1766 SOC_DAPM_SINGLE("DAC R1 Switch", RT5659_STO_DAC_MIXER, 1768 SOC_DAPM_SINGLE("DAC L2 Switch", RT5659_STO_DAC_MIXER, [all …]
|
D | rt5670.c | 644 /* DAC Digital Volume */ 650 SOC_DOUBLE_TLV("Mono DAC Playback Volume", RT5670_DAC2_DIG_VOL, 683 SOC_ENUM("DAC IF2 Data Switch", rt5670_if2_dac_enum), 931 SOC_DAPM_SINGLE("DAC L1 Switch", RT5670_STO_DAC_MIXER, 933 SOC_DAPM_SINGLE("DAC L2 Switch", RT5670_STO_DAC_MIXER, 935 SOC_DAPM_SINGLE("DAC R1 Switch", RT5670_STO_DAC_MIXER, 940 SOC_DAPM_SINGLE("DAC R1 Switch", RT5670_STO_DAC_MIXER, 942 SOC_DAPM_SINGLE("DAC R2 Switch", RT5670_STO_DAC_MIXER, 944 SOC_DAPM_SINGLE("DAC L1 Switch", RT5670_STO_DAC_MIXER, 949 SOC_DAPM_SINGLE("DAC L1 Switch", RT5670_DD_MIXER, [all …]
|
D | rt5640.c | 400 /* DAC Digital Volume */ 437 SOC_ENUM("DAC IF1 Data Switch", rt5640_if1_dac_enum), 439 SOC_ENUM("DAC IF2 Data Switch", rt5640_if2_dac_enum), 447 SOC_DOUBLE_TLV("Mono DAC Playback Volume", RT5640_DAC2_DIG_VOL, 533 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_STO_DAC_MIXER, 535 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_STO_DAC_MIXER, 542 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_STO_DAC_MIXER, 544 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_STO_DAC_MIXER, 551 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_STO_DAC_MIXER, 553 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_STO_DAC_MIXER, [all …]
|
D | rt5645.c | 792 /* DAC Digital Volume */ 797 SOC_DOUBLE_TLV("Mono DAC Playback Volume", RT5645_DAC2_DIG_VOL, 1066 SOC_DAPM_SINGLE("DAC L1 Switch", RT5645_STO_DAC_MIXER, 1068 SOC_DAPM_SINGLE("DAC L2 Switch", RT5645_STO_DAC_MIXER, 1070 SOC_DAPM_SINGLE("DAC R1 Switch", RT5645_STO_DAC_MIXER, 1075 SOC_DAPM_SINGLE("DAC R1 Switch", RT5645_STO_DAC_MIXER, 1077 SOC_DAPM_SINGLE("DAC R2 Switch", RT5645_STO_DAC_MIXER, 1079 SOC_DAPM_SINGLE("DAC L1 Switch", RT5645_STO_DAC_MIXER, 1084 SOC_DAPM_SINGLE("DAC L1 Switch", RT5645_MONO_DAC_MIXER, 1086 SOC_DAPM_SINGLE("DAC L2 Switch", RT5645_MONO_DAC_MIXER, [all …]
|
D | rt5651.c | 322 /* 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 …]
|
D | sti-sas.c | 17 /* DAC definitions */ 19 /* stih407 DAC registers */ 22 /* sysconf 5042: Audio-DAC-Control */ 25 /* DAC definitions */ 68 const struct snd_soc_dai_ops *dac_ops; /* DAC function callbacks */ 79 struct sti_dac_audio dac; member 91 status = regmap_read(drvdata->dac.regmap, reg, &val); in sti_sas_read_reg() 104 status = regmap_write(drvdata->dac.regmap, reg, value); in sti_sas_write_reg() 114 * DAC and SPDIF are activated by default in sti_sas_init_sas_registers() 131 /* Init DAC configuration */ in sti_sas_init_sas_registers() [all …]
|
D | rt5677.c | 1010 /* DAC Digital Volume */ 1593 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix L Switch", RT5677_DD1_MIXER, 1595 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix L Switch", RT5677_DD1_MIXER, 1604 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix R Switch", RT5677_DD1_MIXER, 1606 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix R Switch", RT5677_DD1_MIXER, 1615 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix L Switch", RT5677_DD2_MIXER, 1617 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix L Switch", RT5677_DD2_MIXER, 1626 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix R Switch", RT5677_DD2_MIXER, 1628 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix R Switch", RT5677_DD2_MIXER, 1742 "IF1 DAC 01", "IF2 DAC 01", "IF3 DAC LR", "IF4 DAC LR", "SLB DAC 01", [all …]
|
D | rt5660.c | 317 /* DAC Digital Volume */ 414 SOC_DAPM_SINGLE("DAC L1 Switch", RT5660_STO_DAC_MIXER, 416 SOC_DAPM_SINGLE("DAC R1 Switch", RT5660_STO_DAC_MIXER, 421 SOC_DAPM_SINGLE("DAC R1 Switch", RT5660_STO_DAC_MIXER, 423 SOC_DAPM_SINGLE("DAC L1 Switch", RT5660_STO_DAC_MIXER, 503 SOC_DAPM_SINGLE("DAC Switch", RT5660_LOUT_MIXER, 533 SOC_DAPM_ENUM("IF1 DAC Swap Source", rt5660_if1_dac_enum); 633 SND_SOC_DAPM_PGA("IF1 DAC", SND_SOC_NOPM, 0, 0, NULL, 0), 634 SND_SOC_DAPM_PGA("IF1 DAC L", SND_SOC_NOPM, 0, 0, NULL, 0), 635 SND_SOC_DAPM_PGA("IF1 DAC R", SND_SOC_NOPM, 0, 0, NULL, 0), [all …]
|
D | sirf-audio-codec.c | 192 SND_SOC_DAPM_DAC("DAC left", NULL, AUDIO_IC_CODEC_CTRL0, 1, 0), 193 SND_SOC_DAPM_DAC("DAC right", NULL, AUDIO_IC_CODEC_CTRL0, 0, 0), 194 SND_SOC_DAPM_SWITCH("Left dac to hp left amp", SND_SOC_NOPM, 0, 0, 196 SND_SOC_DAPM_SWITCH("Left dac to hp right amp", SND_SOC_NOPM, 0, 0, 198 SND_SOC_DAPM_SWITCH("Right dac to hp left amp", SND_SOC_NOPM, 0, 0, 200 SND_SOC_DAPM_SWITCH("Right dac to hp right amp", SND_SOC_NOPM, 0, 0, 207 SND_SOC_DAPM_SWITCH("Left dac to speaker lineout", SND_SOC_NOPM, 0, 0, 209 SND_SOC_DAPM_SWITCH("Right dac to speaker lineout", SND_SOC_NOPM, 0, 0, 244 {"Speaker amp driver", NULL, "Left dac to speaker lineout"}, 245 {"Speaker amp driver", NULL, "Right dac to speaker lineout"}, [all …]
|
D | rt5616.c | 320 /* 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 …]
|
D | rt1016.c | 170 SOC_DOUBLE_TLV("DAC Playback Volume", RT1016_VOL_CTRL_2, 172 SOC_DOUBLE("DAC Playback Switch", RT1016_VOL_CTRL_1, 204 SND_SOC_DAPM_SUPPLY("DAC Filter", RT1016_CLOCK_3, 228 SND_SOC_DAPM_SUPPLY("CKGEN DAC", RT1016_DAC_CTRL_2, 261 SND_SOC_DAPM_DAC("DAC", NULL, SND_SOC_NOPM, 0, 0), 272 { "DAC", NULL, "DAC Filter" }, 273 { "DAC", NULL, "DAMOD" }, 274 { "DAC", NULL, "FIFO" }, 275 { "DAC", NULL, "Pure DC" }, 276 { "DAC", NULL, "Silence Det" }, [all …]
|
D | rt1305.c | 399 SOC_DOUBLE_TLV("DAC Playback Volume", RT1305_DAC_SET_1, 497 SND_SOC_DAPM_SUPPLY("CHOP DAC", RT1305_POWER_CTRL_2, 499 SND_SOC_DAPM_SUPPLY("CKGEN DAC", RT1305_POWER_CTRL_2, 541 SND_SOC_DAPM_SUPPLY("DAC L Power", RT1305_POWER_CTRL_2, 543 SND_SOC_DAPM_SUPPLY("DAC R Power", RT1305_POWER_CTRL_2, 545 SND_SOC_DAPM_DAC("DAC", NULL, SND_SOC_NOPM, 0, 0), 546 SND_SOC_DAPM_SWITCH("DAC L", SND_SOC_NOPM, 0, 0, &rt1305_sto_dac_l), 547 SND_SOC_DAPM_SWITCH("DAC R", SND_SOC_NOPM, 0, 0, &rt1305_sto_dac_r), 559 { "DAC", NULL, "AIF1RX" }, 561 { "DAC", NULL, "PLL0", rt1305_is_rc_clk_from_pll }, [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/dac/ |
D | st,stm32-dac.yaml | 4 $id: "http://devicetree.org/schemas/iio/dac/st,stm32-dac.yaml#" 7 title: STMicroelectronics STM32 DAC bindings 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 60 "^dac@[1-2]+$": 63 A DAC block node should contain at least one subnode, representing an 64 DAC instance/channel available on the machine. 68 const: st,stm32-dac [all …]
|
D | vf610-dac.txt | 3 The devicetree bindings are for the new DAC driver written for 7 - compatible: Should contain "fsl,vf610-dac" 10 - clocks: The clock is needed by the DAC controller 11 - clock-names: Must contain "dac" matching entry in the clocks property. 14 dac0: dac@400cc000 { 15 compatible = "fsl,vf610-dac"; 18 clock-names = "dac";
|
/Linux-v5.10/sound/spi/ |
D | at73c213.h | 3 * 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-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dacnv50.c | 29 nv50_dac_clock(struct nvkm_ior *dac) in nv50_dac_clock() argument 31 struct nvkm_device *device = dac->disp->engine.subdev.device; in nv50_dac_clock() 32 const u32 doff = nv50_ior_base(dac); in nv50_dac_clock() 37 nv50_dac_sense(struct nvkm_ior *dac, u32 loadval) in nv50_dac_sense() argument 39 struct nvkm_device *device = dac->disp->engine.subdev.device; in nv50_dac_sense() 40 const u32 doff = nv50_ior_base(dac); in nv50_dac_sense() 42 dac->func->power(dac, false, true, false, false, false); in nv50_dac_sense() 49 dac->func->power(dac, false, false, false, false, false); in nv50_dac_sense() 66 nv50_dac_power(struct nvkm_ior *dac, bool normal, bool pu, in nv50_dac_power() argument 69 struct nvkm_device *device = dac->disp->engine.subdev.device; in nv50_dac_power() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/ |
D | envelope-detector.txt | 1 Bindings for ADC envelope detector using a DAC and a comparator 3 The DAC is used to find the peak level of an alternating voltage input 12 | dac|-->--|- / | 22 - io-channels: Channel node of the dac to be used for comparator input. 23 - io-channel-names: Should be "dac". 38 dac: dac { 39 compatible = "dpot-dac"; 48 io-channels = <&dac 0>; 49 io-channel-names = "dac";
|
/Linux-v5.10/drivers/leds/ |
D | leds-dac124s085.c | 6 * 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 …]
|