/linux/sound/pci/ctxfi/ |
H A D | ctmixer.c | 8 * 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 …]
|
/linux/sound/soc/codecs/ |
H A D | lm49453.c | 696 /* 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 …]
|
H A D | cs42l73.h | 67 #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 …]
|
H A D | wm9712.c | 110 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 …]
|
H A D | isabelle.c | 231 /* 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 …]
|
H A D | tlv320aic3x.c | 151 * so we have to use specific dapm_put call for input mixer 327 * Output controls that map to output mixer switches. Note these are 331 SOC_SINGLE_TLV("Left Line Mixer PGAR Bypass Volume", 333 SOC_SINGLE_TLV("Left Line Mixer DACR1 Playback Volume", 336 SOC_SINGLE_TLV("Right Line Mixer PGAL Bypass Volume", 338 SOC_SINGLE_TLV("Right Line Mixer DACL1 Playback Volume", 341 SOC_SINGLE_TLV("Left HP Mixer PGAR Bypass Volume", 343 SOC_SINGLE_TLV("Left HP Mixer DACR1 Playback Volume", 346 SOC_SINGLE_TLV("Right HP Mixer PGAL Bypass Volume", 348 SOC_SINGLE_TLV("Right HP Mixer DACL1 Playback Volume", [all …]
|
H A D | wm9713.c | 70 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 …]
|
/linux/drivers/gpu/drm/sun4i/ |
H A D | sun8i_mixer.c | 255 u32 ch_base = sun8i_channel_base(layer->mixer, layer->channel); in sun8i_layer_enable() 268 regmap_update_bits(layer->mixer->engine.regs, reg, mask, val); in sun8i_layer_enable() 275 struct sun8i_mixer *mixer = engine_to_sun8i_mixer(engine); in sun8i_mixer_commit() local 276 u32 bld_base = sun8i_blender_base(mixer); in sun8i_mixer_commit() 288 if (!(plane->possible_crtcs & drm_crtc_mask(crtc)) || layer->mixer != mixer) in sun8i_mixer_commit() 316 regmap_write(mixer->engine.regs, SUN8I_MIXER_BLEND_ROUTE(bld_base), route); in sun8i_mixer_commit() 317 regmap_write(mixer->engine.regs, SUN8I_MIXER_BLEND_PIPE_CTL(bld_base), in sun8i_mixer_commit() 328 struct sun8i_mixer *mixer = engine_to_sun8i_mixer(engine); in sun8i_layers_init() local 332 mixer->cfg->vi_num + mixer->cfg->ui_num + 1, in sun8i_layers_init() 337 for (i = 0; i < mixer->cfg->vi_num; i++) { in sun8i_layers_init() [all …]
|
H A D | sun8i_vi_layer.c | 21 static void sun8i_vi_layer_update_alpha(struct sun8i_mixer *mixer, int channel, in sun8i_vi_layer_update_alpha() argument 26 ch_base = sun8i_channel_base(mixer, channel); in sun8i_vi_layer_update_alpha() 28 if (mixer->cfg->is_de3) { in sun8i_vi_layer_update_alpha() 38 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_update_alpha() 42 } else if (mixer->cfg->vi_num == 1) { in sun8i_vi_layer_update_alpha() 43 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_update_alpha() 51 static int sun8i_vi_layer_update_coord(struct sun8i_mixer *mixer, int channel, in sun8i_vi_layer_update_coord() argument 68 bld_base = sun8i_blender_base(mixer); in sun8i_vi_layer_update_coord() 69 ch_base = sun8i_channel_base(mixer, channel); in sun8i_vi_layer_update_coord() 106 regmap_write(mixer->engine.regs, in sun8i_vi_layer_update_coord() [all …]
|
H A D | sun8i_ui_layer.c | 27 static void sun8i_ui_layer_update_alpha(struct sun8i_mixer *mixer, int channel, in sun8i_ui_layer_update_alpha() argument 32 ch_base = sun8i_channel_base(mixer, channel); in sun8i_ui_layer_update_alpha() 43 regmap_update_bits(mixer->engine.regs, in sun8i_ui_layer_update_alpha() 48 static int sun8i_ui_layer_update_coord(struct sun8i_mixer *mixer, int channel, in sun8i_ui_layer_update_coord() argument 61 bld_base = sun8i_blender_base(mixer); in sun8i_ui_layer_update_coord() 62 ch_base = sun8i_channel_base(mixer, channel); in sun8i_ui_layer_update_coord() 79 regmap_write(mixer->engine.regs, in sun8i_ui_layer_update_coord() 82 regmap_write(mixer->engine.regs, in sun8i_ui_layer_update_coord() 94 sun8i_ui_scaler_setup(mixer, channel, src_w, src_h, dst_w, in sun8i_ui_layer_update_coord() 96 sun8i_ui_scaler_enable(mixer, channel, true); in sun8i_ui_layer_update_coord() [all …]
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6routing.c | 736 /* Mixer definitions */ 737 SND_SOC_DAPM_MIXER("HDMI Mixer", SND_SOC_NOPM, 0, 0, 741 SND_SOC_DAPM_MIXER("DISPLAY_PORT_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 745 SND_SOC_DAPM_MIXER("SLIMBUS_0_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 748 SND_SOC_DAPM_MIXER("SLIMBUS_1_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 751 SND_SOC_DAPM_MIXER("SLIMBUS_2_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 754 SND_SOC_DAPM_MIXER("SLIMBUS_3_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 757 SND_SOC_DAPM_MIXER("SLIMBUS_4_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 760 SND_SOC_DAPM_MIXER("SLIMBUS_5_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 763 SND_SOC_DAPM_MIXER("SLIMBUS_6_RX Audio Mixer", SND_SOC_NOPM, 0, 0, [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_mixer.c | 18 /* 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 …]
|
H A D | sti_crtc.c | 27 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_enable() local 31 mixer->status = STI_MIXER_READY; in sti_crtc_atomic_enable() 39 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_disable() local 43 mixer->status = STI_MIXER_DISABLING; in sti_crtc_atomic_disable() 51 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_mode_set() local 52 struct device *dev = mixer->dev; in sti_crtc_mode_set() 58 crtc->base.id, sti_mixer_to_str(mixer), mode->name); in sti_crtc_mode_set() 62 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_mode_set() 86 sti_vtg_set_config(compo->vtg[mixer->id], &crtc->mode); in sti_crtc_mode_set() 88 if (sti_mixer_active_video_area(mixer, &crtc->mode)) { in sti_crtc_mode_set() [all …]
|
/linux/sound/core/oss/ |
H A D | mixer_oss.c | 3 * 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 strscpy(info.id, mixer && mixer->id[0] ? mixer->id : card->driver, sizeof(info.id)); in snd_mixer_oss_info() 91 strscpy(info.name, mixer && mixer in snd_mixer_oss_info() 102 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_info_obsolete() local 115 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_caps() local 127 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_devmask() local 144 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_stereodevs() local 161 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_recmask() local 183 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_get_recsrc() local 214 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_set_recsrc() local 253 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_get_volume() local 282 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_set_volume() local 503 snd_mixer_oss_test_id(struct snd_mixer_oss * mixer,const char * name,int index) snd_mixer_oss_test_id() argument 782 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_get_recsrc2() local 824 struct snd_mixer_oss *mixer = fmixer->mixer; snd_mixer_oss_put_recsrc2() local 873 snd_mixer_oss_build_test(struct snd_mixer_oss * mixer,struct slot * slot,const char * name,int index,int item) snd_mixer_oss_build_test() argument 921 snd_mixer_oss_build_test_all(struct snd_mixer_oss * mixer,const struct snd_mixer_oss_assign_table * ptr,struct slot * slot) snd_mixer_oss_build_test_all() argument 986 snd_mixer_oss_build_input(struct snd_mixer_oss * mixer,const struct snd_mixer_oss_assign_table * ptr,int ptr_allocated,int replace_old) snd_mixer_oss_build_input() argument 1106 struct snd_mixer_oss *mixer = entry->private_data; snd_mixer_oss_proc_read() local 1129 struct snd_mixer_oss *mixer = entry->private_data; snd_mixer_oss_proc_write() local 1184 snd_mixer_oss_proc_init(struct snd_mixer_oss * mixer) snd_mixer_oss_proc_init() argument 1204 snd_mixer_oss_proc_done(struct snd_mixer_oss * mixer) snd_mixer_oss_proc_done() argument 1214 snd_mixer_oss_build(struct snd_mixer_oss * mixer) snd_mixer_oss_build() argument 1272 struct snd_mixer_oss *mixer = private; snd_mixer_oss_free1() local 1293 struct snd_mixer_oss *mixer; snd_mixer_oss_notify_handler() local [all...] |
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_mixer.c | 29 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 …]
|
/linux/sound/usb/ |
H A D | mixer_scarlett2.c | 50 * Support for loading mixer volume and mux configuration from the 78 * This ALSA mixer gives access to (model-dependent): 79 * - input, output, mixer-matrix muxes 80 * - mixer-matrix gain stages 109 * | | Mixer | | | 165 #include "mixer.h" 173 /* device_setup value to disable this mixer driver */ 187 /* mixer range from -80dB to +12dB in 0.5dB steps */ 195 /* map from (dB + 80) * 2 to mixer value 228 /* Maximum number of inputs to the mixer */ [all …]
|
H A D | mixer_quirks.c | 5 * Quirks and vendor-specific extensions for mixer interfaces 34 #include "mixer.h" 56 static int snd_create_std_mono_ctl_offset(struct usb_mixer_interface *mixer, in snd_create_std_mono_ctl_offset() argument 72 snd_usb_mixer_elem_init_std(&cval->head, mixer, unitid); in snd_create_std_mono_ctl_offset() 105 /* Add control to mixer */ in snd_create_std_mono_ctl_offset() 109 static int snd_create_std_mono_ctl(struct usb_mixer_interface *mixer, in snd_create_std_mono_ctl() argument 117 return snd_create_std_mono_ctl_offset(mixer, unitid, control, cmask, in snd_create_std_mono_ctl() 124 static int snd_create_std_mono_table(struct usb_mixer_interface *mixer, in snd_create_std_mono_table() argument 130 err = snd_create_std_mono_ctl(mixer, t->unitid, t->control, in snd_create_std_mono_table() 140 static int add_single_ctl_with_resume(struct usb_mixer_interface *mixer, in add_single_ctl_with_resume() argument [all …]
|
H A D | mixer.c | 5 * 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 130 ((cval)->head.mixer->ignore_ctl_error ? 0 : (err)) 299 * retrieve a mixer value 302 static inline int mixer_ctrl_intf(struct usb_mixer_interface *mixer) in mixer_ctrl_intf() argument 304 return get_iface_desc(mixer->hostif)->bInterfaceNumber; in mixer_ctrl_intf() [all …]
|
/linux/sound/pci/lola/ |
H A D | lola_mixer.c | 98 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() 124 if (!chip->mixer.array_saved) in lola_init_mixer_widget() 127 /* mixer matrix sources are physical input data and play streams */ in lola_init_mixer_widget() 128 chip->mixer.src_stream_outs = chip->pcm[PLAY].num_streams; in lola_init_mixer_widget() [all …]
|
/linux/Documentation/devicetree/bindings/display/samsung/ |
H A D | samsung,exynos-mixer.yaml | 4 $id: http://devicetree.org/schemas/display/samsung/samsung,exynos-mixer.yaml# 7 title: Samsung Exynos SoC Mixer 16 Samsung Exynos SoC Mixer is responsible for mixing and blending multiple data 23 - samsung,exynos4210-mixer 24 - samsung,exynos4212-mixer 25 - samsung,exynos5250-mixer 26 - samsung,exynos5420-mixer 27 - const: samsung,exynos5-mixer 33 - description: Gate of Mixer IP bus clock. 36 mixer mux. [all …]
|
/linux/sound/soc/sunxi/ |
H A D | sun50i-codec-analog.c | 129 /* mixer controls */ 153 /* ADC mixer controls */ 167 SOC_DAPM_DOUBLE_R("Mixer Capture Switch", 171 SOC_DAPM_DOUBLE_R("Mixer Reversed Capture Switch", 203 /* Mixer pre-gain */ 213 /* Mixer pre-gain */ 228 /* Mixer pre-gain */ 245 "DAC", "Mixer", 287 "DACR", "DACL", "Right Mixer", "Left Mixer", 401 SND_SOC_DAPM_MIXER("Left Mixer", SUN50I_ADDA_MIX_DAC_CTRL, [all …]
|
H A D | sun8i-codec-analog.c | 115 /* mixer controls */ 139 /* mixer controls */ 155 /* ADC mixer controls */ 157 SOC_DAPM_DOUBLE_R("Mixer Capture Switch", 161 SOC_DAPM_DOUBLE_R("Mixer Reversed Capture Switch", 179 /* ADC mixer controls */ 181 SOC_DAPM_DOUBLE_R("Mixer Capture Switch", 185 SOC_DAPM_DOUBLE_R("Mixer Reversed Capture Switch", 204 /* Mixer pre-gain */ 247 SND_SOC_DAPM_MIXER("Left Mixer", SUN8I_ADDA_DAC_PA_SRC, [all …]
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_ethdr.c | 88 "mixer", 160 struct mtk_ethdr_comp *mixer = &priv->ethdr_comp[ETHDR_MIXER]; in mtk_ethdr_layer_config() local 175 * set the size to 0 to avoid screen shift due to mixer in mtk_ethdr_layer_config() 178 mtk_ddp_write(cmdq_pkt, 0, &mixer->cmdq_base, mixer->regs, MIX_L_SRC_SIZE(idx)); in mtk_ethdr_layer_config() 195 * Mixer doesn't support CONST_BLD mode, in mtk_ethdr_layer_config() 206 mtk_ddp_write(cmdq_pkt, pending->height << 16 | align_width, &mixer->cmdq_base, in mtk_ethdr_layer_config() 207 mixer->regs, MIX_L_SRC_SIZE(idx)); in mtk_ethdr_layer_config() 208 mtk_ddp_write(cmdq_pkt, offset, &mixer->cmdq_base, mixer->regs, MIX_L_SRC_OFFSET(idx)); in mtk_ethdr_layer_config() 209 mtk_ddp_write(cmdq_pkt, alpha_con, &mixer->cmdq_base, mixer->regs, MIX_L_SRC_CON(idx)); in mtk_ethdr_layer_config() 210 mtk_ddp_write_mask(cmdq_pkt, BIT(idx), &mixer->cmdq_base, mixer->regs, MIX_SRC_CON, in mtk_ethdr_layer_config() [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | allwinner,sun8i-a83t-de2-mixer.yaml | 4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-a83t-de2-mixer.yaml# 7 title: Allwinner Display Engine 2.0 Mixer 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,sun20i-d1-de2-mixer-0 23 - allwinner,sun20i-d1-de2-mixer-1 [all …]
|
/linux/sound/soc/tegra/ |
H A D | tegra210_mixer.c | 3 // tegra210_mixer.c - Tegra210 MIXER driver 78 struct tegra210_mixer *mixer = dev_get_drvdata(dev); in tegra210_mixer_runtime_suspend() local 80 regcache_cache_only(mixer->regmap, true); in tegra210_mixer_runtime_suspend() 81 regcache_mark_dirty(mixer->regmap); in tegra210_mixer_runtime_suspend() 88 struct tegra210_mixer *mixer = dev_get_drvdata(dev); in tegra210_mixer_runtime_resume() local 90 regcache_cache_only(mixer->regmap, false); in tegra210_mixer_runtime_resume() 91 regcache_sync(mixer->regmap); in tegra210_mixer_runtime_resume() 96 static int tegra210_mixer_write_ram(struct tegra210_mixer *mixer, in tegra210_mixer_write_ram() argument 104 err = regmap_read_poll_timeout(mixer->regmap, in tegra210_mixer_write_ram() 116 regmap_write(mixer->regmap, in tegra210_mixer_write_ram() [all …]
|