Home
last modified time | relevance | path

Searched full:mix (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/linux/drivers/clk/mmp/
H A Dclk-mix.c3 * 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 Dtumbler.c198 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 Ddaca.c54 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 Dmix.c3 // 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 …]
/linux/drivers/clk/spacemit/
H A Dccu_mix.c6 * MIX clock type is the combination of mux, factor or divider, and gate
18 struct ccu_mix *mix = hw_to_ccu_mix(hw); in ccu_gate_disable() local
20 ccu_update(&mix->common, ctrl, mix->gate.mask, 0); in ccu_gate_disable()
25 struct ccu_mix *mix = hw_to_ccu_mix(hw); in ccu_gate_enable() local
26 struct ccu_gate_config *gate = &mix->gate; in ccu_gate_enable()
28 ccu_update(&mix->common, ctrl, gate->mask, gate->mask); in ccu_gate_enable()
35 struct ccu_mix *mix = hw_to_ccu_mix(hw); in ccu_gate_is_enabled() local
36 struct ccu_gate_config *gate = &mix->gate; in ccu_gate_is_enabled()
38 return (ccu_read(&mix->common, ctrl) & gate->mask) == gate->mask; in ccu_gate_is_enabled()
44 struct ccu_mix *mix = hw_to_ccu_mix(hw); in ccu_factor_recalc_rate() local
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dcavium-mix.txt1 * 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 Drt5677.c1590 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix L Switch", RT5677_DD1_MIXER,
1592 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix L Switch", RT5677_DD1_MIXER,
1601 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix R Switch", RT5677_DD1_MIXER,
1603 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix R Switch", RT5677_DD1_MIXER,
1612 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix L Switch", RT5677_DD2_MIXER,
1614 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix L Switch", RT5677_DD2_MIXER,
1623 SOC_DAPM_SINGLE_AUTODISABLE("Sto DAC Mix R Switch", RT5677_DD2_MIXER,
1625 SOC_DAPM_SINGLE_AUTODISABLE("Mono DAC Mix R Switch", RT5677_DD2_MIXER,
1752 "STO1 ADC MIX", "STO2 ADC MIX", "O
[all...]
H A Drt5640.c736 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 Dlpass-wsa-macro.c531 SOC_DAPM_ENUM("WSA_RX0 MIX Mux", rx0_mix_chain_enum_v2_1);
543 SOC_DAPM_ENUM("WSA_RX0 MIX Mux", rx0_mix_chain_enum_v2_5);
546 SOC_DAPM_ENUM("WSA_RX0 SIDETONE MIX Mux", rx0_sidetone_mix_enum);
591 SOC_DAPM_ENUM("WSA_RX1 MIX Mux", rx1_mix_chain_enum_v2_1);
603 SOC_DAPM_ENUM("WSA_RX1 MIX Mux", rx1_mix_chain_enum_v2_5);
2342 SND_SOC_DAPM_MIXER("WSA_RX INT0 MIX", SND_SOC_NOPM, 0, 0, NULL, 0), in wsa_macro_vi_feed_mixer_get()
2343 SND_SOC_DAPM_MIXER("WSA_RX INT1 MIX", SND_SOC_NOPM, 0, 0, NULL, 0), in wsa_macro_vi_feed_mixer_get()
2345 SND_SOC_DAPM_MIXER("WSA_RX INT0 SEC MIX", SND_SOC_NOPM, 0, 0, NULL, 0), in wsa_macro_vi_feed_mixer_get()
2346 SND_SOC_DAPM_MIXER("WSA_RX INT1 SEC MIX", SND_SOC_NOPM, 0, 0, NULL, 0), in wsa_macro_vi_feed_mixer_get()
2348 SND_SOC_DAPM_MUX("WSA_RX0 INT0 SIDETONE MIX", CDC_WSA_RX0_RX_PATH_CFG in wsa_macro_vi_feed_mixer_get()
[all...]
H A Drt5665.c1740 "IF1 DAC2", "IF2_1 DAC", "IF2_2 DAC", "IF3 DAC", "Mono ADC MIX"
1760 "IF1 DAC2", "IF2_1 DAC", "IF2_2 DAC", "IF3 DAC", "STO2 ADC MIX"
1820 "DAC MIX", "DMIC"
2036 "DAC MIX", "DMIC"
2174 "IF1 DAC2", "IF2_2 DAC", "IF3 DAC", "DAC1 MIX"
2187 "IF1 DAC2", "IF2_1 DAC", "IF3 DAC", "DAC1 MIX"
2201 "IF1 DAC2", "IF2_1 DAC", "IF2_2 DAC", "DAC1 MIX"
2824 SND_SOC_DAPM_PGA("Stereo1 ADC MIX", SND_SOC_NOPM, 0, 0, NULL, 0),
2825 SND_SOC_DAPM_PGA("Stereo2 ADC MIX", SND_SOC_NOPM, 0, 0, NULL, 0),
2826 SND_SOC_DAPM_PGA("Mono ADC MIX", SND_SOC_NOP
[all...]
H A Dlpass-rx-macro.c824 SOC_DAPM_ENUM("RX MIX TX1_MUX Mux", rx_mix_tx1_mux_enum);
826 SOC_DAPM_ENUM("RX MIX TX2_MUX Mux", rx_mix_tx2_mux_enum);
886 SOC_DAPM_ENUM("RX MIX TX0_MUX Mux", rx_mix_tx0_mux_enum);
1942 /* main clock needs to be enabled for mix to be useful: */ in rx_macro_digital_mute()
2993 SOC_SINGLE_S8_TLV("RX_RX1 Mix Digital Volume", CDC_RX_RX1_RX_VOL_MIX_CTL, in rx_macro_iir_filter_info()
2995 SOC_SINGLE_S8_TLV("RX_RX2 Mix Digital Volume", CDC_RX_RX2_RX_VOL_MIX_CTL,
3005 SOC_SINGLE_S8_TLV("RX_RX1 Mix Digital Volume", CDC_2_5_RX_RX1_RX_VOL_MIX_CTL,
3007 SOC_SINGLE_S8_TLV("RX_RX2 Mix Digital Volume", CDC_2_5_RX_RX2_RX_VOL_MIX_CTL,
3014 SOC_SINGLE_S8_TLV("RX_RX0 Mix Digital Volume", CDC_RX_RX0_RX_VOL_MIX_CTL,
3107 if (!(snd_soc_dapm_widget_name_cmp(w, "RX MIX TX in rx_macro_enable_echo()
[all...]
H A Dtda7419.c463 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 Enable"},
H A Drt5660.c666 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...]
H A Drt5668.c1271 "DAC MIX", "ADC"
1311 "DAC MIX", "DMIC"
1587 SND_SOC_DAPM_PGA("Stereo1 ADC MIX", SND_SOC_NOPM, 0, 0, NULL, 0),
1728 {"Stereo1 ADC L1 Mux", "DAC MIX", "Stereo1 DAC MIXL"},
1730 {"Stereo1 ADC L2 Mux", "DAC MIX", "Stereo1 DAC MIXL"},
1733 {"Stereo1 ADC R1 Mux", "DAC MIX", "Stereo1 DAC MIXR"},
1735 {"Stereo1 ADC R2 Mux", "DAC MIX", "Stereo1 DAC MIXR"},
1745 {"Stereo1 ADC MIX", NULL, "Stereo1 ADC MIXL"},
1746 {"Stereo1 ADC MIX", NULL, "Stereo1 ADC MIXR"},
1748 {"IF1 01 ADC Swap Mux", "L/R", "Stereo1 ADC MIX"},
[all...]
/linux/sound/pci/au88x0/
H A Dau88x0_core.c15 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 Dad1843.c43 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/security/selinux/include/
H A Dhash.h21 #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/arch/arm64/boot/dts/renesas/
H A Dulcb-audio-graph-card2-mix+split.dtsi3 * 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 Dulcb-audio-graph-card-mix+split.dtsi3 * 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 Dulcb-kf-simple-audio-card-mix+split.dtsi3 * 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 Dulcb-kf-audio-graph-card-mix+split.dtsi3 * 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 Dulcb-simple-audio-card-mix+split.dtsi12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0)
13 * (B) CPU1 (2ch) --/ (MIX-1)
27 label = "snd-ulcb-mix";
H A Dulcb-kf-audio-graph-card2-mix+split.dtsi3 * 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 Dsst-atom-controls.c1105 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
[all...]
/linux/arch/x86/boot/
H A Dvideo-mode.c102 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()

12345678910>>...14