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 = sys_get_le16(*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()591 UNALIGNED_PUT(target_vol, (int16_t *)control_val); in handle_fu_volume_req()