Lines Matching defs:kcontrol
1449 * @kcontrol: referred ctl element
1455 int snd_hda_mixer_amp_volume_info(struct snd_kcontrol *kcontrol,
1458 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
1459 u16 nid = get_amp_nid(kcontrol);
1460 u8 chs = get_amp_channels(kcontrol);
1461 int dir = get_amp_direction(kcontrol);
1462 unsigned int ofs = get_amp_offset(kcontrol);
1471 nid, kcontrol->id.name);
1512 * @kcontrol: ctl element
1518 int snd_hda_mixer_amp_volume_get(struct snd_kcontrol *kcontrol,
1521 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
1522 hda_nid_t nid = get_amp_nid(kcontrol);
1523 int chs = get_amp_channels(kcontrol);
1524 int dir = get_amp_direction(kcontrol);
1525 int idx = get_amp_index(kcontrol);
1526 unsigned int ofs = get_amp_offset(kcontrol);
1539 * @kcontrol: ctl element
1545 int snd_hda_mixer_amp_volume_put(struct snd_kcontrol *kcontrol,
1548 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
1549 hda_nid_t nid = get_amp_nid(kcontrol);
1550 int chs = get_amp_channels(kcontrol);
1551 int dir = get_amp_direction(kcontrol);
1552 int idx = get_amp_index(kcontrol);
1553 unsigned int ofs = get_amp_offset(kcontrol);
1568 static void get_ctl_amp_tlv(struct snd_kcontrol *kcontrol, unsigned int *tlv)
1570 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
1571 hda_nid_t nid = get_amp_nid(kcontrol);
1572 int dir = get_amp_direction(kcontrol);
1573 unsigned int ofs = get_amp_offset(kcontrol);
1574 bool min_mute = get_amp_min_mute(kcontrol);
1593 * @kcontrol: ctl element
1601 int snd_hda_mixer_amp_tlv(struct snd_kcontrol *kcontrol, int op_flag,
1608 get_ctl_amp_tlv(kcontrol, tlv);
1984 * @access: kcontrol access rights
1985 * @ctl_ret: store the vmaster kcontrol in return
2091 * @kcontrol: referred ctl element
2097 int snd_hda_mixer_amp_switch_info(struct snd_kcontrol *kcontrol,
2100 int chs = get_amp_channels(kcontrol);
2112 * @kcontrol: ctl element
2118 int snd_hda_mixer_amp_switch_get(struct snd_kcontrol *kcontrol,
2121 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2122 hda_nid_t nid = get_amp_nid(kcontrol);
2123 int chs = get_amp_channels(kcontrol);
2124 int dir = get_amp_direction(kcontrol);
2125 int idx = get_amp_index(kcontrol);
2140 * @kcontrol: ctl element
2146 int snd_hda_mixer_amp_switch_put(struct snd_kcontrol *kcontrol,
2149 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2150 hda_nid_t nid = get_amp_nid(kcontrol);
2151 int chs = get_amp_channels(kcontrol);
2152 int dir = get_amp_direction(kcontrol);
2153 int idx = get_amp_index(kcontrol);
2176 static int snd_hda_spdif_mask_info(struct snd_kcontrol *kcontrol,
2184 static int snd_hda_spdif_cmask_get(struct snd_kcontrol *kcontrol,
2196 static int snd_hda_spdif_pmask_get(struct snd_kcontrol *kcontrol,
2205 static int snd_hda_spdif_default_get(struct snd_kcontrol *kcontrol,
2208 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2209 int idx = kcontrol->private_value;
2311 static int snd_hda_spdif_default_put(struct snd_kcontrol *kcontrol,
2314 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2315 int idx = kcontrol->private_value;
2342 static int snd_hda_spdif_out_switch_get(struct snd_kcontrol *kcontrol,
2345 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2346 int idx = kcontrol->private_value;
2369 static int snd_hda_spdif_out_switch_put(struct snd_kcontrol *kcontrol,
2372 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2373 int idx = kcontrol->private_value;
2570 static int spdif_share_sw_get(struct snd_kcontrol *kcontrol,
2573 struct hda_multi_out *mout = snd_kcontrol_chip(kcontrol);
2578 static int spdif_share_sw_put(struct snd_kcontrol *kcontrol,
2581 struct hda_multi_out *mout = snd_kcontrol_chip(kcontrol);
2621 static int snd_hda_spdif_in_switch_get(struct snd_kcontrol *kcontrol,
2624 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2630 static int snd_hda_spdif_in_switch_put(struct snd_kcontrol *kcontrol,
2633 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2634 hda_nid_t nid = kcontrol->private_value;
2649 static int snd_hda_spdif_in_status_get(struct snd_kcontrol *kcontrol,
2652 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2653 hda_nid_t nid = kcontrol->private_value;
3580 * @kcontrol: ctl element
3585 * process kcontrol info callback of a simple string enum array
3588 int snd_hda_enum_helper_info(struct snd_kcontrol *kcontrol,