Searched refs:target_vol (Results 1 – 1 of 1) sorted by relevance
570 int16_t target_vol = 0; in handle_fu_volume_req() local580 target_vol = *((int16_t *)*data); in handle_fu_volume_req()581 if (!IN_RANGE(target_vol, audio_dev_data->volumes.volume_min, in handle_fu_volume_req()583 LOG_ERR("Volume out of range: %d", target_vol); in handle_fu_volume_req()586 if (target_vol % audio_dev_data->volumes.volume_res != 0) { in handle_fu_volume_req()587 target_vol = ROUND_UP(target_vol, in handle_fu_volume_req()592 *((int16_t *)evt->val) = sys_le16_to_cpu(target_vol); in handle_fu_volume_req()