Home
last modified time | relevance | path

Searched refs:amixer (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/sound/pci/ctxfi/
Dctamixer.c33 return 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_next_conj()
44 return container_of(rsc, struct amixer, rsc)->idx[rsc->conj]; in amixer_index()
59 static int amixer_set_input(struct amixer *amixer, struct rsc *rsc) in amixer_set_input() argument
63 hw = amixer->rsc.hw; in amixer_set_input()
64 hw->amixer_set_mode(amixer->rsc.ctrl_blk, AMIXER_Y_IMMEDIATE); in amixer_set_input()
65 amixer->input = rsc; in amixer_set_input()
67 hw->amixer_set_x(amixer->rsc.ctrl_blk, BLANK_SLOT); in amixer_set_input()
69 hw->amixer_set_x(amixer->rsc.ctrl_blk, in amixer_set_input()
76 static int amixer_set_y(struct amixer *amixer, unsigned int y) in amixer_set_y() argument
[all …]
Dctamixer.h56 struct amixer { struct
65 int (*set_input)(struct amixer *amixer, struct rsc *rsc);
66 int (*set_scale)(struct amixer *amixer, unsigned int scale);
67 int (*set_invalid_squash)(struct amixer *amixer, unsigned int iv);
68 int (*set_sum)(struct amixer *amixer, struct sum *sum);
69 int (*commit_write)(struct amixer *amixer);
71 int (*commit_raw_write)(struct amixer *amixer);
72 int (*setup)(struct amixer *amixer, struct rsc *input,
74 int (*get_scale)(struct amixer *amixer);
90 struct amixer **ramixer);
[all …]
Dctmixer.c350 struct amixer *amixer; in ct_alsa_mix_volume_get() local
354 amixer = ((struct ct_mixer *)atc->mixer)-> in ct_alsa_mix_volume_get()
356 val = amixer->ops->get_scale(amixer) / VOL_SCALE; in ct_alsa_mix_volume_get()
373 struct amixer *amixer; in ct_alsa_mix_volume_put() local
383 amixer = mixer->amixers[type*CHN_NUM+i]; in ct_alsa_mix_volume_put()
384 oval = amixer->ops->get_scale(amixer); in ct_alsa_mix_volume_put()
386 amixer->ops->set_scale(amixer, val); in ct_alsa_mix_volume_put()
387 amixer->ops->commit_write(amixer); in ct_alsa_mix_volume_put()
392 amixer = mixer-> in ct_alsa_mix_volume_put()
394 amixer->ops->set_scale(amixer, val); in ct_alsa_mix_volume_put()
[all …]
Dctatc.c250 struct amixer *amixer; in atc_pcm_playback_prepare() local
286 (struct amixer **)&apcm->amixers[i]); in atc_pcm_playback_prepare()
301 amixer = apcm->amixers[i]; in atc_pcm_playback_prepare()
303 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
592 (struct amixer **)&apcm->amixers[i]); in atc_pcm_capture_get_resources()
650 struct amixer *amixer; in atc_pcm_capture_prepare() local
674 amixer = apcm->amixers[i]; in atc_pcm_capture_prepare()
675 amixer->ops->setup(amixer, out_ports[i], in atc_pcm_capture_prepare()
686 amixer = apcm->amixers[mix_base+i]; in atc_pcm_capture_prepare()
688 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare()
[all …]
/Linux-v4.19/arch/arm/boot/dts/
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
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
Dr8a7791-porter.dts16 * amixer set "LINEOUT Mixer DACL" on
Dr8a7794-silk.dts18 * amixer set "LINEOUT Mixer DACL" on
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Drenesas,rsnd.txt114 > amixer set "SRC Out Rate" on
116 > amixer set "SRC Out Rate" 48000
117 > amixer set "SRC Out Rate" 44100
174 amixer set "CTU Reset" on
175 amixer set "CTU Pass" 9,10
176 amixer set "CTU SV0" 0,4194304
177 amixer set "CTU SV1" 4194304,0
180 amixer set "CTU Reset" on
181 amixer set "CTU Pass" 2,1
237 amixer set "DVC Out" 100%
[all …]
/Linux-v4.19/arch/arm64/boot/dts/renesas/
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
/Linux-v4.19/Documentation/sound/soc/
Ddapm.rst42 e.g. alsamixer, amixer.