| /linux/drivers/clk/mmp/ |
| H A 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/sound/ppc/ |
| H A 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 …]
|
| H A 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/sound/soc/renesas/rcar/ |
| H A 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 Ram 81 rsnd_mix_get_vol(mix,X) global() argument 89 struct rsnd_mix *mix = rsnd_mod_to_mix(mod); rsnd_mix_volume_parameter() local 107 struct rsnd_mix *mix = rsnd_mod_to_mix(mod); rsnd_mix_volume_init() local 181 struct rsnd_mix *mix = rsnd_mod_to_mix(mod); rsnd_mix_pcm_new() local 292 struct rsnd_mix *mix; rsnd_mix_probe() local 346 struct rsnd_mix *mix; rsnd_mix_remove() local [all...] |
| /linux/Documentation/devicetree/bindings/net/ |
| H A 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/sound/soc/codecs/ |
| H A D | rt5677.c | 1583 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix L Switch", RT5677_DD1_MIXER, 1585 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix L Switch", RT5677_DD1_MIXER, 1594 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix R Switch", RT5677_DD1_MIXER, 1596 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix R Switch", RT5677_DD1_MIXER, 1605 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix L Switch", RT5677_DD2_MIXER, 1607 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix L Switch", RT5677_DD2_MIXER, 1616 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix R Switch", RT5677_DD2_MIXER, 1618 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix R Switch", RT5677_DD2_MIXER, 1745 "STO1 ADC MIX", "STO2 ADC MIX", "O [all...] |
| H A D | lpass-wsa-macro.c | 532 SOC_DAPM_ENUM("WSA_RX0 MIX Mux", rx0_mix_chain_enum_v2_1); 544 SOC_DAPM_ENUM("WSA_RX0 MIX Mux", rx0_mix_chain_enum_v2_5); 547 SOC_DAPM_ENUM("WSA_RX0 SIDETONE MIX Mux", rx0_sidetone_mix_enum); 592 SOC_DAPM_ENUM("WSA_RX1 MIX Mux", rx1_mix_chain_enum_v2_1); 604 SOC_DAPM_ENUM("WSA_RX1 MIX Mux", rx1_mix_chain_enum_v2_5); 2343 SND_SOC_DAPM_MIXER("WSA_RX INT0 MIX", SND_SOC_NOPM, 0, 0, NULL, 0), 2344 SND_SOC_DAPM_MIXER("WSA_RX INT1 MIX", SND_SOC_NOPM, 0, 0, NULL, 0), 2346 SND_SOC_DAPM_MIXER("WSA_RX INT0 SEC MIX", SND_SOC_NOPM, 0, 0, NULL, 0), 2347 SND_SOC_DAPM_MIXER("WSA_RX INT1 SEC MIX", SND_SOC_NOPM, 0, 0, NULL, 0), 2349 SND_SOC_DAPM_MUX("WSA_RX0 INT0 SIDETONE MIX", CDC_WSA_RX0_RX_PATH_CFG1, [all …]
|
| H A 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_NOP [all...] |
| H A D | rt5665.c | 1739 "IF1 DAC2", "IF2_1 DAC", "IF2_2 DAC", "IF3 DAC", "Mono ADC MIX" 1759 "IF1 DAC2", "IF2_1 DAC", "IF2_2 DAC", "IF3 DAC", "STO2 ADC MIX" 1819 "DAC MIX", "DMIC" 2035 "DAC MIX", "DMIC" 2173 "IF1 DAC2", "IF2_2 DAC", "IF3 DAC", "DAC1 MIX" 2186 "IF1 DAC2", "IF2_1 DAC", "IF3 DAC", "DAC1 MIX" 2200 "IF1 DAC2", "IF2_1 DAC", "IF2_2 DAC", "DAC1 MIX" 2823 SND_SOC_DAPM_PGA("Stereo1 ADC MIX", SND_SOC_NOPM, 0, 0, NULL, 0), 2824 SND_SOC_DAPM_PGA("Stereo2 ADC MIX", SND_SOC_NOPM, 0, 0, NULL, 0), 2825 SND_SOC_DAPM_PGA("Mono ADC MIX", SND_SOC_NOP [all...] |
| H A D | lpass-rx-macro.c | 825 SOC_DAPM_ENUM("RX MIX TX1_MUX Mux", rx_mix_tx1_mux_enum); 827 SOC_DAPM_ENUM("RX MIX TX2_MUX Mux", rx_mix_tx2_mux_enum); 887 SOC_DAPM_ENUM("RX MIX TX0_MUX Mux", rx_mix_tx0_mux_enum); 1943 /* main clock needs to be enabled for mix to be useful: */ in rx_macro_digital_mute() 2997 SOC_SINGLE_S8_TLV("RX_RX1 Mix Digital Volume", CDC_RX_RX1_RX_VOL_MIX_CTL, 2999 SOC_SINGLE_S8_TLV("RX_RX2 Mix Digital Volume", CDC_RX_RX2_RX_VOL_MIX_CTL, 3009 SOC_SINGLE_S8_TLV("RX_RX1 Mix Digital Volume", CDC_2_5_RX_RX1_RX_VOL_MIX_CTL, 3011 SOC_SINGLE_S8_TLV("RX_RX2 Mix Digital Volume", CDC_2_5_RX_RX2_RX_VOL_MIX_CTL, 3018 SOC_SINGLE_S8_TLV("RX_RX0 Mix Digital Volume", CDC_RX_RX0_RX_VOL_MIX_CTL, 3111 if (!(snd_soc_dapm_widget_name_cmp(w, "RX MIX TX in rx_macro_enable_echo() [all...] |
| H A D | tda7419.c | 463 SOC_DAPM_SINGLE("Mix to LF Speaker Switch", 469 SOC_DAPM_SINGLE("Mix to RF Speaker Switch", 493 SND_SOC_DAPM_INPUT("MIX"), 502 SND_SOC_DAPM_SWITCH("Mix Enable", SND_SOC_NOPM, 550 {"Mix Enable", "Switch", "MIX"}, 553 {"LF Output Mixer", "Mix to LF Speaker Switch", "Mix Enable"}, 555 {"RF Output Mixer", "Mix to RF Speaker Switch", "Mix Enabl [all...] |
| H A D | rt5660.c | 666 SND_SOC_DAPM_MIXER("SPK MIX", RT5660_PWR_MIXER, RT5660_PWR_SM_BIT, 686 SND_SOC_DAPM_MIXER("SPO MIX", SND_SOC_NOPM, 0, 688 SND_SOC_DAPM_MIXER("LOUT MIX", SND_SOC_NOPM, 0, 0, 787 { "SPK MIX", "BST3 Switch", "BST3" }, 788 { "SPK MIX", "BST1 Switch", "BST1" }, 789 { "SPK MIX", "DACL Switch", "DAC L1" }, 790 { "SPK MIX", "DACR Switch", "DAC R1" }, 791 { "SPK MIX", "OUTMIXL Switch", "OUT MIXL" }, 806 { "SPO MIX", "DACR Switch", "DAC R1" }, 807 { "SPO MIX", "DAC [all...] |
| /linux/security/selinux/include/ |
| H A D | hash.h | 21 #define mix(input) \ in av_hash() macro 32 mix(key1); in av_hash() 33 mix(key2); in av_hash() 34 mix(key3); in av_hash() 36 #undef mix in av_hash()
|
| /linux/sound/pci/au88x0/ |
| H A 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/sound/mips/ |
| H A 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/arch/arm64/boot/dts/renesas/ |
| H A 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)
|
| H A 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";
|
| H A 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) 22 * (A) aplay -D plughw:0,0 xxx.wav (MIX-0) 23 * (B) aplay -D plughw:0,1 xxx.wav (MIX-1)
|
| H A 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) 22 * (A) aplay -D plughw:0,0 xxx.wav (MIX-0) 23 * (B) aplay -D plughw:0,1 xxx.wav (MIX-1)
|
| H A D | ulcb-simple-audio-card-mix+split.dtsi | 12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0) 13 * (B) CPU1 (2ch) --/ (MIX-1) 27 label = "snd-ulcb-mix";
|
| H A 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) 22 * (A) aplay -D plughw:0,0 xxx.wav (MIX-0) 23 * (B) aplay -D plughw:0,1 xxx.wav (MIX-1)
|
| /linux/sound/soc/intel/atom/ |
| H A D | sst-atom-controls.c | 1096 SST_SWM_MIXER("media0_out mix 0", SND_SOC_NOPM, SST_TASK_MMX, SST_SWM_OUT_MEDIA0, 1098 SST_SWM_MIXER("media1_out mix 0", SND_SOC_NOPM, SST_TASK_MMX, SST_SWM_OUT_MEDIA1, 1102 SST_SWM_MIXER("pcm0_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_PCM0, 1104 SST_SWM_MIXER("pcm1_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_PCM1, 1106 SST_SWM_MIXER("pcm2_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_PCM2, 1110 SST_SWM_MIXER("sprot_loop_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_SPROT_LOOP, 1112 SST_SWM_MIXER("media_loop1_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_MEDIA_LOOP1, 1114 SST_SWM_MIXER("media_loop2_out mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_MEDIA_LOOP2, 1118 SST_SWM_MIXER("codec_out0 mix 0", SND_SOC_NOPM, SST_TASK_SBA, SST_SWM_OUT_CODEC0, 1120 SST_SWM_MIXER("codec_out1 mix [all...] |
| /linux/sound/pci/emu10k1/ |
| H A 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() 641 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voice() argument 647 vattn = mix->attn[tmp] << 16; in snd_emu10k1_playback_unmute_voice() 654 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voices() argument 656 snd_emu10k1_playback_unmute_voice(emu, evoice, stereo, true, mix); in snd_emu10k1_playback_unmute_voices() 658 snd_emu10k1_playback_unmute_voice(emu, evoice + 1, true, false, mix); in snd_emu10k1_playback_unmute_voices() [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | ring_reconfig.py | 59 failed.append(mix) 65 for mix in mixes: 66 if not mix.issubset(supported): 69 # Set all the values in the mix to 1, other supported to 0 72 config[key + "-count"] = 1 if key in mix else 0 75 for mix in mixes: 76 if not mix.issubset(supported): 78 if mix in failed: 81 # Set all the values in the mix to max, other supported to 0 84 config[key + "-count"] = chans[key + '-max'] if key in mix else 0
|
| /linux/arch/x86/boot/ |
| H A D | video-mode.c | 102 struct mode_info mix; in raw_set_mode() local 103 *real_mode = mix.mode = mode; in raw_set_mode() 104 mix.x = mix.y = 0; in raw_set_mode() 105 return card->set_mode(&mix); in raw_set_mode()
|