Lines Matching refs:volumes
51 struct feature_volume volumes; member
165 .volumes.volume_max = GET_VOLUME(dev, i, volume_max), \
166 .volumes.volume_min = GET_VOLUME(dev, i, volume_min), \
167 .volumes.volume_res = GET_VOLUME(dev, i, volume_res), \
179 .volumes.volume_max = GET_VOLUME(dev, i, volume_max), \
180 .volumes.volume_min = GET_VOLUME(dev, i, volume_min), \
181 .volumes.volume_res = GET_VOLUME(dev, i, volume_res), \
581 if (!IN_RANGE(target_vol, audio_dev_data->volumes.volume_min, in handle_fu_volume_req()
582 audio_dev_data->volumes.volume_max)) { in handle_fu_volume_req()
586 if (target_vol % audio_dev_data->volumes.volume_res != 0) { in handle_fu_volume_req()
588 audio_dev_data->volumes.volume_res); in handle_fu_volume_req()
603 *len = sizeof(audio_dev_data->volumes.volume_min); in handle_fu_volume_req()
604 temp_vol = sys_cpu_to_le16(audio_dev_data->volumes.volume_min); in handle_fu_volume_req()
608 *len = sizeof(audio_dev_data->volumes.volume_max); in handle_fu_volume_req()
609 temp_vol = sys_cpu_to_le16(audio_dev_data->volumes.volume_max); in handle_fu_volume_req()
613 *len = sizeof(audio_dev_data->volumes.volume_res); in handle_fu_volume_req()
614 temp_vol = sys_cpu_to_le16(audio_dev_data->volumes.volume_res); in handle_fu_volume_req()