Home
last modified time | relevance | path

Searched refs:ctls (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_ctl.c79 struct mdp5_ctl ctls[MAX_CTL]; member
470 if (!ctl_mgr->ctls[c].busy) in mdp5_ctlm_request()
478 ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_request()
497 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_hw_reset()
542 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_init()
/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c626 struct v4l2_ext_controls *ctls) in pvr2_g_ext_ctrls() argument
636 for (idx = 0; idx < ctls->count; idx++) { in pvr2_g_ext_ctrls()
637 ctrl = ctls->controls + idx; in pvr2_g_ext_ctrls()
641 ctls->error_idx = idx; in pvr2_g_ext_ctrls()
653 struct v4l2_ext_controls *ctls) in pvr2_s_ext_ctrls() argument
662 for (idx = 0; idx < ctls->count; idx++) { in pvr2_s_ext_ctrls()
663 ctrl = ctls->controls + idx; in pvr2_s_ext_ctrls()
668 ctls->error_idx = idx; in pvr2_s_ext_ctrls()
676 struct v4l2_ext_controls *ctls) in pvr2_try_ext_ctrls() argument
686 for (idx = 0; idx < ctls->count; idx++) { in pvr2_try_ext_ctrls()
[all …]
/linux-4.1.27/sound/drivers/pcsp/
Dpcsp_mixer.c132 struct snd_kcontrol_new *ctls, int num) in snd_pcsp_ctls_add() argument
137 err = snd_ctl_add(card, snd_ctl_new1(ctls + i, chip)); in snd_pcsp_ctls_add()
/linux-4.1.27/sound/pci/hda/
Dhda_generic.c372 if ((path->ctls[type] & AMP_VAL_COMPARE_MASK) == val) in is_ctl_used()
1034 val = path->ctls[NID_PATH_VOL_CTL]; in add_vol_ctl()
1047 hda_nid_t nid = get_amp_nid_(path->ctls[type]); in get_default_ch_nums()
1072 val = path->ctls[NID_PATH_MUTE_CTL]; in add_sw_ctl()
1127 return path && path->ctls[ctl_type]; in path_has_mixer()
1254 if (path->ctls[NID_PATH_VOL_CTL] || in assign_out_path_ctls()
1255 path->ctls[NID_PATH_MUTE_CTL]) in assign_out_path_ctls()
1266 path->ctls[NID_PATH_VOL_CTL] = val; in assign_out_path_ctls()
1280 path->ctls[NID_PATH_MUTE_CTL] = val; in assign_out_path_ctls()
3075 path->ctls[NID_PATH_VOL_CTL] = mix_val; in new_analog_input()
[all …]
Dhda_codec.c2600 val |= spdif->ctls & 1; in snd_hda_spdif_default_put()
2601 change = spdif->ctls != val; in snd_hda_spdif_default_put()
2602 spdif->ctls = val; in snd_hda_spdif_default_put()
2620 ucontrol->value.integer.value[0] = spdif->ctls & AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_get()
2649 val = spdif->ctls & ~AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_put()
2652 change = spdif->ctls != val; in snd_hda_spdif_out_switch_put()
2653 spdif->ctls = val; in snd_hda_spdif_out_switch_put()
2755 spdif->ctls = val; in snd_hda_create_dig_out_ctls()
2756 spdif->status = convert_to_spdif_status(spdif->ctls); in snd_hda_create_dig_out_ctls()
2817 val = spdif->ctls; in snd_hda_spdif_ctls_assign()
[all …]
Dhda_generic.h48 unsigned int ctls[NID_PATH_NUM_CTLS]; /* NID_PATH_XXX_CTL */ member
Dpatch_hdmi.c2716 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare()
2721 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
2733 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare()
2738 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
2755 (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare()
2760 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
2776 (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare()
2781 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
Dhda_codec.h419 unsigned short ctls; /* SPDIF control bits */ member
Dhda_controller.c484 unsigned short ctls = spdif ? spdif->ctls : 0; in azx_pcm_prepare() local
498 ctls); in azx_pcm_prepare()
/linux-4.1.27/sound/pci/ca0106/
Dca0106_mixer.c743 #define ADD_CTLS(emu, ctls) \ argument
746 for (i = 0; i < ARRAY_SIZE(ctls); i++) { \
747 _err = snd_ctl_add(card, snd_ctl_new1(&ctls[i], emu)); \