Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/sound/pci/ctxfi/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dctatc.c249 struct amixer *amixer; in atc_pcm_playback_prepare() local
285 (struct amixer **)&apcm->amixers[i]); in atc_pcm_playback_prepare()
300 amixer = apcm->amixers[i]; in atc_pcm_playback_prepare()
302 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
591 (struct amixer **)&apcm->amixers[i]); in atc_pcm_capture_get_resources()
649 struct amixer *amixer; in atc_pcm_capture_prepare() local
673 amixer = apcm->amixers[i]; in atc_pcm_capture_prepare()
674 amixer->ops->setup(amixer, out_ports[i], in atc_pcm_capture_prepare()
685 amixer = apcm->amixers[mix_base+i]; in atc_pcm_capture_prepare()
687 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare()
[all …]
/OK3568_Linux_fs/debian/overlay-debug/rockchip-test/audio/
H A Daudio_functions_test.sh26 amixer set "Capture Digital" 192
27 amixer set "Capture Mute" 0
28 amixer set "Right PGA Mux" "DifferentialR"
29 amixer set "Left PGA Mux" "DifferentialL"
30 amixer set "Differential Mux" "Line 2"
31 amixer set "Left Channel" 0
32 amixer set "Right Channel" 0
H A Dtest_loopback.sh8 amixer set "Capture Digital" 192
9 amixer set "Capture Mute" 0
10 amixer set "Right PGA Mux" "DifferentialR"
11 amixer set "Left PGA Mux" "DifferentialL"
12 amixer set "Differential Mux" "Line 2"
21 amixer set "Left Channel" $adc_mic_gain
22 amixer set "Right Channel" $adc_mic_gain
/OK3568_Linux_fs/external/rockchip-test/audio/
H A Daudio_functions_test.sh26 amixer set "Capture Digital" 192
27 amixer set "Capture Mute" 0
28 amixer set "Right PGA Mux" "DifferentialR"
29 amixer set "Left PGA Mux" "DifferentialL"
30 amixer set "Differential Mux" "Line 2"
31 amixer set "Left Channel" 0
32 amixer set "Right Channel" 0
H A Dtest_loopback.sh8 amixer set "Capture Digital" 192
9 amixer set "Capture Mute" 0
10 amixer set "Right PGA Mux" "DifferentialR"
11 amixer set "Left PGA Mux" "DifferentialL"
12 amixer set "Differential Mux" "Line 2"
21 amixer set "Left Channel" $adc_mic_gain
22 amixer set "Right Channel" $adc_mic_gain
/OK3568_Linux_fs/debian/overlay-debug/rockchip-test/audio/acodec_test/
H A Dset_mixer_volume.sh11 amixer set "Left Mixer Left Bypass" $v
12 amixer set "Right Mixer Left Bypass" $v
13 amixer get "Left Mixer Left Bypass"
14 amixer get "Right Mixer Left Bypass"
H A Dset_adc_mic_volume.sh33 amixer set "Capture Digital" $v
34 amixer get "Capture Digital"
37 amixer set "$content" $v
38 amixer get "$content"
H A Dset_adc_alc_volume.sh10 amixer set "ALC Capture Target" $v
11 amixer get "ALC Capture Target"
H A Dset_hpout_volume.sh11 amixer set "Output 1" $v
12 amixer get "Output 1"
H A Dset_lineout_volume.sh11 amixer set "Output 2" $v
12 amixer get "Output 2"
/OK3568_Linux_fs/external/rockchip-test/audio/acodec_test/
H A Dset_mixer_volume.sh11 amixer set "Left Mixer Left Bypass" $v
12 amixer set "Right Mixer Left Bypass" $v
13 amixer get "Left Mixer Left Bypass"
14 amixer get "Right Mixer Left Bypass"
H A Dset_adc_mic_volume.sh33 amixer set "Capture Digital" $v
34 amixer get "Capture Digital"
37 amixer set "$content" $v
38 amixer get "$content"
H A Dset_adc_alc_volume.sh10 amixer set "ALC Capture Target" $v
11 amixer get "ALC Capture Target"
H A Dset_lineout_volume.sh11 amixer set "Output 2" $v
12 amixer get "Output 2"
H A Dset_hpout_volume.sh11 amixer set "Output 1" $v
12 amixer get "Output 1"
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A 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
H A 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
H A 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
H A 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
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dr8a7795-salvator-x.dts16 * amixer set "DVC Out" 100%
17 * amixer set "DVC In" 100%
21 * amixer set "DVC Out Mute" on
22 * amixer set "DVC In Mute" on
26 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
27 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
28 * amixer set "DVC Out Ramp" on
30 * amixer set "DVC Out" 80% // Volume Down
31 * amixer set "DVC Out" 100% // Volume Up
/OK3568_Linux_fs/buildroot/board/lemaker/bananapro/
H A Dreadme.txt60 # amixer cset name='Power Amplifier DAC Playback Switch' on
61 # amixer cset name='Power Amplifier Mute Switch' on
62 # amixer cset name='Power Amplifier Volume' 42

12