Searched refs:ctls (Results 1 – 12 of 12) sorted by relevance
85 struct mdp5_ctl ctls[MAX_CTL]; member600 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request()608 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request()615 ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_request()633 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_hw_reset()680 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_init()704 ctl_mgr->ctls[0].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init()705 ctl_mgr->ctls[1].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init()
626 struct v4l2_ext_controls *ctls) in pvr2_g_ext_ctrls() argument636 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() argument662 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() argument686 for (idx = 0; idx < ctls->count; idx++) { in pvr2_try_ext_ctrls()[all …]
132 struct snd_kcontrol_new *ctls, int num) in snd_pcsp_ctls_add() argument137 err = snd_ctl_add(card, snd_ctl_new1(ctls + i, chip)); in snd_pcsp_ctls_add()
372 if ((path->ctls[type] & AMP_VAL_COMPARE_MASK) == val) in is_ctl_used()1036 val = path->ctls[NID_PATH_VOL_CTL]; in add_vol_ctl()1049 hda_nid_t nid = get_amp_nid_(path->ctls[type]); in get_default_ch_nums()1074 val = path->ctls[NID_PATH_MUTE_CTL]; in add_sw_ctl()1129 return path && path->ctls[ctl_type]; in path_has_mixer()1256 if (path->ctls[NID_PATH_VOL_CTL] || in assign_out_path_ctls()1257 path->ctls[NID_PATH_MUTE_CTL]) in assign_out_path_ctls()1268 path->ctls[NID_PATH_VOL_CTL] = val; in assign_out_path_ctls()1282 path->ctls[NID_PATH_MUTE_CTL] = val; in assign_out_path_ctls()3077 path->ctls[NID_PATH_VOL_CTL] = mix_val; in new_analog_input()[all …]
2397 val |= spdif->ctls & 1; in snd_hda_spdif_default_put()2398 change = spdif->ctls != val; in snd_hda_spdif_default_put()2399 spdif->ctls = val; in snd_hda_spdif_default_put()2417 ucontrol->value.integer.value[0] = spdif->ctls & AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_get()2446 val = spdif->ctls & ~AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_put()2449 change = spdif->ctls != val; in snd_hda_spdif_out_switch_put()2450 spdif->ctls = val; in snd_hda_spdif_out_switch_put()2552 spdif->ctls = val; in snd_hda_create_dig_out_ctls()2553 spdif->status = convert_to_spdif_status(spdif->ctls); in snd_hda_create_dig_out_ctls()2614 val = spdif->ctls; in snd_hda_spdif_ctls_assign()[all …]
48 unsigned int ctls[NID_PATH_NUM_CTLS]; /* NID_PATH_XXX_CTL */ member
2777 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare()2782 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare()2794 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare()2799 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()2816 (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare()2821 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare()2837 (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare()2842 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
166 unsigned short ctls = spdif ? spdif->ctls : 0; in azx_pcm_prepare() local180 ctls); in azx_pcm_prepare()
399 unsigned short ctls; /* SPDIF control bits */ member
743 #define ADD_CTLS(emu, ctls) \ argument746 for (i = 0; i < ARRAY_SIZE(ctls); i++) { \747 _err = snd_ctl_add(card, snd_ctl_new1(&ctls[i], emu)); \
56 API-snd-pcm-add-chmap-ctls
766 API-snd-pcm-add-chmap-ctls