Searched refs:ctls (Results 1 – 10 of 10) sorted by relevance
| /linux/sound/hda/codecs/hdmi/ |
| H A D | nvhdmi-mcp.c | 143 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare() 148 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare() 160 if (codec->spdif_status_reset && (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare() 165 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare() 182 (spdif->ctls & AC_DIG1_ENABLE)) in nvhdmi_8ch_7x_pcm_prepare() 187 spdif->ctls & ~AC_DIG1_ENABLE & 0xff); in nvhdmi_8ch_7x_pcm_prepare() 203 (spdif->ctls & AC_DIG1_ENABLE)) { in nvhdmi_8ch_7x_pcm_prepare() 208 spdif->ctls & 0xff); in nvhdmi_8ch_7x_pcm_prepare()
|
| /linux/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-v4l2.c | 581 struct v4l2_ext_controls *ctls) in pvr2_g_ext_ctrls() argument 592 for (idx = 0; idx < ctls->count; idx++) { in pvr2_g_ext_ctrls() 593 ctrl = ctls->controls + idx; in pvr2_g_ext_ctrls() 596 if (ctls->which == V4L2_CTRL_WHICH_DEF_VAL) in pvr2_g_ext_ctrls() 604 ctls->error_idx = idx; in pvr2_g_ext_ctrls() 616 struct v4l2_ext_controls *ctls) in pvr2_s_ext_ctrls() argument 625 for (idx = 0; idx < ctls->count; idx++) { in pvr2_s_ext_ctrls() 626 ctrl = ctls->controls + idx; in pvr2_s_ext_ctrls() 631 ctls->error_idx = idx; in pvr2_s_ext_ctrls() 641 struct v4l2_ext_controls *ctls) in pvr2_try_ext_ctrls() argument [all...] |
| /linux/tools/testing/selftests/alsa/ |
| H A D | mixer-test.c | 40 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/sound/drivers/pcsp/ |
| H A 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/sound/hda/codecs/ |
| H A D | generic.c | 353 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() 1033 /* return the channel bits suitable for the given path->ctls[] */ 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() 1157 return path && path->ctls[ctl_type]; in path_has_mixer() 1277 * volume and mute controls, and assign the values to ctls[]. 1293 if (path->ctls[NID_PATH_VOL_CTL] || in assign_out_path_ctls() 1294 path->ctls[NID_PATH_MUTE_CTL]) in assign_out_path_ctls() 1305 path->ctls[NID_PATH_VOL_CT in assign_out_path_ctls() [all...] |
| H A D | generic.h | 49 unsigned int ctls[NID_PATH_NUM_CTLS]; /* NID_PATH_XXX_CTL */ member
|
| /linux/sound/hda/common/ |
| H A D | codec.c | 1816 /* apply the function to all matching follower ctls in the mixer list */ 2293 val |= spdif->ctls & 1; in snd_hda_spdif_default_put() 2294 change = spdif->ctls != val; in snd_hda_spdif_default_put() 2295 spdif->ctls = val; in snd_hda_spdif_default_put() 2314 ucontrol->value.integer.value[0] = spdif->ctls & AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_get() 2344 val = spdif->ctls & ~AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_put() 2347 change = spdif->ctls != val; in snd_hda_spdif_out_switch_put() 2348 spdif->ctls = val; in snd_hda_spdif_out_switch_put() 2389 * @associated_nid: NID that new ctls associated with 2455 spdif->ctls in snd_hda_create_dig_out_ctls() [all...] |
| H A D | controller.c | 163 unsigned short ctls = spdif ? spdif->ctls : 0; in azx_pcm_prepare() local 173 format_val = snd_hdac_spdif_stream_format(runtime->channels, bits, runtime->rate, ctls); in azx_pcm_prepare()
|
| /linux/sound/pci/ca0106/ |
| H A D | ca0106_mixer.c | 719 #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/sound/hda/codecs/side-codecs/ |
| H A D | tas2781_hda_i2c.c | 414 struct snd_kcontrol **ctls, struct hda_codec *codec, in tasdev_add_kcontrols() argument 420 ctls[i] = snd_ctl_new1( in tasdev_add_kcontrols() 422 ret = snd_ctl_add(codec->card, ctls[i]); in tasdev_add_kcontrols()
|