Home
last modified time | relevance | path

Searched refs:mixer (Results 1 – 25 of 218) sorted by relevance

123456789

/linux/sound/pci/ctxfi/
H A Dctmixer.c367 struct ct_mixer *mixer = atc->mixer; in ct_alsa_mix_volume_put() local
501 struct ct_mixer *mixer = atc->mixer; in do_digit_io_switch() local
525 struct ct_mixer *mixer = atc->mixer; in do_switch() local
593 struct ct_mixer *mixer = atc->mixer; in ct_alsa_mix_switch_put() local
905 mixer = kzalloc(sizeof(*mixer), GFP_KERNEL); in ct_mixer_get_mem()
906 if (!mixer) in ct_mixer_get_mem()
922 *rmixer = mixer; in ct_mixer_get_mem()
928 kfree(mixer); in ct_mixer_get_mem()
1166 kfree(mixer); in ct_mixer_destroy()
1184 mixer->atc = atc; in ct_mixer_create()
[all …]
H A Dctatc.c648 struct ct_mixer *mixer = atc->mixer; in atc_pcm_capture_prepare() local
663 mixer->get_output_ports(mixer, MIX_PCMO_FRONT, in atc_pcm_capture_prepare()
940 struct ct_mixer *mixer = atc->mixer; in atc_select_line_in() local
962 struct ct_mixer *mixer = atc->mixer; in atc_select_mic_in() local
1114 struct ct_mixer *mixer = atc->mixer; in atc_spdif_out_passthru() local
1155 mixer = atc->mixer; in atc_release_resources()
1496 mixer = atc->mixer; in atc_connect_resources()
1538 mixer->set_input_left(mixer, i, &sum->rsc); in atc_connect_resources()
1540 mixer->set_input_right(mixer, i, &sum->rsc); in atc_connect_resources()
1585 mixer = atc->mixer; in atc_resources_resume()
[all …]
H A Dctmixer.h48 int (*get_output_ports)(struct ct_mixer *mixer, enum MIXER_PORT_T type,
51 int (*set_input_left)(struct ct_mixer *mixer,
53 int (*set_input_right)(struct ct_mixer *mixer,
56 int (*resume)(struct ct_mixer *mixer);
64 int ct_mixer_destroy(struct ct_mixer *mixer);
/linux/drivers/gpu/drm/sti/
H A Dsti_mixer.c56 switch (mixer->id) { in sti_mixer_to_str()
74 writel(val, mixer->regs + reg_id); in sti_mixer_reg_write()
154 sti_mixer_to_str(mixer), mixer->regs); in mixer_dbg_show()
187 switch (mixer->id) { in sti_mixer_debugfs_init()
363 struct sti_mixer *mixer = devm_kzalloc(dev, sizeof(*mixer), GFP_KERNEL); in sti_mixer_create() local
366 if (!mixer) { in sti_mixer_create()
370 mixer->regs = baseaddr; in sti_mixer_create()
371 mixer->dev = dev; in sti_mixer_create()
372 mixer->id = id; in sti_mixer_create()
375 sti_mixer_to_str(mixer), mixer->regs); in sti_mixer_create()
[all …]
H A Dsti_crtc.c27 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()
43 mixer->status = STI_MIXER_DISABLING; in sti_crtc_atomic_disable()
52 struct device *dev = mixer->dev; in sti_crtc_mode_set()
62 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_mode_set()
106 struct device *dev = mixer->dev; in sti_crtc_disable()
117 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_disable()
125 mixer->status = STI_MIXER_DISABLED; in sti_crtc_disable()
247 struct sti_mixer *mixer; in sti_crtc_vblank_cb() local
252 mixer = compo->mixer[pipe]; in sti_crtc_vblank_cb()
[all …]
H A Dsti_mixer.h46 const char *sti_mixer_to_str(struct sti_mixer *mixer);
53 int sti_mixer_set_plane_status(struct sti_mixer *mixer,
55 int sti_mixer_set_plane_depth(struct sti_mixer *mixer, struct sti_plane *plane);
56 int sti_mixer_active_video_area(struct sti_mixer *mixer,
59 void sti_mixer_set_background_status(struct sti_mixer *mixer, bool enable);
61 void sti_mixer_debugfs_init(struct sti_mixer *mixer, struct drm_minor *minor);
/linux/sound/usb/
H A Dmixer_scarlett2.c3164 elem->head.mixer = mixer; in scarlett2_add_new_ctl()
3293 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_sync_ctl_get() local
3559 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_autogain_switch_ctl_info() local
3580 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_autogain_switch_ctl_get() local
3607 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_autogain_status_ctl_get() local
3634 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_autogain_switch_ctl_put() local
3712 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_ag_target_ctl_info() local
3742 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_ag_target_ctl_get() local
3770 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_ag_target_ctl_put() local
3861 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_input_select_ctl_get() local
[all …]
H A Dmixer_quirks.c154 list->mixer = mixer; in add_single_ctl_with_resume()
285 usb_fill_control_urb(mixer->rc_urb, mixer->chip->dev, in snd_usb_soundblaster_remote_init()
334 struct usb_mixer_interface *mixer = list->mixer; in snd_audigy2nx_led_put() local
494 struct usb_mixer_interface *mixer = list->mixer; in snd_emu0204_ch_switch_put() local
733 struct usb_mixer_interface *mixer = list->mixer; in snd_mbox1_clk_switch_put() local
803 struct usb_mixer_interface *mixer = list->mixer; in snd_mbox1_src_switch_put() local
2665 struct usb_mixer_interface *mixer = list->mixer; in snd_bbfpro_ctl_put() local
2773 struct usb_mixer_interface *mixer = list->mixer; in snd_bbfpro_gain_put() local
2872 struct usb_mixer_interface *mixer = list->mixer; in snd_bbfpro_vol_put() local
3875 struct usb_mixer_interface *mixer = list->mixer; in snd_djm_controls_put() local
[all …]
H A Dmixer.c593 struct usb_mixer_interface *mixer = list->mixer; in snd_usb_mixer_add_list() local
2972 kfree(mixer); in snd_usb_mixer_free()
3256 state.mixer = mixer; in snd_usb_mixer_controls()
3582 usb_fill_int_urb(mixer->urb, mixer->chip->dev, in snd_usb_mixer_status_create()
3600 mixer = kzalloc(sizeof(*mixer), GFP_KERNEL); in snd_usb_create_mixer()
3601 if (!mixer) in snd_usb_create_mixer()
3608 kfree(mixer); in snd_usb_create_mixer()
3665 if (mixer->urb) in snd_usb_mixer_disconnect()
3670 mixer->private_free(mixer); in snd_usb_mixer_disconnect()
3698 mixer->private_suspend(mixer); in snd_usb_mixer_suspend()
[all …]
H A Dmixer_s1810c.c337 struct snd_usb_audio *chip = mixer->chip; in snd_s1810c_get_switch_state()
364 struct snd_usb_audio *chip = mixer->chip; in snd_s1810c_set_switch_state()
384 struct usb_mixer_interface *mixer = list->mixer; in snd_s1810c_switch_get() local
392 ret = snd_s1810c_get_switch_state(mixer, kctl, &state); in snd_s1810c_switch_get()
415 struct usb_mixer_interface *mixer = list->mixer; in snd_s1810c_switch_set() local
442 ret = snd_s1810c_set_switch_state(mixer, kctl); in snd_s1810c_switch_set()
460 elem->head.mixer = mixer; in snd_s1810c_switch_init()
539 mixer->private_data = NULL; in snd_sc1810_mixer_state_free()
546 struct snd_usb_audio *chip = mixer->chip; in snd_sc1810_init_mixer()
574 mixer->private_data = private; in snd_sc1810_init_mixer()
[all …]
H A Dmixer.h43 void (*private_free)(struct usb_mixer_interface *mixer);
44 void (*private_suspend)(struct usb_mixer_interface *mixer);
66 struct usb_mixer_interface *mixer; member
76 #define for_each_mixer_elem(list, mixer, id) \ argument
77 for ((list) = (mixer)->id_elems[id]; (list); (list) = (list)->next_id_elem)
101 void snd_usb_mixer_disconnect(struct usb_mixer_interface *mixer);
103 void snd_usb_mixer_notify_id(struct usb_mixer_interface *mixer, int unitid);
116 struct usb_mixer_interface *mixer,
122 int snd_usb_mixer_suspend(struct usb_mixer_interface *mixer);
123 int snd_usb_mixer_resume(struct usb_mixer_interface *mixer);
H A Dmixer_scarlett.c553 elem->head.mixer = mixer; in add_new_ctl()
595 err = add_new_ctl(mixer, &usb_scarlett_ctl_switch, in add_output_ctls()
604 err = add_new_ctl(mixer, &usb_scarlett_ctl_master, in add_output_ctls()
854 err = add_new_ctl(mixer, &usb_scarlett_ctl_switch, in scarlett_controls_create_generic()
861 err = add_new_ctl(mixer, &usb_scarlett_ctl_master, in scarlett_controls_create_generic()
880 err = add_new_ctl(mixer, &usb_scarlett_ctl_enum, in scarlett_controls_create_generic()
923 if (!mixer->protocol) in snd_scarlett_controls_create()
926 switch (mixer->chip->usb_id) { in snd_scarlett_controls_create()
965 err = add_new_ctl(mixer, &usb_scarlett_ctl, in snd_scarlett_controls_create()
987 err = add_new_ctl(mixer, &usb_scarlett_ctl_enum, in snd_scarlett_controls_create()
[all …]
/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_mixer.c288 if (!(plane->possible_crtcs & drm_crtc_mask(crtc)) || layer->mixer != mixer) in sun8i_mixer_commit()
332 mixer->cfg->vi_num + mixer->cfg->ui_num + 1, in sun8i_layers_init()
434 struct sun8i_mixer *mixer; in sun8i_mixer_bind() local
453 mixer = devm_kzalloc(dev, sizeof(*mixer), GFP_KERNEL); in sun8i_mixer_bind()
454 if (!mixer) in sun8i_mixer_bind()
484 if (!mixer->cfg) in sun8i_mixer_bind()
499 if (IS_ERR(mixer->reset)) { in sun8i_mixer_bind()
530 if (mixer->cfg->mod_rate) in sun8i_mixer_bind()
531 clk_set_rate(mixer->mod_clk, mixer->cfg->mod_rate); in sun8i_mixer_bind()
540 if (mixer->cfg->is_de3) { in sun8i_mixer_bind()
[all …]
H A Dsun8i_vi_layer.c28 if (mixer->cfg->is_de3) { in sun8i_vi_layer_update_alpha()
106 regmap_write(mixer->engine.regs, in sun8i_vi_layer_update_coord()
109 regmap_write(mixer->engine.regs, in sun8i_vi_layer_update_coord()
165 regmap_write(mixer->engine.regs, in sun8i_vi_layer_update_coord()
169 regmap_write(mixer->engine.regs, in sun8i_vi_layer_update_coord()
354 struct sun8i_mixer *mixer = layer->mixer; in sun8i_vi_layer_atomic_update() local
486 if (mixer->cfg->is_de3) { in sun8i_vi_layer_init_one()
508 plane_cnt = mixer->cfg->ui_num + mixer->cfg->vi_num; in sun8i_vi_layer_init_one()
510 if (mixer->cfg->vi_num == 1 || mixer->cfg->is_de3) { in sun8i_vi_layer_init_one()
527 if (mixer->cfg->is_de3) in sun8i_vi_layer_init_one()
[all …]
H A Dsun8i_ui_layer.c43 regmap_update_bits(mixer->engine.regs, in sun8i_ui_layer_update_alpha()
61 bld_base = sun8i_blender_base(mixer); 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()
106 regmap_write(mixer->engine.regs, in sun8i_ui_layer_update_coord()
109 regmap_write(mixer->engine.regs, in sun8i_ui_layer_update_coord()
168 regmap_write(mixer->engine.regs, in sun8i_ui_layer_update_buffer()
174 regmap_write(mixer->engine.regs, in sun8i_ui_layer_update_buffer()
221 struct sun8i_mixer *mixer = layer->mixer; in sun8i_ui_layer_atomic_update() local
306 plane_cnt = mixer->cfg->ui_num + mixer->cfg->vi_num; in sun8i_ui_layer_init_one()
[all …]
H A Dsun8i_ui_scaler.c94 int vi_num = mixer->cfg->vi_num; in sun8i_ui_scaler_base()
96 if (mixer->cfg->is_de3) in sun8i_ui_scaler_base()
134 if (WARN_ON(layer < mixer->cfg->vi_num)) in sun8i_ui_scaler_enable()
156 if (WARN_ON(layer < mixer->cfg->vi_num)) in sun8i_ui_scaler_setup()
169 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
171 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
173 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
175 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
177 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
179 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
[all …]
H A Dsun8i_vi_scaler.c838 if (mixer->cfg->is_de3) in sun8i_vi_scaler_base()
922 regmap_write(mixer->engine.regs, in sun8i_vi_scaler_enable()
959 if (mixer->cfg->is_de3) { in sun8i_vi_scaler_setup()
971 regmap_write(mixer->engine.regs, in sun8i_vi_scaler_setup()
973 regmap_write(mixer->engine.regs, in sun8i_vi_scaler_setup()
975 regmap_write(mixer->engine.regs, in sun8i_vi_scaler_setup()
977 regmap_write(mixer->engine.regs, in sun8i_vi_scaler_setup()
979 regmap_write(mixer->engine.regs, in sun8i_vi_scaler_setup()
981 regmap_write(mixer->engine.regs, in sun8i_vi_scaler_setup()
983 regmap_write(mixer->engine.regs, in sun8i_vi_scaler_setup()
[all …]
H A Dsun8i_csc.c208 void sun8i_csc_set_ccsc_coefficients(struct sun8i_mixer *mixer, int layer, in sun8i_csc_set_ccsc_coefficients() argument
215 if (mixer->cfg->is_de3) { in sun8i_csc_set_ccsc_coefficients()
216 sun8i_de3_ccsc_set_coefficients(mixer->engine.regs, layer, in sun8i_csc_set_ccsc_coefficients()
221 base = ccsc_base[mixer->cfg->ccsc][layer]; in sun8i_csc_set_ccsc_coefficients()
223 sun8i_csc_set_coefficients(mixer->engine.regs, base, in sun8i_csc_set_ccsc_coefficients()
227 void sun8i_csc_enable_ccsc(struct sun8i_mixer *mixer, int layer, bool enable) in sun8i_csc_enable_ccsc() argument
231 if (mixer->cfg->is_de3) { in sun8i_csc_enable_ccsc()
232 sun8i_de3_ccsc_enable(mixer->engine.regs, layer, enable); in sun8i_csc_enable_ccsc()
236 base = ccsc_base[mixer->cfg->ccsc][layer]; in sun8i_csc_enable_ccsc()
238 sun8i_csc_enable(mixer->engine.regs, base, enable); in sun8i_csc_enable_ccsc()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_mixer.c31 if (mixer->lm == pair_lm) in get_right_pair_idx()
32 return mixer->idx; in get_right_pair_idx()
98 *mixer = cur; in mdp5_mixer_assign()
101 if (!(*mixer)) in mdp5_mixer_assign()
124 if (!mixer) in mdp5_mixer_release()
152 mixer = devm_kzalloc(dev->dev, sizeof(*mixer), GFP_KERNEL); in mdp5_mixer_init()
153 if (!mixer) in mdp5_mixer_init()
157 mixer->lm = lm->id; in mdp5_mixer_init()
158 mixer->caps = lm->caps; in mdp5_mixer_init()
159 mixer->pp = lm->pp; in mdp5_mixer_init()
[all …]
/linux/sound/core/oss/
H A Dmixer_oss.c86 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()
102 struct snd_mixer_oss *mixer = fmixer->mixer; in snd_mixer_oss_info_obsolete() local
106 strscpy(info.id, mixer && mixer->id[0] ? mixer->id : card->driver, sizeof(info.id)); in snd_mixer_oss_info_obsolete()
115 struct snd_mixer_oss *mixer = fmixer->mixer; in snd_mixer_oss_caps() local
120 if (mixer->get_recsrc && mixer->put_recsrc) in snd_mixer_oss_caps()
127 struct snd_mixer_oss *mixer = fmixer->mixer; in snd_mixer_oss_devmask() local
144 struct snd_mixer_oss *mixer = fmixer->mixer; in snd_mixer_oss_stereodevs() local
161 struct snd_mixer_oss *mixer = fmixer->mixer; in snd_mixer_oss_recmask() local
183 struct snd_mixer_oss *mixer = fmixer->mixer; in snd_mixer_oss_get_recsrc() local
[all …]
/linux/sound/pci/lola/
H A Dlola_mixer.c117 chip->mixer.nid = nid; in lola_init_mixer_widget()
118 chip->mixer.caps = val; in lola_init_mixer_widget()
124 if (!chip->mixer.array_saved) in lola_init_mixer_widget()
138 chip->mixer.src_stream_out_ofs = chip->mixer.src_phys_ins + in lola_init_mixer_widget()
140 chip->mixer.dest_phys_out_ofs = chip->mixer.dest_stream_ins + in lola_init_mixer_widget()
197 chip->mixer.src_mask = ((1U << chip->mixer.src_phys_ins) - 1) | in lola_init_mixer_widget()
200 chip->mixer.dest_mask = ((1U << chip->mixer.dest_stream_ins) - 1) | in lola_init_mixer_widget()
205 chip->mixer.src_mask, chip->mixer.dest_mask); in lola_init_mixer_widget()
344 memcpy_fromio(chip->mixer.array_saved, chip->mixer.array, in lola_save_mixer()
357 memcpy_toio(chip->mixer.array, chip->mixer.array_saved, in lola_restore_mixer()
[all …]
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_ethdr.c178 mtk_ddp_write(cmdq_pkt, 0, &mixer->cmdq_base, mixer->regs, MIX_L_SRC_SIZE(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()
245 mtk_ddp_write(cmdq_pkt, h << 16 | w, &mixer->cmdq_base, mixer->regs, MIX_ROI_SIZE); in mtk_ethdr_config()
246 mtk_ddp_write(cmdq_pkt, BGCLR_BLACK, &mixer->cmdq_base, mixer->regs, MIX_ROI_BGCLR); in mtk_ethdr_config()
247 mtk_ddp_write(cmdq_pkt, NON_PREMULTI_SOURCE, &mixer->cmdq_base, mixer->regs, in mtk_ethdr_config()
249 mtk_ddp_write(cmdq_pkt, NON_PREMULTI_SOURCE, &mixer->cmdq_base, mixer->regs, in mtk_ethdr_config()
251 mtk_ddp_write(cmdq_pkt, NON_PREMULTI_SOURCE, &mixer->cmdq_base, mixer->regs, in mtk_ethdr_config()
253 mtk_ddp_write(cmdq_pkt, NON_PREMULTI_SOURCE, &mixer->cmdq_base, mixer->regs, in mtk_ethdr_config()
255 mtk_ddp_write(cmdq_pkt, 0x0, &mixer->cmdq_base, mixer->regs, MIX_L_SRC_SIZE(0)); in mtk_ethdr_config()
257 &mixer->cmdq_base, mixer->regs, MIX_DATAPATH_CON); in mtk_ethdr_config()
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dallwinner,sun8i-a83t-de2-mixer.yaml16 - 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
24 - allwinner,sun50i-a64-de2-mixer-0
26 - allwinner,sun50i-h6-de3-mixer-0
[all …]
/linux/Documentation/devicetree/bindings/display/samsung/
H A Dsamsung,exynos-mixer.yaml23 - samsung,exynos4210-mixer
24 - samsung,exynos4212-mixer
25 - samsung,exynos5250-mixer
26 - samsung,exynos5420-mixer
27 - const: samsung,exynos5-mixer
36 mixer mux.
44 - const: mixer
82 - samsung,exynos4212-mixer
111 - samsung,exynos5-mixer
130 mixer@14450000 {
[all …]
/linux/sound/soc/tegra/
H A Dtegra210_mixer.c91 regcache_sync(mixer->regmap); in tegra210_mixer_runtime_resume()
116 regmap_write(mixer->regmap, in tegra210_mixer_write_ram()
119 regmap_write(mixer->regmap, in tegra210_mixer_write_ram()
146 mixer->gain_value[id]); in tegra210_mixer_configure_gain()
263 tegra_set_cif(mixer->regmap, in tegra210_mixer_set_audio_cif()
618 struct tegra210_mixer *mixer; in tegra210_mixer_platform_probe() local
622 mixer = devm_kzalloc(dev, sizeof(*mixer), GFP_KERNEL); in tegra210_mixer_platform_probe()
623 if (!mixer) in tegra210_mixer_platform_probe()
626 dev_set_drvdata(dev, mixer); in tegra210_mixer_platform_probe()
638 if (IS_ERR(mixer->regmap)) { in tegra210_mixer_platform_probe()
[all …]

123456789