Searched defs:expected_volume (Results 1 – 2 of 2) sorted by relevance
872 const uint8_t expected_volume = g_volume > volume_step ? g_volume - volume_step : 0; in test_vol_down() local889 const uint8_t expected_volume = MIN((uint16_t)g_volume + volume_step, UINT8_MAX); in test_vol_up() local923 const uint8_t expected_volume = g_volume > volume_step ? g_volume - volume_step : 0; in test_unmute_vol_down() local941 const uint8_t expected_volume = MIN((uint16_t)g_volume + volume_step, UINT8_MAX); in test_unmute_vol_up() local976 const uint8_t expected_volume = g_volume - 5; /* any underflow is fine too */ in test_set_vol() local
957 const uint8_t expected_volume = g_volume + 5; /* Overflow is OK */ in test_set_vol() local