Searched refs:ctls (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_ctl.c | 79 struct mdp5_ctl ctls[MAX_CTL]; member 644 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request() 652 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request() 659 ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_request() 675 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_hw_reset() 723 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_init() 750 ctl_mgr->ctls[0].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init() 751 ctl_mgr->ctls[1].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init()
|
/Linux-v4.19/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 621 struct v4l2_ext_controls *ctls) in pvr2_g_ext_ctrls() argument 632 for (idx = 0; idx < ctls->count; idx++) { in pvr2_g_ext_ctrls() 633 ctrl = ctls->controls + idx; in pvr2_g_ext_ctrls() 636 if (ctls->which == V4L2_CTRL_WHICH_DEF_VAL) in pvr2_g_ext_ctrls() 644 ctls->error_idx = idx; in pvr2_g_ext_ctrls() 656 struct v4l2_ext_controls *ctls) in pvr2_s_ext_ctrls() argument 665 if (ctls->which == V4L2_CTRL_WHICH_DEF_VAL) in pvr2_s_ext_ctrls() 669 for (idx = 0; idx < ctls->count; idx++) { in pvr2_s_ext_ctrls() 670 ctrl = ctls->controls + idx; in pvr2_s_ext_ctrls() 675 ctls->error_idx = idx; in pvr2_s_ext_ctrls() [all …]
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_rm.c | 605 struct dpu_rm_hw_blk *ctls[MAX_BLOCKS]; in _dpu_rm_reserve_ctls() local 609 memset(&ctls, 0, sizeof(ctls)); in _dpu_rm_reserve_ctls() 627 ctls[i] = iter.blk; in _dpu_rm_reserve_ctls() 637 for (i = 0; i < ARRAY_SIZE(ctls) && i < top->num_ctl; i++) { in _dpu_rm_reserve_ctls() 638 ctls[i]->rsvp_nxt = rsvp; in _dpu_rm_reserve_ctls() 639 trace_dpu_rm_reserve_ctls(ctls[i]->id, ctls[i]->type, in _dpu_rm_reserve_ctls()
|
/Linux-v4.19/sound/drivers/pcsp/ |
D | pcsp_mixer.c | 133 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-v4.19/sound/pci/hda/ |
D | hda_generic.c | 359 if ((path->ctls[type] & AMP_VAL_COMPARE_MASK) == val) in is_ctl_used() 1026 val = path->ctls[NID_PATH_VOL_CTL]; in add_vol_ctl() 1039 hda_nid_t nid = get_amp_nid_(path->ctls[type]); in get_default_ch_nums() 1064 val = path->ctls[NID_PATH_MUTE_CTL]; in add_sw_ctl() 1159 return path && path->ctls[ctl_type]; in path_has_mixer() 1288 if (path->ctls[NID_PATH_VOL_CTL] || in assign_out_path_ctls() 1289 path->ctls[NID_PATH_MUTE_CTL]) in assign_out_path_ctls() 1300 path->ctls[NID_PATH_VOL_CTL] = val; in assign_out_path_ctls() 1314 path->ctls[NID_PATH_MUTE_CTL] = val; in assign_out_path_ctls() 3105 path->ctls[NID_PATH_VOL_CTL] = mix_val; in new_analog_input() [all …]
|
D | hda_codec.c | 2322 val |= spdif->ctls & 1; in snd_hda_spdif_default_put() 2323 change = spdif->ctls != val; in snd_hda_spdif_default_put() 2324 spdif->ctls = val; in snd_hda_spdif_default_put() 2344 ucontrol->value.integer.value[0] = spdif->ctls & AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_get() 2375 val = spdif->ctls & ~AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_put() 2378 change = spdif->ctls != val; in snd_hda_spdif_out_switch_put() 2379 spdif->ctls = val; in snd_hda_spdif_out_switch_put() 2481 spdif->ctls = val; in snd_hda_create_dig_out_ctls() 2482 spdif->status = convert_to_spdif_status(spdif->ctls); in snd_hda_create_dig_out_ctls() 2547 val = spdif->ctls; in snd_hda_spdif_ctls_assign() [all …]
|
D | hda_generic.h | 48 unsigned int ctls[NID_PATH_NUM_CTLS]; /* NID_PATH_XXX_CTL */ member
|
D | patch_hdmi.c | 3032 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare() 3037 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare() 3049 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare() 3054 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare() 3071 (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare() 3076 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare() 3092 (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare() 3097 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
|
D | hda_controller.c | 172 unsigned short ctls = spdif ? spdif->ctls : 0; in azx_pcm_prepare() local 186 ctls); in azx_pcm_prepare()
|
D | hda_codec.h | 407 unsigned short ctls; /* SPDIF control bits */ member
|
/Linux-v4.19/sound/pci/ca0106/ |
D | ca0106_mixer.c | 743 #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)); \
|