Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_ctl.c72 struct mdp5_ctl ctls[MAX_CTL]; member
646 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request()
654 if ((ctl_mgr->ctls[c].status & checkm) == match) in mdp5_ctlm_request()
661 ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_request()
677 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_hw_reset()
718 struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; in mdp5_ctlm_init()
745 ctl_mgr->ctls[0].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init()
746 ctl_mgr->ctls[1].status |= CTL_STAT_BOOKED; in mdp5_ctlm_init()
/linux-6.15/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c578 struct v4l2_ext_controls *ctls) in pvr2_g_ext_ctrls() argument
589 for (idx = 0; idx < ctls->count; idx++) { in pvr2_g_ext_ctrls()
590 ctrl = ctls->controls + idx; in pvr2_g_ext_ctrls()
601 ctls->error_idx = idx; in pvr2_g_ext_ctrls()
613 struct v4l2_ext_controls *ctls) in pvr2_s_ext_ctrls() argument
622 for (idx = 0; idx < ctls->count; idx++) { in pvr2_s_ext_ctrls()
623 ctrl = ctls->controls + idx; in pvr2_s_ext_ctrls()
628 ctls->error_idx = idx; in pvr2_s_ext_ctrls()
638 struct v4l2_ext_controls *ctls) in pvr2_try_ext_ctrls() argument
649 ctrl = ctls->controls + idx; in pvr2_try_ext_ctrls()
[all …]
/linux-6.15/tools/testing/selftests/alsa/
H A Dmixer-test.c40 snd_ctl_elem_list_t *ctls; member
118 snd_ctl_elem_list_malloc(&card_data->ctls); in find_controls()
119 snd_ctl_elem_list(card_data->handle, card_data->ctls); in find_controls()
120 card_data->num_ctls = snd_ctl_elem_list_get_count(card_data->ctls); in find_controls()
123 snd_ctl_elem_list_alloc_space(card_data->ctls, card_data->num_ctls); in find_controls()
124 snd_ctl_elem_list(card_data->handle, card_data->ctls); in find_controls()
140 ctl_data->name = snd_ctl_elem_list_get_name(card_data->ctls, in find_controls()
155 snd_ctl_elem_list_get_id(card_data->ctls, ctl, in find_controls()
/linux-6.15/sound/drivers/pcsp/
H A Dpcsp_mixer.c133 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-6.15/sound/pci/hda/
H A DMakefile40 snd-hda-cs-dsp-ctls-y := hda_cs_dsp_ctl.o
73 obj-$(CONFIG_SND_HDA_CS_DSP_CONTROLS) += snd-hda-cs-dsp-ctls.o
H A Dhda_generic.c1026 val = path->ctls[NID_PATH_VOL_CTL]; in add_vol_ctl()
1064 val = path->ctls[NID_PATH_MUTE_CTL]; in add_sw_ctl()
1295 if (path->ctls[NID_PATH_VOL_CTL] || in assign_out_path_ctls()
1296 path->ctls[NID_PATH_MUTE_CTL]) in assign_out_path_ctls()
3481 if (!path || !path->ctls[type]) in cap_put_caller()
3549 path->ctls[NID_PATH_VOL_CTL] = path->ctls[NID_PATH_MUTE_CTL] = 0; in parse_capvol_in_path()
3557 path->ctls[NID_PATH_VOL_CTL] = in parse_capvol_in_path()
3563 path->ctls[NID_PATH_VOL_CTL] = in parse_capvol_in_path()
3569 path->ctls[NID_PATH_MUTE_CTL] = in parse_capvol_in_path()
3575 path->ctls[NID_PATH_MUTE_CTL] = in parse_capvol_in_path()
[all …]
H A Dhda_codec.c2338 val |= spdif->ctls & 1; in snd_hda_spdif_default_put()
2339 change = spdif->ctls != val; in snd_hda_spdif_default_put()
2340 spdif->ctls = val; in snd_hda_spdif_default_put()
2391 val = spdif->ctls & ~AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_put()
2394 change = spdif->ctls != val; in snd_hda_spdif_out_switch_put()
2395 spdif->ctls = val; in snd_hda_spdif_out_switch_put()
2503 spdif->ctls = val; in snd_hda_create_dig_out_ctls()
2569 val = spdif->ctls; in snd_hda_spdif_ctls_assign()
3627 (spdif->ctls & AC_DIG1_ENABLE) && in setup_dig_out_stream()
3634 spdif->ctls & ~AC_DIG1_ENABLE & 0xff, in setup_dig_out_stream()
[all …]
H A Dhda_generic.h49 unsigned int ctls[NID_PATH_NUM_CTLS]; /* NID_PATH_XXX_CTL */ member
H A Dhda_controller.c166 unsigned short ctls = spdif ? spdif->ctls : 0; in azx_pcm_prepare() local
178 format_val = snd_hdac_spdif_stream_format(runtime->channels, bits, runtime->rate, ctls); in azx_pcm_prepare()
H A Dpatch_hdmi.c3562 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare()
3567 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
3579 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare()
3584 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
3601 (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare()
3606 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
3622 (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare()
3627 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
/linux-6.15/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_control_parse.c1194 struct cs_dsp_coeff_ctl *ctls[ARRAY_SIZE(cs_dsp_ctl_parse_test_algs)]; in cs_dsp_ctl_squash_reloaded_controls() local
1220 KUNIT_ASSERT_LT(test, i, ARRAY_SIZE(ctls)); in cs_dsp_ctl_squash_reloaded_controls()
1221 ctls[i++] = walkctl; in cs_dsp_ctl_squash_reloaded_controls()
1236 KUNIT_ASSERT_LT(test, i, ARRAY_SIZE(ctls)); in cs_dsp_ctl_squash_reloaded_controls()
1237 KUNIT_ASSERT_PTR_EQ(test, walkctl, ctls[i++]); in cs_dsp_ctl_squash_reloaded_controls()
1252 struct cs_dsp_coeff_ctl *ctls[ARRAY_SIZE(cs_dsp_get_ctl_test_names)]; in cs_dsp_ctl_v2_squash_reloaded_controls() local
1286 KUNIT_ASSERT_LT(test, i, ARRAY_SIZE(ctls)); in cs_dsp_ctl_v2_squash_reloaded_controls()
1287 ctls[i++] = walkctl; in cs_dsp_ctl_v2_squash_reloaded_controls()
1302 KUNIT_ASSERT_LT(test, i, ARRAY_SIZE(ctls)); in cs_dsp_ctl_v2_squash_reloaded_controls()
1303 KUNIT_ASSERT_PTR_EQ(test, walkctl, ctls[i++]); in cs_dsp_ctl_v2_squash_reloaded_controls()
/linux-6.15/sound/pci/ca0106/
H A Dca0106_mixer.c719 #define ADD_CTLS(emu, ctls) \ argument
722 for (i = 0; i < ARRAY_SIZE(ctls); i++) { \
723 _err = snd_ctl_add(card, snd_ctl_new1(&ctls[i], emu)); \
/linux-6.15/include/sound/
H A Dhda_codec.h402 unsigned short ctls; /* SPDIF control bits */ member
/linux-6.15/sound/pci/emu10k1/
H A Demumixer.c28 const char * const *ctls, unsigned nctls) in add_ctls() argument
34 kctl.name = ctls[i]; in add_ctls()