/linux/sound/pci/ctxfi/ |
H A D | ctamixer.c | 29 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 D | ctamixer.h | 52 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 D | ctmixer.c | 346 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 D | ctatc.c | 246 struct amixer *amixer; in atc_pcm_playback_prepare() local 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() 588 (struct amixer **)&apcm->amixers[i]); in atc_pcm_capture_get_resources() 646 struct amixer *amixer; in atc_pcm_capture_prepare() local 670 amixer = apcm->amixers[i]; in atc_pcm_capture_prepare() 671 amixer->ops->setup(amixer, out_ports[i], in atc_pcm_capture_prepare() 682 amixer = apcm->amixers[mix_base+i]; in atc_pcm_capture_prepare() 684 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare() [all …]
|
/linux/arch/arm64/boot/dts/renesas/ |
H A D | rz-smarc-common.dtsi | 16 * 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
|
H A D | r8a779h0-gray-hawk-single.dts | 13 * 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%
|
H A D | r8a779g0-white-hawk-ard-audio-da7212.dtso | 66 * > 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
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra186.dtsi | 436 tegra_amixer: amixer@290bb00 { 437 compatible = "nvidia,tegra186-amixer", 438 "nvidia,tegra210-amixer";
|
H A D | tegra210-p2371-2180.dts | 725 amixer@702dbb00 {
|
H A D | tegra194.dtsi | 536 tegra_amixer: amixer@290bb00 { 537 compatible = "nvidia,tegra194-amixer", 538 "nvidia,tegra210-amixer";
|
H A D | tegra210-p3450-0000.dts | 1121 amixer@702dbb00 {
|
H A D | tegra194-p2972-0000.dts | 716 amixer@290bb00 {
|
H A D | tegra194-p3509-0000.dtsi | 761 amixer@290bb00 {
|
H A D | tegra186-p2771-0000.dts | 869 amixer@290bb00 {
|
H A D | tegra234.dtsi | 1242 tegra_amixer: amixer@290bb00 { 1243 compatible = "nvidia,tegra234-amixer", 1244 "nvidia,tegra210-amixer";
|
/linux/Documentation/sound/designs/ |
H A D | midi-2.0.rst | 556 via `amixer` program running on the gadget host like:: 558 % amixer -c1 cget iface=RAWMIDI,name='Operation Mode'
|
/linux/Documentation/usb/ |
H A D | gadget-testing.rst | 1146 $ amixer -c1 contents
|