SNDRV_PCM_FORMAT_LAST
(__force int)(f) <= (__force int)SNDRV_PCM_FORMAT_LAST; \
return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST;
static const struct pcm_format_data pcm_formats[(INT)SNDRV_PCM_FORMAT_LAST+1] = {
KUNIT_EXPECT_EQ(test, snd_pcm_format_set_silence(SNDRV_PCM_FORMAT_LAST, buffer, 0), 0);
#define WRONG_FORMAT_1 (__force snd_pcm_format_t)((__force int)SNDRV_PCM_FORMAT_LAST + 1)
uinfo->value.integer.max = (__force int)SNDRV_PCM_FORMAT_LAST;
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);
0, (__force unsigned int)SNDRV_PCM_FORMAT_LAST);