Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h52 struct amixer { struct
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);
68 int (*setup)(struct amixer *amixer, struct rsc *input,
70 int (*get_scale)(struct amixer *amixer);
86 struct amixer **ramixer);
[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.c247 struct amixer *amixer; in atc_pcm_playback_prepare() local
283 (struct amixer **)&apcm->amixers[i]); in atc_pcm_playback_prepare()
298 amixer = apcm->amixers[i]; in atc_pcm_playback_prepare()
300 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
589 (struct amixer **)&apcm->amixers[i]); in atc_pcm_capture_get_resources()
647 struct amixer *amixer; in atc_pcm_capture_prepare() local
671 amixer = apcm->amixers[i]; in atc_pcm_capture_prepare()
672 amixer->ops->setup(amixer, out_ports[i], in atc_pcm_capture_prepare()
683 amixer = apcm->amixers[mix_base+i]; in atc_pcm_capture_prepare()
685 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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
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
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
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 …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/Documentation/sound/soc/
Ddapm.rst42 e.g. alsamixer, amixer.