/linux-6.12.1/drivers/clk/mmp/ |
D | clk-mix.c | 3 * mmp mix(div and mux) clock operation source file 17 * The mix clock is a clock combined mux and div type clock. 24 static unsigned int _get_maxdiv(struct mmp_clk_mix *mix) in _get_maxdiv() argument 26 unsigned int div_mask = (1 << mix->reg_info.width_div) - 1; in _get_maxdiv() 30 if (mix->div_flags & CLK_DIVIDER_ONE_BASED) in _get_maxdiv() 32 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_maxdiv() 34 if (mix->div_table) { in _get_maxdiv() 35 for (clkt = mix->div_table; clkt->div; clkt++) in _get_maxdiv() 43 static unsigned int _get_div(struct mmp_clk_mix *mix, unsigned int val) in _get_div() argument 47 if (mix->div_flags & CLK_DIVIDER_ONE_BASED) in _get_div() [all …]
|
/linux-6.12.1/sound/ppc/ |
D | tumbler.c | 198 static int tumbler_set_master_volume(struct pmac_tumbler *mix) in tumbler_set_master_volume() argument 203 if (! mix->i2c.client) in tumbler_set_master_volume() 206 if (! mix->master_switch[0]) in tumbler_set_master_volume() 209 left_vol = mix->master_vol[0]; in tumbler_set_master_volume() 214 if (! mix->master_switch[1]) in tumbler_set_master_volume() 217 right_vol = mix->master_vol[1]; in tumbler_set_master_volume() 231 if (i2c_smbus_write_i2c_block_data(mix->i2c.client, TAS_REG_VOL, 6, in tumbler_set_master_volume() 233 dev_err(&mix->i2c.client->dev, "failed to set volume\n"); in tumbler_set_master_volume() 256 struct pmac_tumbler *mix = chip->mixer_data; in tumbler_get_master_volume() local 258 ucontrol->value.integer.value[0] = mix->master_vol[0]; in tumbler_get_master_volume() [all …]
|
D | daca.c | 54 static int daca_set_volume(struct pmac_daca *mix) in daca_set_volume() argument 58 if (! mix->i2c.client) in daca_set_volume() 61 if (mix->left_vol > DACA_VOL_MAX) in daca_set_volume() 64 data[0] = mix->left_vol; in daca_set_volume() 65 if (mix->right_vol > DACA_VOL_MAX) in daca_set_volume() 68 data[1] = mix->right_vol; in daca_set_volume() 69 data[1] |= mix->deemphasis ? 0x40 : 0; in daca_set_volume() 70 if (i2c_smbus_write_block_data(mix->i2c.client, DACA_REG_AVOL, in daca_set_volume() 72 dev_err(&mix->i2c.client->dev, "failed to set volume\n"); in daca_set_volume() 86 struct pmac_daca *mix; in daca_get_deemphasis() local [all …]
|
/linux-6.12.1/sound/soc/sh/rcar/ |
D | mix.c | 3 // mix.c 10 * [SRC3 / SRC6] -> |CTU n0| -> [MIX n0| -> 11 * [SRC4 / SRC9] -> |CTU n1| -> [MIX n1| -> 12 * [SRC0 / SRC1] -> |CTU n2| -> [MIX n2| -> 13 * [SRC2 / SRC5] -> |CTU n3| -> [MIX n3| -> 20 * MIX Volume 21 * amixer set "MIX",0 100% // DAI0 Volume 22 * amixer set "MIX",1 100% // DAI1 Volume 25 * amixer set "MIX Ramp Up Rate" "0.125 dB/1 step" 26 * amixer set "MIX Ramp Down Rate" "4 dB/1 step" [all …]
|
D | cmd.c | 28 struct rsnd_mod *mix = rsnd_io_to_mod_mix(io); in rsnd_cmd_init() local 38 if (!mix && !dvc) in rsnd_cmd_init() 44 if (mix) { in rsnd_cmd_init() 58 if (mix == rsnd_io_to_mod_mix(tio)) in rsnd_cmd_init() 63 if (mix == rsnd_io_to_mod_mix(tio)) in rsnd_cmd_init() 88 dev_dbg(dev, "ctu/mix path = 0x%08x\n", data); in rsnd_cmd_init()
|
/linux-6.12.1/sound/soc/codecs/ |
D | alc5632.c | 281 "Vmid", "HP Left Mix"}; 283 "Vmid", "HP Right Mix"}; 285 "Vmid", "HPOut Mix", "Speaker Mix", "Mono Mix"}; 287 "Vmid", "HPOut Mix", "Speaker Mix", "Mono Mix"}; 368 SND_SOC_DAPM_MIXER("HP Mix", SND_SOC_NOPM, 0, 0, 371 SND_SOC_DAPM_MIXER("HPR Mix", ALC5632_PWR_MANAG_ADD2, 4, 0, 374 SND_SOC_DAPM_MIXER("HPL Mix", ALC5632_PWR_MANAG_ADD2, 5, 0, 377 SND_SOC_DAPM_MIXER("HPOut Mix", SND_SOC_NOPM, 0, 0, NULL, 0), 378 SND_SOC_DAPM_MIXER("Mono Mix", ALC5632_PWR_MANAG_ADD2, 2, 0, 381 SND_SOC_DAPM_MIXER("Speaker Mix", ALC5632_PWR_MANAG_ADD2, 3, 0, [all …]
|
D | alc5623.c | 207 "Vmid", "HP Left Mix"}; 209 "Vmid", "HP Right Mix"}; 211 "Vmid", "HPOut Mix", "Speaker Mix", "Mono Mix"}; 213 "Vmid", "HPOut Mix", "Speaker Mix", "Mono Mix"}; 264 SND_SOC_DAPM_MIXER("HP Mix", SND_SOC_NOPM, 0, 0, 267 SND_SOC_DAPM_MIXER("HPR Mix", ALC5623_PWR_MANAG_ADD2, 4, 0, 270 SND_SOC_DAPM_MIXER("HPL Mix", ALC5623_PWR_MANAG_ADD2, 5, 0, 273 SND_SOC_DAPM_MIXER("HPOut Mix", SND_SOC_NOPM, 0, 0, NULL, 0), 274 SND_SOC_DAPM_MIXER("Mono Mix", ALC5623_PWR_MANAG_ADD2, 2, 0, 277 SND_SOC_DAPM_MIXER("Speaker Mix", ALC5623_PWR_MANAG_ADD2, 3, 0, [all …]
|
D | rt5677.c | 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, 1753 "STO1 ADC MIX", "STO2 ADC MIX", "OB 67", 1881 "DD MIX1", "DMIC", "Stereo DAC MIX" [all …]
|
D | rt5640.c | 736 SOC_DAPM_SINGLE("HPO MIX DAC2 Switch", RT5640_HPO_MIXER, 738 SOC_DAPM_SINGLE("HPO MIX DAC1 Switch", RT5640_HPO_MIXER, 740 SOC_DAPM_SINGLE("HPO MIX HPVOL Switch", RT5640_HPO_MIXER, 745 SOC_DAPM_SINGLE("HPO MIX DAC1 Switch", RT5640_HPO_MIXER, 747 SOC_DAPM_SINGLE("HPO MIX HPVOL Switch", RT5640_HPO_MIXER, 793 "DIG MIX", "ADC" 803 "DMIC1", "DMIC2", "DIG MIX" 1233 SND_SOC_DAPM_MIXER("SPOL MIX", SND_SOC_NOPM, 0, 1235 SND_SOC_DAPM_MIXER("SPOR MIX", SND_SOC_NOPM, 0, 1237 SND_SOC_DAPM_MIXER("LOUT MIX", SND_SOC_NOPM, 0, 0, [all …]
|
D | lpass-wsa-macro.c | 526 SOC_DAPM_ENUM("WSA_RX0 MIX Mux", rx0_mix_chain_enum_v2_1); 538 SOC_DAPM_ENUM("WSA_RX0 MIX Mux", rx0_mix_chain_enum_v2_5); 541 SOC_DAPM_ENUM("WSA_RX0 SIDETONE MIX Mux", rx0_sidetone_mix_enum); 586 SOC_DAPM_ENUM("WSA_RX1 MIX Mux", rx1_mix_chain_enum_v2_1); 598 SOC_DAPM_ENUM("WSA_RX1 MIX Mux", rx1_mix_chain_enum_v2_5); 2385 SND_SOC_DAPM_MIXER_E("WSA_RX INT0 MIX", SND_SOC_NOPM, 0, 0, NULL, 0, 2387 SND_SOC_DAPM_MIXER_E("WSA_RX INT1 MIX", SND_SOC_NOPM, 1, 0, NULL, 0, 2390 SND_SOC_DAPM_MIXER("WSA_RX INT0 SEC MIX", SND_SOC_NOPM, 0, 0, NULL, 0), 2391 SND_SOC_DAPM_MIXER("WSA_RX INT1 SEC MIX", SND_SOC_NOPM, 0, 0, NULL, 0), 2393 SND_SOC_DAPM_MUX("WSA_RX0 INT0 SIDETONE MIX", CDC_WSA_RX0_RX_PATH_CFG1, [all …]
|
D | rt5651.c | 526 SOC_DAPM_SINGLE("HPO MIX DAC1 Switch", RT5651_HPO_MIXER, 528 SOC_DAPM_SINGLE("HPO MIX HPVOL Switch", RT5651_HPO_MIXER, 576 static const char * const rt5651_stereo1_adc1_src[] = {"DD MIX", "ADC"}; 588 static const char * const rt5651_stereo1_adc2_src[] = {"DMIC", "DD MIX"}; 665 static const char * const rt5651_pdm_sel[] = {"DD MIX", "Stereo DAC MIX"}; 1045 SND_SOC_DAPM_MIXER("HPOL MIX", SND_SOC_NOPM, 0, 0, 1047 SND_SOC_DAPM_MIXER("HPOR MIX", SND_SOC_NOPM, 0, 0, 1053 SND_SOC_DAPM_MIXER("LOUT MIX", RT5651_PWR_ANLG1, RT5651_PWR_LM_BIT, 0, 1122 {"Stereo1 ADC L2 Mux", "DD MIX", "DD MIXL"}, 1124 {"Stereo1 ADC L1 Mux", "DD MIX", "DD MIXL"}, [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/net/ |
D | cavium-mix.txt | 1 * MIX Ethernet controller. 4 - compatible: "cavium,octeon-5750-mix" 6 Compatibility with all cn5XXX and cn6XXX SOCs populated with MIX 10 bank contains the MIX registers. The second bank the corresponding 12 MIX devices present. The fourth bank is the AGL_PRT_CTL shared by 13 all MIX devices present. 16 register banks corresponds to this MIX device. 18 - interrupts: Two interrupt specifiers. The first is the MIX 25 compatible = "cavium,octeon-5750-mix"; 26 reg = <0x10700 0x00100800 0x0 0x100>, /* MIX */
|
/linux-6.12.1/sound/pci/emu10k1/ |
D | emumixer.c | 1488 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_get() local 1497 mix->send_routing[voice][idx] & mask; in snd_emu10k1_send_routing_get() 1505 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_put() local 1515 if (mix->send_routing[voice][idx] != val) { in snd_emu10k1_send_routing_put() 1516 mix->send_routing[voice][idx] = val; in snd_emu10k1_send_routing_put() 1520 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put() 1521 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_routing_put() 1522 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1523 &mix->send_routing[1][0]); in snd_emu10k1_send_routing_put() 1524 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number + 1, in snd_emu10k1_send_routing_put() [all …]
|
D | emupcm.c | 320 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_pcm_init_voices() argument 325 &mix->send_routing[stereo][0], in snd_emu10k1_pcm_init_voices() 326 &mix->send_volume[stereo][0]); in snd_emu10k1_pcm_init_voices() 330 &mix->send_routing[2][0], in snd_emu10k1_pcm_init_voices() 331 &mix->send_volume[2][0]); in snd_emu10k1_pcm_init_voices() 642 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voice() argument 648 vattn = mix->attn[tmp] << 16; in snd_emu10k1_playback_unmute_voice() 655 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voices() argument 657 snd_emu10k1_playback_unmute_voice(emu, evoice, stereo, true, mix); in snd_emu10k1_playback_unmute_voices() 659 snd_emu10k1_playback_unmute_voice(emu, evoice + 1, true, false, mix); in snd_emu10k1_playback_unmute_voices() [all …]
|
/linux-6.12.1/sound/pci/au88x0/ |
D | au88x0_core.c | 15 and translated the rest of the riddle (Mix, Src and connection stuff). 90 vortex_mix_muteinputgain(vortex_t * vortex, unsigned char mix, 93 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_A + ((mix << 5) + channel), 95 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_B + ((mix << 5) + channel), 99 static int vortex_mix_getvolume(vortex_t * vortex, unsigned char mix) 102 a = hwread(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2)) & 0xff; 108 vortex_mix_getinputvolume(vortex_t * vortex, unsigned char mix, 112 if (!(mchannels[mix] & (1 << channel))) 115 VORTEX_MIX_INVOL_A + (((mix << 5) + channel) << 2)); 117 if (rampchs[mix] == 0) [all …]
|
/linux-6.12.1/sound/mips/ |
D | ad1843.c | 43 ad1843_RD2M = { 3, 0, 5 }, /* Right DAC 2 Mix Gain/Atten */ 44 ad1843_RD2MM = { 3, 7, 1 }, /* Right DAC 2 Mix Mute */ 45 ad1843_LD2M = { 3, 8, 5 }, /* Left DAC 2 Mix Gain/Atten */ 46 ad1843_LD2MM = { 3, 15, 1 }, /* Left DAC 2 Mix Mute */ 47 ad1843_RX1M = { 4, 0, 5 }, /* Right Aux 1 Mix Gain/Atten */ 48 ad1843_RX1MM = { 4, 7, 1 }, /* Right Aux 1 Mix Mute */ 49 ad1843_LX1M = { 4, 8, 5 }, /* Left Aux 1 Mix Gain/Atten */ 50 ad1843_LX1MM = { 4, 15, 1 }, /* Left Aux 1 Mix Mute */ 51 ad1843_RX2M = { 5, 0, 5 }, /* Right Aux 2 Mix Gain/Atten */ 52 ad1843_RX2MM = { 5, 7, 1 }, /* Right Aux 2 Mix Mute */ [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/renesas/ |
D | ulcb-audio-graph-card2-mix+split.dtsi | 3 * Device Tree for ULCB + Audio Graph Card2 (MIX + TDM Split) 12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0) 13 * (B) CPU1 (2ch) --/ (MIX-1) 23 label = "snd-ulcb-mix"; 44 * (A) CPU0 (MIX-0) 45 * (B) CPU1 (MIX-1)
|
D | ulcb-audio-graph-card-mix+split.dtsi | 3 * Device Tree for ULCB + Audio Graph Card (MIX) 12 * (A) CPU0 (2ch) <-----> (2ch) (X) ak4613 (MIX-0) 13 * (B) CPU1 (2ch) --/ (MIX-1) 24 label = "snd-ulcb-mix";
|
D | ulcb-kf-simple-audio-card-mix+split.dtsi | 3 * Device Tree for ULCB + Kingfisher + Simple Audio Card (MIX + TDM Split) 12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0) 13 * (B) CPU1 (2ch) --/ (MIX-1) 20 * (A) aplay -D plughw:0,0 xxx.wav (MIX-0) 21 * (B) aplay -D plughw:0,1 xxx.wav (MIX-1)
|
D | ulcb-kf-audio-graph-card-mix+split.dtsi | 3 * Device Tree for ULCB + Kingfisher + Audio Graph Card (MIX + TDM Split) 12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0) 13 * (B) CPU1 (2ch) --/ (MIX-1) 20 * (A) aplay -D plughw:0,0 xxx.wav (MIX-0) 21 * (B) aplay -D plughw:0,1 xxx.wav (MIX-1)
|
D | ulcb-kf-audio-graph-card2-mix+split.dtsi | 3 * Device Tree for ULCB + Kingfisher + Audio Graph Card2 (MIX + TDM Split) 12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0) 13 * (B) CPU1 (2ch) --/ (MIX-1) 20 * (A) aplay -D plughw:0,0 xxx.wav (MIX-0) 21 * (B) aplay -D plughw:0,1 xxx.wav (MIX-1)
|
/linux-6.12.1/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 119 u64 mix; member 163 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_rx_irq() 165 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_rx_irq() 175 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_tx_irq() 177 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_tx_irq() 249 cvmx_write_csr(p->mix + MIX_IRING2, 1); in octeon_mgmt_rx_fill_ring() 261 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers() 265 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers() 285 cvmx_write_csr(p->mix + MIX_ORCNT, mix_orcnt.u64); in octeon_mgmt_clean_tx_buffers() 311 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers() [all …]
|
/linux-6.12.1/sound/soc/fsl/ |
D | fsl_audmix.c | 58 /* DIS->MIX */ 59 { .tdms = 3, .clk = 0, .msg = "DIS->MIX: Please start both TDMs!\n" } 66 /* TDM1->MIX */ 67 { .tdms = 3, .clk = 0, .msg = "TDM1->MIX: Please start both TDMs!\n" } 74 /* TDM2->MIX */ 75 { .tdms = 3, .clk = 0, .msg = "TDM2->MIX: Please start both TDMs!\n" } 76 }, { /* MIX->DIS */ 77 { .tdms = 3, .clk = 0, .msg = "MIX->DIS: Please start both TDMs!\n" }, 78 /* MIX->TDM1 */ 79 { .tdms = 3, .clk = 1, .msg = "MIX->TDM1: Please start both TDMs!\n" }, [all …]
|
/linux-6.12.1/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 1105 SST_SWM_MIXER("media0_out mix 0", SND_SOC_NOPM, SST_TASK_MMX, SST_SWM_OUT_MEDIA0, 1107 SST_SWM_MIXER("media1_out mix 0", SND_SOC_NOPM, SST_TASK_MMX, SST_SWM_OUT_MEDIA1, 1111 SST_SWM_MIXER("pcm0_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_PCM0, 1113 SST_SWM_MIXER("pcm1_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_PCM1, 1115 SST_SWM_MIXER("pcm2_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_PCM2, 1119 SST_SWM_MIXER("sprot_loop_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_SPROT_LOOP, 1121 SST_SWM_MIXER("media_loop1_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_MEDIA_LOOP1, 1123 SST_SWM_MIXER("media_loop2_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_MEDIA_LOOP2, 1127 SST_SWM_MIXER("codec_out0 mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_CODEC0, 1129 SST_SWM_MIXER("codec_out1 mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_CODEC1, [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | renesas,rsnd.yaml | 107 description: References to SSI/SRC/MIX/CTU/DVC/AUDIO_CLK clocks. 153 rcar_sound,mix: 154 description: MIX subnode. 157 "^mix-[0-1]$": 373 - pattern: '^mix\.[0-1]$' 423 "mix.1", "mix.0", 451 rcar_sound,mix { 452 mix0: mix-0 { }; 453 mix1: mix-1 { };
|