Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/arch/arm/boot/dts/
Dr8a7790-lager.dts21 * amixer set "LINEOUT Mixer DACL" on
22 * amixer set "DVC Out" 100%
23 * amixer set "DVC In" 100%
27 * amixer set "DVC Out Mute" on
28 * amixer set "DVC In Mute" on
32 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
33 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
34 * amixer set "DVC Out Ramp" on
36 * amixer set "DVC Out" 80% // Volume Down
37 * amixer set "DVC Out" 100% // Volume Up
Dr8a7791-koelsch.dts22 * amixer set "LINEOUT Mixer DACL" on
23 * amixer set "DVC Out" 100%
24 * amixer set "DVC In" 100%
28 * amixer set "DVC Out Mute" on
29 * amixer set "DVC In Mute" on
33 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
34 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
35 * amixer set "DVC Out Ramp" on
37 * amixer set "DVC Out" 80% // Volume Down
38 * amixer set "DVC Out" 100% // Volume Up
/linux-4.4.14/Documentation/sound/alsa/soc/
Ddapm.txt35 e.g. alsamixer, amixer.