Home
last modified time | relevance | path

Searched full:mixer (Results 1 – 25 of 637) sorted by relevance

12345678910>>...26

/kernel/linux/linux-5.10/sound/pci/ctxfi/
Dctmixer.c8 * This file contains the implementation of alsa mixer device functions.
219 ct_mixer_recording_select(struct ct_mixer *mixer, enum CT_AMIXER_CTL type);
222 ct_mixer_recording_unselect(struct ct_mixer *mixer, enum CT_AMIXER_CTL type);
267 get_switch_state(struct ct_mixer *mixer, enum CTALSA_MIXER_CTL type) in get_switch_state() argument
269 return (mixer->switch_state & (0x1 << (type - SWH_MIXER_START))) in get_switch_state()
274 set_switch_state(struct ct_mixer *mixer, in set_switch_state() argument
278 mixer->switch_state |= (0x1 << (type - SWH_MIXER_START)); in set_switch_state()
280 mixer->switch_state &= ~(0x1 << (type - SWH_MIXER_START)); in set_switch_state()
350 amixer = ((struct ct_mixer *)atc->mixer)-> in ct_alsa_mix_volume_get()
367 struct ct_mixer *mixer = atc->mixer; in ct_alsa_mix_volume_put() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun8i_mixer.c263 struct sun8i_mixer *mixer = engine_to_sun8i_mixer(engine); in sun8i_layers_init() local
267 mixer->cfg->vi_num + mixer->cfg->ui_num + 1, in sun8i_layers_init()
272 for (i = 0; i < mixer->cfg->vi_num; i++) { in sun8i_layers_init()
275 layer = sun8i_vi_layer_init_one(drm, mixer, i); in sun8i_layers_init()
285 for (i = 0; i < mixer->cfg->ui_num; i++) { in sun8i_layers_init()
288 layer = sun8i_ui_layer_init_one(drm, mixer, i); in sun8i_layers_init()
295 planes[mixer->cfg->vi_num + i] = &layer->plane; in sun8i_layers_init()
339 struct sun8i_mixer *mixer; in sun8i_mixer_bind() local
347 * The mixer uses single 32-bit register to store memory in sun8i_mixer_bind()
350 * Restrict the DMA mask so that the mixer won't be in sun8i_mixer_bind()
[all …]
Dsun8i_ui_layer.c26 static void sun8i_ui_layer_enable(struct sun8i_mixer *mixer, int channel, in sun8i_ui_layer_enable() argument
32 bld_base = sun8i_blender_base(mixer); in sun8i_ui_layer_enable()
33 ch_base = sun8i_channel_base(mixer, channel); in sun8i_ui_layer_enable()
43 regmap_update_bits(mixer->engine.regs, in sun8i_ui_layer_enable()
48 regmap_update_bits(mixer->engine.regs, in sun8i_ui_layer_enable()
53 regmap_update_bits(mixer->engine.regs, in sun8i_ui_layer_enable()
62 regmap_update_bits(mixer->engine.regs, in sun8i_ui_layer_enable()
68 regmap_update_bits(mixer->engine.regs, in sun8i_ui_layer_enable()
75 static int sun8i_ui_layer_update_coord(struct sun8i_mixer *mixer, int channel, in sun8i_ui_layer_update_coord() argument
88 bld_base = sun8i_blender_base(mixer); in sun8i_ui_layer_update_coord()
[all …]
Dsun8i_vi_layer.c20 static void sun8i_vi_layer_enable(struct sun8i_mixer *mixer, int channel, in sun8i_vi_layer_enable() argument
26 bld_base = sun8i_blender_base(mixer); in sun8i_vi_layer_enable()
27 ch_base = sun8i_channel_base(mixer, channel); in sun8i_vi_layer_enable()
37 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable()
42 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable()
47 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable()
56 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable()
62 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable()
69 static int sun8i_vi_layer_update_coord(struct sun8i_mixer *mixer, int channel, in sun8i_vi_layer_update_coord() argument
86 bld_base = sun8i_blender_base(mixer); in sun8i_vi_layer_update_coord()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dlm49453.c696 /* Sidetone Mixer */
697 SND_SOC_DAPM_MIXER("Sidetone Mixer", SND_SOC_NOPM, 0, 0,
702 SND_SOC_DAPM_MIXER("HPL Mixer", SND_SOC_NOPM, 0, 0,
705 SND_SOC_DAPM_MIXER("HPR Mixer", SND_SOC_NOPM, 0, 0,
708 SND_SOC_DAPM_MIXER("LOL Mixer", SND_SOC_NOPM, 0, 0,
711 SND_SOC_DAPM_MIXER("LOR Mixer", SND_SOC_NOPM, 0, 0,
714 SND_SOC_DAPM_MIXER("LSL Mixer", SND_SOC_NOPM, 0, 0,
717 SND_SOC_DAPM_MIXER("LSR Mixer", SND_SOC_NOPM, 0, 0,
720 SND_SOC_DAPM_MIXER("HAL Mixer", SND_SOC_NOPM, 0, 0,
723 SND_SOC_DAPM_MIXER("HAR Mixer", SND_SOC_NOPM, 0, 0,
[all …]
Dcs42l73.h67 #define CS42L73_MIXERCTL 0x34 /* Mixer Control. */
68 #define CS42L73_HLAIPAA 0x35 /* HP/LO Left Mixer: L. */
69 #define CS42L73_HLBIPBA 0x36 /* HP/LO Right Mixer: R. */
70 #define CS42L73_HLAXSPAA 0x37 /* HP/LO Left Mixer: XSP L */
71 #define CS42L73_HLBXSPBA 0x38 /* HP/LO Right Mixer: XSP R */
72 #define CS42L73_HLAASPAA 0x39 /* HP/LO Left Mixer: ASP L */
73 #define CS42L73_HLBASPBA 0x3A /* HP/LO Right Mixer: ASP R */
74 #define CS42L73_HLAVSPMA 0x3B /* HP/LO Left Mixer: VSP. */
75 #define CS42L73_HLBVSPMA 0x3C /* HP/LO Right Mixer: VSP */
76 #define CS42L73_XSPAIPAA 0x3D /* XSP Left Mixer: Left */
[all …]
Dwm9712.c110 static const char *wm9712_rec_sel[] = {"Mic", "NC", "NC", "Speaker Mixer",
111 "Line", "Headphone Mixer", "Phone Mixer", "Phone"};
224 unsigned int mixer, mask, shift, old; in wm9712_hp_mixer_put() local
228 mixer = mc->shift >> 8; in wm9712_hp_mixer_put()
233 old = wm9712->hp_mixer[mixer]; in wm9712_hp_mixer_put()
235 wm9712->hp_mixer[mixer] |= mask; in wm9712_hp_mixer_put()
237 wm9712->hp_mixer[mixer] &= ~mask; in wm9712_hp_mixer_put()
239 change = old != wm9712->hp_mixer[mixer]; in wm9712_hp_mixer_put()
267 unsigned int shift, mixer; in wm9712_hp_mixer_get() local
269 mixer = mc->shift >> 8; in wm9712_hp_mixer_get()
[all …]
Disabelle.c231 /* Mixer controls */
543 SND_SOC_DAPM_MIXER("Headset Left Mixer", SND_SOC_NOPM, 0, 0,
546 SND_SOC_DAPM_MIXER("Headset Right Mixer", SND_SOC_NOPM, 0, 0,
549 SND_SOC_DAPM_MIXER("Handsfree Left Mixer", SND_SOC_NOPM, 0, 0,
552 SND_SOC_DAPM_MIXER("Handsfree Right Mixer", SND_SOC_NOPM, 0, 0,
555 SND_SOC_DAPM_MIXER("LINEOUT1 Mixer", SND_SOC_NOPM, 0, 0,
558 SND_SOC_DAPM_MIXER("LINEOUT2 Mixer", SND_SOC_NOPM, 0, 0,
561 SND_SOC_DAPM_MIXER("Earphone Mixer", SND_SOC_NOPM, 0, 0,
565 SND_SOC_DAPM_MIXER("DPGA1L Mixer", SND_SOC_NOPM, 0, 0,
568 SND_SOC_DAPM_MIXER("DPGA1R Mixer", SND_SOC_NOPM, 0, 0,
[all …]
Dtlv320aic3x.c157 * so we have to use specific dapm_put call for input mixer
333 * Output controls that map to output mixer switches. Note these are
337 SOC_SINGLE_TLV("Left Line Mixer PGAR Bypass Volume",
339 SOC_SINGLE_TLV("Left Line Mixer DACR1 Playback Volume",
342 SOC_SINGLE_TLV("Right Line Mixer PGAL Bypass Volume",
344 SOC_SINGLE_TLV("Right Line Mixer DACL1 Playback Volume",
347 SOC_SINGLE_TLV("Left HP Mixer PGAR Bypass Volume",
349 SOC_SINGLE_TLV("Left HP Mixer DACR1 Playback Volume",
352 SOC_SINGLE_TLV("Right HP Mixer PGAL Bypass Volume",
354 SOC_SINGLE_TLV("Right HP Mixer DACL1 Playback Volume",
[all …]
Dadau1761.c395 SND_SOC_DAPM_MIXER("Left Input Mixer", ADAU1761_REC_MIXER_LEFT0, 0, 0,
397 SND_SOC_DAPM_MIXER("Right Input Mixer", ADAU1761_REC_MIXER_RIGHT0, 0, 0,
400 SOC_MIXER_ARRAY("Left Playback Mixer", ADAU1761_PLAY_MIXER_LEFT0,
402 SOC_MIXER_ARRAY("Right Playback Mixer", ADAU1761_PLAY_MIXER_RIGHT0,
404 SOC_MIXER_ARRAY("Left LR Playback Mixer", ADAU1761_PLAY_LR_MIXER_LEFT,
406 SOC_MIXER_ARRAY("Right LR Playback Mixer", ADAU1761_PLAY_LR_MIXER_RIGHT,
430 SND_SOC_DAPM_MIXER("Mono Playback Mixer", ADAU1761_PLAY_MIXER_MONO,
442 { "Left Input Mixer", NULL, "LINP" },
443 { "Left Input Mixer", NULL, "LINN" },
444 { "Left Input Mixer", NULL, "LAUX" },
[all …]
Dtlv320aic32x4.c339 /* Left mixer pins */
371 /* Right mixer pins */
404 SND_SOC_DAPM_MIXER("HPL Output Mixer", SND_SOC_NOPM, 0, 0,
409 SND_SOC_DAPM_MIXER("LOL Output Mixer", SND_SOC_NOPM, 0, 0,
415 SND_SOC_DAPM_MIXER("HPR Output Mixer", SND_SOC_NOPM, 0, 0,
419 SND_SOC_DAPM_MIXER("LOR Output Mixer", SND_SOC_NOPM, 0, 0,
425 SND_SOC_DAPM_MUX("IN1_R to Right Mixer Positive Resistor", SND_SOC_NOPM, 0, 0,
427 SND_SOC_DAPM_MUX("IN2_R to Right Mixer Positive Resistor", SND_SOC_NOPM, 0, 0,
429 SND_SOC_DAPM_MUX("IN3_R to Right Mixer Positive Resistor", SND_SOC_NOPM, 0, 0,
431 SND_SOC_DAPM_MUX("IN2_L to Right Mixer Positive Resistor", SND_SOC_NOPM, 0, 0,
[all …]
Dwm9713.c70 SOC_ENUM_SINGLE(AC97_LINE, 3, 4, wm9713_mic_mixer), /* record mic mixer 0 */
114 SOC_SINGLE("Mic Headphone Mixer Volume", AC97_LINE, 0, 7, 1),
153 SOC_SINGLE_TLV("Headphone Mixer Beep Playback Volume", AC97_AUX, 12, 7, 1,
155 SOC_SINGLE_TLV("Speaker Mixer Beep Playback Volume", AC97_AUX, 8, 7, 1,
157 SOC_SINGLE_TLV("Mono Mixer Beep Playback Volume", AC97_AUX, 4, 7, 1, misc_tlv),
164 SOC_SINGLE_TLV("Headphone Mixer Aux Playback Volume", AC97_REC_SEL, 12, 7, 1,
167 SOC_SINGLE_TLV("Speaker Mixer Voice Playback Volume", AC97_PCM, 8, 7, 1,
169 SOC_SINGLE_TLV("Speaker Mixer Aux Playback Volume", AC97_REC_SEL, 8, 7, 1,
172 SOC_SINGLE_TLV("Mono Mixer Voice Playback Volume", AC97_PCM, 4, 7, 1,
174 SOC_SINGLE_TLV("Mono Mixer Aux Playback Volume", AC97_REC_SEL, 4, 7, 1,
[all …]
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
Dq6routing.c722 /* Mixer definitions */
723 SND_SOC_DAPM_MIXER("HDMI Mixer", SND_SOC_NOPM, 0, 0,
727 SND_SOC_DAPM_MIXER("DISPLAY_PORT_RX Audio Mixer", SND_SOC_NOPM, 0, 0,
731 SND_SOC_DAPM_MIXER("SLIMBUS_0_RX Audio Mixer", SND_SOC_NOPM, 0, 0,
734 SND_SOC_DAPM_MIXER("SLIMBUS_1_RX Audio Mixer", SND_SOC_NOPM, 0, 0,
737 SND_SOC_DAPM_MIXER("SLIMBUS_2_RX Audio Mixer", SND_SOC_NOPM, 0, 0,
740 SND_SOC_DAPM_MIXER("SLIMBUS_3_RX Audio Mixer", SND_SOC_NOPM, 0, 0,
743 SND_SOC_DAPM_MIXER("SLIMBUS_4_RX Audio Mixer", SND_SOC_NOPM, 0, 0,
746 SND_SOC_DAPM_MIXER("SLIMBUS_5_RX Audio Mixer", SND_SOC_NOPM, 0, 0,
749 SND_SOC_DAPM_MIXER("SLIMBUS_6_RX Audio Mixer", SND_SOC_NOPM, 0, 0,
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_mixer.c18 /* Module parameter to set the background color of the mixer */
54 const char *sti_mixer_to_str(struct sti_mixer *mixer) in sti_mixer_to_str() argument
56 switch (mixer->id) { in sti_mixer_to_str()
62 return "<UNKNOWN MIXER>"; in sti_mixer_to_str()
66 static inline u32 sti_mixer_reg_read(struct sti_mixer *mixer, u32 reg_id) in sti_mixer_reg_read() argument
68 return readl(mixer->regs + reg_id); in sti_mixer_reg_read()
71 static inline void sti_mixer_reg_write(struct sti_mixer *mixer, in sti_mixer_reg_write() argument
74 writel(val, mixer->regs + reg_id); in sti_mixer_reg_write()
78 sti_mixer_reg_read(mixer, reg))
151 struct sti_mixer *mixer = (struct sti_mixer *)node->info_ent->data; in mixer_dbg_show() local
[all …]
Dsti_crtc.c28 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_enable() local
32 mixer->status = STI_MIXER_READY; in sti_crtc_atomic_enable()
40 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_disable() local
44 mixer->status = STI_MIXER_DISABLING; in sti_crtc_atomic_disable()
52 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_mode_set() local
53 struct device *dev = mixer->dev; in sti_crtc_mode_set()
59 crtc->base.id, sti_mixer_to_str(mixer), mode->name); in sti_crtc_mode_set()
63 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_mode_set()
87 sti_vtg_set_config(compo->vtg[mixer->id], &crtc->mode); in sti_crtc_mode_set()
89 if (sti_mixer_active_video_area(mixer, &crtc->mode)) { in sti_crtc_mode_set()
[all …]
/kernel/linux/linux-5.10/sound/core/oss/
Dmixer_oss.c3 * OSS emulation layer for the mixer interface
23 MODULE_DESCRIPTION("Mixer OSS emulation for ALSA.");
57 fmixer->mixer = card->mixer_oss; in snd_mixer_oss_open()
86 struct snd_mixer_oss *mixer = fmixer->mixer; in snd_mixer_oss_info() local
90 strlcpy(info.id, mixer && mixer->id[0] ? mixer->id : card->driver, sizeof(info.id)); in snd_mixer_oss_info()
91 strlcpy(info.name, mixer && mixer->name[0] ? mixer->name : card->mixername, sizeof(info.name)); in snd_mixer_oss_info()
102 struct snd_mixer_oss *mixer = fmixer->mixer; in snd_mixer_oss_info_obsolete() local
106 strlcpy(info.id, mixer && mixer->id[0] ? mixer->id : card->driver, sizeof(info.id)); in snd_mixer_oss_info_obsolete()
107 strlcpy(info.name, mixer && mixer->name[0] ? mixer->name : card->mixername, sizeof(info.name)); in snd_mixer_oss_info_obsolete()
115 struct snd_mixer_oss *mixer = fmixer->mixer; in snd_mixer_oss_caps() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_mixer.c29 struct mdp5_hw_mixer *mixer = mdp5_kms->hwmixers[i]; in get_right_pair_idx() local
31 if (mixer->lm == pair_lm) in get_right_pair_idx()
32 return mixer->idx; in get_right_pair_idx()
39 uint32_t caps, struct mdp5_hw_mixer **mixer, in mdp5_mixer_assign() argument
58 * mixer already assigned to this CRTC, it means this call is in mdp5_mixer_assign()
59 * a request to get an additional right mixer. Assume that the in mdp5_mixer_assign()
60 * existing mixer is the 'left' one, and try to see if we can in mdp5_mixer_assign()
97 if (!(*mixer) || cur->caps & MDP_LM_CAP_PAIR) in mdp5_mixer_assign()
98 *mixer = cur; in mdp5_mixer_assign()
101 if (!(*mixer)) in mdp5_mixer_assign()
[all …]
/kernel/linux/linux-5.10/sound/soc/sunxi/
Dsun50i-codec-analog.c122 /* mixer controls */
146 /* ADC mixer controls */
160 SOC_DAPM_DOUBLE_R("Mixer Capture Switch",
164 SOC_DAPM_DOUBLE_R("Mixer Reversed Capture Switch",
196 /* Mixer pre-gain */
206 /* Mixer pre-gain */
221 /* Mixer pre-gain */
238 "DAC", "Mixer",
280 "DACR", "DACL", "Right Mixer", "Left Mixer",
380 SND_SOC_DAPM_MIXER("Left Mixer", SUN50I_ADDA_MIX_DAC_CTRL,
[all …]
Dsun8i-codec-analog.c116 /* mixer controls */
140 /* mixer controls */
156 /* ADC mixer controls */
158 SOC_DAPM_DOUBLE_R("Mixer Capture Switch",
162 SOC_DAPM_DOUBLE_R("Mixer Reversed Capture Switch",
180 /* ADC mixer controls */
182 SOC_DAPM_DOUBLE_R("Mixer Capture Switch",
186 SOC_DAPM_DOUBLE_R("Mixer Reversed Capture Switch",
205 /* Mixer pre-gain */
248 SND_SOC_DAPM_MIXER("Left Mixer", SUN8I_ADDA_DAC_PA_SRC,
[all …]
/kernel/linux/linux-5.10/sound/pci/lola/
Dlola_mixer.c98 vfree(chip->mixer.array_saved); in lola_free_mixer()
113 dev_dbg(chip->card->dev, "No valid mixer widget\n"); in lola_init_mixer_widget()
117 chip->mixer.nid = nid; in lola_init_mixer_widget()
118 chip->mixer.caps = val; in lola_init_mixer_widget()
119 chip->mixer.array = (struct lola_mixer_array __iomem *) in lola_init_mixer_widget()
122 /* reserve memory to copy mixer data for sleep mode transitions */ in lola_init_mixer_widget()
123 chip->mixer.array_saved = vmalloc(sizeof(struct lola_mixer_array)); in lola_init_mixer_widget()
125 /* mixer matrix sources are physical input data and play streams */ in lola_init_mixer_widget()
126 chip->mixer.src_stream_outs = chip->pcm[PLAY].num_streams; in lola_init_mixer_widget()
127 chip->mixer.src_phys_ins = chip->pin[CAPT].num_pins; in lola_init_mixer_widget()
[all …]
/kernel/linux/linux-5.10/sound/usb/
Dmixer_quirks.c5 * Quirks and vendor-specific extensions for mixer interfaces
32 #include "mixer.h"
54 static int snd_create_std_mono_ctl_offset(struct usb_mixer_interface *mixer, in snd_create_std_mono_ctl_offset() argument
70 snd_usb_mixer_elem_init_std(&cval->head, mixer, unitid); in snd_create_std_mono_ctl_offset()
103 /* Add control to mixer */ in snd_create_std_mono_ctl_offset()
107 static int snd_create_std_mono_ctl(struct usb_mixer_interface *mixer, in snd_create_std_mono_ctl() argument
115 return snd_create_std_mono_ctl_offset(mixer, unitid, control, cmask, in snd_create_std_mono_ctl()
122 static int snd_create_std_mono_table(struct usb_mixer_interface *mixer, in snd_create_std_mono_table() argument
128 err = snd_create_std_mono_ctl(mixer, t->unitid, t->control, in snd_create_std_mono_table()
138 static int add_single_ctl_with_resume(struct usb_mixer_interface *mixer, in add_single_ctl_with_resume() argument
[all …]
Dmixer_scarlett_gen2.c22 /* Mixer Interface for the Focusrite Scarlett 6i6/18i8/18i20 Gen 2 audio
35 * This ALSA mixer gives access to:
36 * - input, output, mixer-matrix muxes
37 * - 18x10 mixer-matrix gain stages
58 * | | Mixer | | |
103 #include "mixer.h"
114 /* mixer range from -80dB to +6dB in 0.5dB steps */
121 /* map from (dB + 80) * 2 to mixer value
148 /* Maximum number of inputs to the mixer */
151 /* Maximum number of outputs from the mixer */
[all …]
Dmixer.c5 * Mixer control part
15 * TODOs, for both the mixer and the streaming interfaces:
48 #include "mixer.h"
67 struct usb_mixer_interface *mixer; member
94 * manual mapping of mixer names
95 * if the mixer topology is too complicated and the parsed names are
127 ((cval)->head.mixer->ignore_ctl_error ? 0 : (err))
292 * retrieve a mixer value
295 static inline int mixer_ctrl_intf(struct usb_mixer_interface *mixer) in mixer_ctrl_intf() argument
297 return get_iface_desc(mixer->hostif)->bInterfaceNumber; in mixer_ctrl_intf()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/exynos/
Dexynos_mixer.txt1 Device-Tree bindings for mixer driver
5 1) "samsung,exynos5-mixer" <DEPRECATED>
6 2) "samsung,exynos4210-mixer"
7 3) "samsung,exynos4212-mixer"
8 4) "samsung,exynos5250-mixer"
9 5) "samsung,exynos5420-mixer"
11 - reg: physical base address of the mixer and length of memory mapped
15 a) mixer: Gate of Mixer IP bus clock.
17 mixer mux.
22 mixer {
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dallwinner,sun8i-a83t-de2-mixer.yaml4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-a83t-de2-mixer.yaml#
7 title: Allwinner Display Engine 2.0 Mixer Device Tree Bindings
16 - allwinner,sun8i-a83t-de2-mixer-0
17 - allwinner,sun8i-a83t-de2-mixer-1
18 - allwinner,sun8i-h3-de2-mixer-0
19 - allwinner,sun8i-r40-de2-mixer-0
20 - allwinner,sun8i-r40-de2-mixer-1
21 - allwinner,sun8i-v3s-de2-mixer
22 - allwinner,sun50i-a64-de2-mixer-0
23 - allwinner,sun50i-a64-de2-mixer-1
[all …]

12345678910>>...26