Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_ctl.c71 struct mdp5_ctl ctls[MAX_CTL]; member
636 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request()
644 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request()
651 ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_request()
667 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_hw_reset()
715 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_init()
742 ctl_mgr->ctls[0].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init()
743 ctl_mgr->ctls[1].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init()
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c434 struct dpu_rm_hw_blk *ctls[MAX_BLOCKS]; in _dpu_rm_reserve_ctls() local
439 memset(&ctls, 0, sizeof(ctls)); in _dpu_rm_reserve_ctls()
462 ctls[i] = iter.blk; in _dpu_rm_reserve_ctls()
472 for (i = 0; i < ARRAY_SIZE(ctls) && i < num_ctls; i++) { in _dpu_rm_reserve_ctls()
473 ctls[i]->enc_id = enc_id; in _dpu_rm_reserve_ctls()
474 trace_dpu_rm_reserve_ctls(ctls[i]->id, enc_id); in _dpu_rm_reserve_ctls()
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c600 struct v4l2_ext_controls *ctls) in pvr2_g_ext_ctrls() argument
611 for (idx = 0; idx < ctls->count; idx++) { in pvr2_g_ext_ctrls()
612 ctrl = ctls->controls + idx; in pvr2_g_ext_ctrls()
615 if (ctls->which == V4L2_CTRL_WHICH_DEF_VAL) in pvr2_g_ext_ctrls()
623 ctls->error_idx = idx; in pvr2_g_ext_ctrls()
635 struct v4l2_ext_controls *ctls) in pvr2_s_ext_ctrls() argument
644 if (ctls->which == V4L2_CTRL_WHICH_DEF_VAL) in pvr2_s_ext_ctrls()
648 for (idx = 0; idx < ctls->count; idx++) { in pvr2_s_ext_ctrls()
649 ctrl = ctls->controls + idx; in pvr2_s_ext_ctrls()
654 ctls->error_idx = idx; in pvr2_s_ext_ctrls()
[all …]
/Linux-v5.4/sound/drivers/pcsp/
Dpcsp_mixer.c133 struct snd_kcontrol_new *ctls, int num) in snd_pcsp_ctls_add() argument
138 err = snd_ctl_add(card, snd_ctl_new1(ctls + i, chip)); in snd_pcsp_ctls_add()
/Linux-v5.4/sound/pci/hda/
Dhda_generic.c347 if ((path->ctls[type] & AMP_VAL_COMPARE_MASK) == val) in is_ctl_used()
1014 val = path->ctls[NID_PATH_VOL_CTL]; in add_vol_ctl()
1027 hda_nid_t nid = get_amp_nid_(path->ctls[type]); in get_default_ch_nums()
1052 val = path->ctls[NID_PATH_MUTE_CTL]; in add_sw_ctl()
1147 return path && path->ctls[ctl_type]; in path_has_mixer()
1276 if (path->ctls[NID_PATH_VOL_CTL] || in assign_out_path_ctls()
1277 path->ctls[NID_PATH_MUTE_CTL]) in assign_out_path_ctls()
1288 path->ctls[NID_PATH_VOL_CTL] = val; in assign_out_path_ctls()
1302 path->ctls[NID_PATH_MUTE_CTL] = val; in assign_out_path_ctls()
3093 path->ctls[NID_PATH_VOL_CTL] = mix_val; in new_analog_input()
[all …]
Dhda_codec.c2326 val |= spdif->ctls & 1; in snd_hda_spdif_default_put()
2327 change = spdif->ctls != val; in snd_hda_spdif_default_put()
2328 spdif->ctls = val; in snd_hda_spdif_default_put()
2348 ucontrol->value.integer.value[0] = spdif->ctls & AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_get()
2379 val = spdif->ctls & ~AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_put()
2382 change = spdif->ctls != val; in snd_hda_spdif_out_switch_put()
2383 spdif->ctls = val; in snd_hda_spdif_out_switch_put()
2485 spdif->ctls = val; in snd_hda_create_dig_out_ctls()
2486 spdif->status = convert_to_spdif_status(spdif->ctls); in snd_hda_create_dig_out_ctls()
2551 val = spdif->ctls; in snd_hda_spdif_ctls_assign()
[all …]
Dhda_generic.h44 unsigned int ctls[NID_PATH_NUM_CTLS]; /* NID_PATH_XXX_CTL */ member
Dhda_controller.c161 unsigned short ctls = spdif ? spdif->ctls : 0; in azx_pcm_prepare() local
175 ctls); in azx_pcm_prepare()
Dpatch_hdmi.c3256 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare()
3261 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
3273 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare()
3278 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
3295 (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare()
3300 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
3316 (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare()
3321 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
/Linux-v5.4/sound/pci/ca0106/
Dca0106_mixer.c729 #define ADD_CTLS(emu, ctls) \ argument
732 for (i = 0; i < ARRAY_SIZE(ctls); i++) { \
733 _err = snd_ctl_add(card, snd_ctl_new1(&ctls[i], emu)); \
/Linux-v5.4/include/sound/
Dhda_codec.h399 unsigned short ctls; /* SPDIF control bits */ member