Home
last modified time | relevance | path

Searched full:amixer (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.12.1/sound/pci/ctxfi/
Dctamixer.c29 rsc->idx = container_of(rsc, struct amixer, rsc)->idx[0]; in amixer_master()
39 return container_of(rsc, struct amixer, rsc)->idx[rsc->conj]; in amixer_index()
54 static int amixer_set_input(struct amixer *amixer, struct rsc *rsc) in amixer_set_input() argument
58 hw = amixer->rsc.hw; in amixer_set_input()
59 hw->amixer_set_mode(amixer->rsc.ctrl_blk, AMIXER_Y_IMMEDIATE); in amixer_set_input()
60 amixer->input = rsc; in amixer_set_input()
62 hw->amixer_set_x(amixer->rsc.ctrl_blk, BLANK_SLOT); in amixer_set_input()
64 hw->amixer_set_x(amixer->rsc.ctrl_blk, in amixer_set_input()
71 static int amixer_set_y(struct amixer *amixer, unsigned int y) in amixer_set_y() argument
75 hw = amixer->rsc.hw; in amixer_set_y()
[all …]
Dctamixer.h49 /* Define the descriptor of a amixer resource */
52 struct amixer { struct
56 struct sum *sum; /* Put amixer output to this summation node */ argument
57 const struct amixer_rsc_ops *ops; /* AMixer specific operations */
61 int (*set_input)(struct amixer *amixer, struct rsc *rsc);
62 int (*set_scale)(struct amixer *amixer, unsigned int scale);
63 int (*set_invalid_squash)(struct amixer *amixer, unsigned int iv);
64 int (*set_sum)(struct amixer *amixer, struct sum *sum);
65 int (*commit_write)(struct amixer *amixer);
67 int (*commit_raw_write)(struct amixer *amixer);
[all …]
Dctmixer.c346 struct amixer *amixer; in ct_alsa_mix_volume_get() local
350 amixer = ((struct ct_mixer *)atc->mixer)-> in ct_alsa_mix_volume_get()
352 val = amixer->ops->get_scale(amixer) / VOL_SCALE; in ct_alsa_mix_volume_get()
369 struct amixer *amixer; in ct_alsa_mix_volume_put() local
379 amixer = mixer->amixers[type*CHN_NUM+i]; in ct_alsa_mix_volume_put()
380 oval = amixer->ops->get_scale(amixer); in ct_alsa_mix_volume_put()
382 amixer->ops->set_scale(amixer, val); in ct_alsa_mix_volume_put()
383 amixer->ops->commit_write(amixer); in ct_alsa_mix_volume_put()
388 amixer = mixer-> in ct_alsa_mix_volume_put()
390 amixer->ops->set_scale(amixer, val); in ct_alsa_mix_volume_put()
[all …]
Dctatc.c116 [AMIXER] = { .create = amixer_mgr_create,
242 struct amixer_mgr *amixer_mgr = atc->rsc_mgrs[AMIXER]; in atc_pcm_playback_prepare()
246 struct amixer *amixer; in atc_pcm_playback_prepare() local
272 /* Get AMIXER resource */ in atc_pcm_playback_prepare()
282 (struct amixer **)&apcm->amixers[i]); in atc_pcm_playback_prepare()
297 amixer = apcm->amixers[i]; in atc_pcm_playback_prepare()
299 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
321 struct amixer_mgr *amixer_mgr = atc->rsc_mgrs[AMIXER]; in atc_pcm_release_resources()
503 struct amixer_mgr *amixer_mgr = atc->rsc_mgrs[AMIXER]; in atc_pcm_capture_get_resources()
588 (struct amixer **)&apcm->amixers[i]); in atc_pcm_capture_get_resources()
[all …]
Dctresource.c98 [AMIXER] = 0x4,
152 case AMIXER: in rsc_init()
181 case AMIXER: in rsc_uninit()
222 case AMIXER: in rsc_mgr_init()
267 case AMIXER: in rsc_mgr_uninit()
Dctmixer.h44 void **amixers; /* amixer resources for volume control */
Dctresource.h23 AMIXER, enumerator
/linux-6.12.1/sound/soc/samsung/
Dsmdk_wm8994pcm.c25 * $ amixer sset 'DAC1' on,on
26 * $ amixer sset 'Right Headphone Mux' 'DAC'
27 * $ amixer sset 'Left Headphone Mux' 'DAC'
28 * $ amixer sset 'DAC1R Mixer AIF1.1' on
29 * $ amixer sset 'DAC1L Mixer AIF1.1' on
30 * $ amixer sset 'IN2L' on
31 * $ amixer sset 'IN2L PGA IN2LN' on
32 * $ amixer sset 'MIXINL IN2L' on
33 * $ amixer sset 'AIF1ADC1L Mixer ADC/DMIC' on
34 * $ amixer sset 'IN2R' on
[all …]
Dsmdk_wm8994.c16 * $ amixer sset 'DAC1' on,on
17 * $ amixer sset 'Right Headphone Mux' 'DAC'
18 * $ amixer sset 'Left Headphone Mux' 'DAC'
19 * $ amixer sset 'DAC1R Mixer AIF1.1' on
20 * $ amixer sset 'DAC1L Mixer AIF1.1' on
21 * $ amixer sset 'IN2L' on
22 * $ amixer sset 'IN2L PGA IN2LN' on
23 * $ amixer sset 'MIXINL IN2L' on
24 * $ amixer sset 'AIF1ADC1L Mixer ADC/DMIC' on
25 * $ amixer sset 'IN2R' on
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dnvidia,tegra210-mixer.yaml24 pattern: "^amixer@[0-9a-f]*$"
28 - const: nvidia,tegra210-amixer
31 - nvidia,tegra234-amixer
32 - nvidia,tegra194-amixer
33 - nvidia,tegra186-amixer
34 - const: nvidia,tegra210-amixer
69 amixer@702dbb00 {
70 compatible = "nvidia,tegra210-amixer";
Drenesas,rsnd.txt85 > amixer set "SRC Out Rate" on
87 > amixer set "SRC Out Rate" 48000
88 > amixer set "SRC Out Rate" 44100
127 amixer set "CTU Reset" on
128 amixer set "CTU Pass" 9,10
129 amixer set "CTU SV0" 0,4194304
130 amixer set "CTU SV1" 4194304,0
133 amixer set "CTU Reset" on
134 amixer set "CTU Pass" 2,1
161 amixer set "DVC Out" 100%
[all …]
/linux-6.12.1/arch/arm/boot/dts/renesas/
Dr8a7745-iwg22d-sodimm.dts13 * amixer set "DVC Out" 100%
14 * amixer set "DVC In" 100%
18 * amixer set "DVC Out Mute" on
19 * amixer set "DVC In Mute" on
23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25 * amixer set "DVC Out Ramp" on
27 * amixer set "DVC Out" 80% // Volume Down
28 * amixer set "DVC Out" 100% // Volume Up
Diwg20d-q7-common.dtsi13 * amixer set "DVC Out" 100%
14 * amixer set "DVC In" 100%
18 * amixer set "DVC Out Mute" on
19 * amixer set "DVC In Mute" on
23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25 * amixer set "DVC Out Ramp" on
27 * amixer set "DVC Out" 80% // Volume Down
28 * amixer set "DVC Out" 100% // Volume Up
Dr8a7742-iwg21d-q7.dts13 * amixer set "DVC Out" 100%
14 * amixer set "DVC In" 100%
18 * amixer set "DVC Out Mute" on
19 * amixer set "DVC In Mute" on
23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25 * amixer set "DVC Out Ramp" on
27 * amixer set "DVC Out" 80% // Volume Down
28 * amixer set "DVC Out" 100% // Volume Up
Dr8a7793-gose.dts17 * amixer set "LINEOUT Mixer DACL" on
18 * amixer set "DVC Out" 100%
19 * amixer set "DVC In" 100%
23 * amixer set "DVC Out Mute" on
24 * amixer set "DVC In Mute" on
28 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
29 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
30 * amixer set "DVC Out Ramp" on
32 * amixer set "DVC Out" 80% // Volume Down
33 * amixer set "DVC Out" 100% // Volume Up
Dr8a7791-koelsch.dts19 * amixer set "LINEOUT Mixer DACL" on
20 * amixer set "DVC Out" 100%
21 * amixer set "DVC In" 100%
25 * amixer set "DVC Out Mute" on
26 * amixer set "DVC In Mute" on
30 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
31 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
32 * amixer set "DVC Out Ramp" on
34 * amixer set "DVC Out" 80% // Volume Down
35 * amixer set "DVC Out" 100% // Volume Up
Dr8a7790-lager.dts19 * amixer set "LINEOUT Mixer DACL" on
20 * amixer set "DVC Out" 100%
21 * amixer set "DVC In" 100%
25 * amixer set "DVC Out Mute" on
26 * amixer set "DVC In Mute" on
30 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
31 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
32 * amixer set "DVC Out Ramp" on
34 * amixer set "DVC Out" 80% // Volume Down
35 * amixer set "DVC Out" 100% // Volume Up
/linux-6.12.1/sound/soc/sh/rcar/
Ddvc.c10 * amixer set "DVC Out" 100%
13 * amixer set "DVC In" 100%
16 * amixer set "DVC Out Mute" on
19 * amixer set "DVC In Mute" on
22 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
23 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
24 * amixer set "DVC Out Ramp" on
26 * amixer set "DVC Out" 80% // Volume Down
27 * amixer set "DVC Out" 100% // Volume Up
Dmix.c21 * 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"
27 * amixer set "MIX Ramp" on
29 * amixer set "MIX",0 80% // DAI0 Volume Down
30 * amixer set "MIX",1 100% // DAI1 Volume Up
Dctu.c13 * User needs to setup CTU by amixer, and its settings are
63 * amixer set "CTU Reset" on
64 * amixer set "CTU Pass" 9,10
65 * amixer set "CTU SV0" 0,4194304
66 * amixer set "CTU SV1" 4194304,0
68 * amixer set "CTU Reset" on
69 * amixer set "CTU Pass" 2,1
Dsrc.c11 * amixer set "SRC Out Rate" on
13 * amixer set "SRC Out Rate" 96000 // convert rate to 96000Hz
14 * amixer set "SRC Out Rate" 22050 // convert rate to 22050Hz
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Drz-smarc-common.dtsi16 * amixer cset name='Left Input Mixer L2 Switch' on
17 * amixer cset name='Right Input Mixer R2 Switch' on
18 * amixer cset name='Headphone Playback Volume' 100
19 * amixer cset name='PCM Volume' 100%
20 * amixer cset name='Input PGA Volume' 25
Dr8a779h0-gray-hawk-single.dts13 * by the GP0_01 pin via amixer.
16 * > amixer set "MUX" "Playback" // for GP0_01
17 * > amixer set "DAC 1" 85%
21 * > amixer set "MUX" "Capture" // for GP0_01
22 * > amixer set "Mic 1" 80%
23 * > amixer set "ADC 1" on
24 * > amixer set 'ADC 1' 80%
Dr8a779g0-white-hawk-ard-audio-da7212.dtso66 * > amixer set "Headphone" 40%
67 * > amixer set "Headphone" on
68 * > amixer set "Mixout Left DAC Left" on
69 * > amixer set "Mixout Right DAC Right" on
Dsalvator-common.dtsi13 * amixer set "DVC Out" 100%
14 * amixer set "DVC In" 100%
18 * amixer set "DVC Out Mute" on
19 * amixer set "DVC In Mute" on
23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25 * amixer set "DVC Out Ramp" on
27 * amixer set "DVC Out" 80% // Volume Down
28 * amixer set "DVC Out" 100% // Volume Up

12