Searched refs:ctlvol (Results 1 – 2 of 2) sorted by relevance
86 long ctlvol = ucontrol->value.integer.value[0]; in avs_control_volume_put() local89 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()
327 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() argument819 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() local917 ucontrol->value.integer.value[i] = ctlvol[i]; in catpt_stream_volume_get()944 long *ctlvol = (long *)kcontrol->private_value; in catpt_stream_volume_put() local950 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()