Searched refs:ctls (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_ctl.c | 71 struct mdp5_ctl ctls[MAX_CTL]; member 645 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request() 653 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request() 660 ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_request() 676 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_hw_reset() 724 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_init() 751 ctl_mgr->ctls[0].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init() 752 ctl_mgr->ctls[1].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init()
|
/linux-5.19.10/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 600 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 for (idx = 0; idx < ctls->count; idx++) { in pvr2_s_ext_ctrls() 645 ctrl = ctls->controls + idx; in pvr2_s_ext_ctrls() 650 ctls->error_idx = idx; in pvr2_s_ext_ctrls() 660 struct v4l2_ext_controls *ctls) in pvr2_try_ext_ctrls() argument [all …]
|
/linux-5.19.10/tools/testing/selftests/alsa/ |
D | mixer-test.c | 37 snd_ctl_elem_list_t *ctls; member 137 snd_ctl_elem_list_malloc(&card_data->ctls); in find_controls() 138 snd_ctl_elem_list(card_data->handle, card_data->ctls); in find_controls() 139 card_data->num_ctls = snd_ctl_elem_list_get_count(card_data->ctls); in find_controls() 142 snd_ctl_elem_list_alloc_space(card_data->ctls, card_data->num_ctls); in find_controls() 143 snd_ctl_elem_list(card_data->handle, card_data->ctls); in find_controls() 159 ctl_data->name = snd_ctl_elem_list_get_name(card_data->ctls, in find_controls() 174 snd_ctl_elem_list_get_id(card_data->ctls, ctl, in find_controls()
|
/linux-5.19.10/sound/drivers/pcsp/ |
D | pcsp_mixer.c | 133 const 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-5.19.10/sound/pci/hda/ |
D | hda_generic.c | 353 if ((path->ctls[type] & AMP_VAL_COMPARE_MASK) == val) in is_ctl_used() 1022 val = path->ctls[NID_PATH_VOL_CTL]; in add_vol_ctl() 1035 hda_nid_t nid = get_amp_nid_(path->ctls[type]); in get_default_ch_nums() 1060 val = path->ctls[NID_PATH_MUTE_CTL]; in add_sw_ctl() 1155 return path && path->ctls[ctl_type]; in path_has_mixer() 1290 if (path->ctls[NID_PATH_VOL_CTL] || in assign_out_path_ctls() 1291 path->ctls[NID_PATH_MUTE_CTL]) in assign_out_path_ctls() 1302 path->ctls[NID_PATH_VOL_CTL] = val; in assign_out_path_ctls() 1316 path->ctls[NID_PATH_MUTE_CTL] = val; in assign_out_path_ctls() 3111 path->ctls[NID_PATH_VOL_CTL] = mix_val; in new_analog_input() [all …]
|
D | hda_codec.c | 2336 val |= spdif->ctls & 1; in snd_hda_spdif_default_put() 2337 change = spdif->ctls != val; in snd_hda_spdif_default_put() 2338 spdif->ctls = val; in snd_hda_spdif_default_put() 2358 ucontrol->value.integer.value[0] = spdif->ctls & AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_get() 2389 val = spdif->ctls & ~AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_put() 2392 change = spdif->ctls != val; in snd_hda_spdif_out_switch_put() 2393 spdif->ctls = val; in snd_hda_spdif_out_switch_put() 2495 spdif->ctls = val; in snd_hda_create_dig_out_ctls() 2496 spdif->status = convert_to_spdif_status(spdif->ctls); in snd_hda_create_dig_out_ctls() 2561 val = spdif->ctls; in snd_hda_spdif_ctls_assign() [all …]
|
D | hda_generic.h | 46 unsigned int ctls[NID_PATH_NUM_CTLS]; /* NID_PATH_XXX_CTL */ member
|
D | hda_controller.c | 158 unsigned short ctls = spdif ? spdif->ctls : 0; in azx_pcm_prepare() local 172 ctls); in azx_pcm_prepare()
|
D | patch_hdmi.c | 3512 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare() 3517 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare() 3529 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare() 3534 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare() 3551 (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare() 3556 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare() 3572 (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare() 3577 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
|
/linux-5.19.10/sound/pci/ca0106/ |
D | ca0106_mixer.c | 729 #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-5.19.10/include/sound/ |
D | hda_codec.h | 409 unsigned short ctls; /* SPDIF control bits */ member
|