Home
last modified time | relevance | path

Searched refs:ctlvol (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/sound/soc/intel/avs/
Dcontrol.c86 long ctlvol = ucontrol->value.integer.value[0]; in avs_control_volume_put() local
89 if (ctlvol < 0 || ctlvol > mc->max) in avs_control_volume_put()
95 if (*volume != ctlvol) { in avs_control_volume_put()
96 *volume = ctlvol; in avs_control_volume_put()
/linux-6.6.21/sound/soc/intel/catpt/
Dpcm.c327 static int catpt_set_dspvol(struct catpt_dev *cdev, u8 stream_id, long *ctlvol);
813 static int catpt_set_dspvol(struct catpt_dev *cdev, u8 stream_id, long *ctlvol) in catpt_set_dspvol() argument
819 if (ctlvol[i] != ctlvol[0]) in catpt_set_dspvol()
823 dspvol = ctlvol_to_dspvol(ctlvol[0]); in catpt_set_dspvol()
830 dspvol = ctlvol_to_dspvol(ctlvol[i]); in catpt_set_dspvol()
909 long *ctlvol = (long *)kcontrol->private_value; in catpt_stream_volume_get() local
917 ucontrol->value.integer.value[i] = ctlvol[i]; in catpt_stream_volume_get()
944 long *ctlvol = (long *)kcontrol->private_value; in catpt_stream_volume_put() local
950 ctlvol[i] = ucontrol->value.integer.value[i]; in catpt_stream_volume_put()
968 ctlvol[i] = ucontrol->value.integer.value[i]; in catpt_stream_volume_put()