Searched refs:rformat (Results 1 – 2 of 2) sorted by relevance
536 unsigned char rformat; in snd_cs4231_get_format() local538 rformat = CS4231_LINEAR_8; in snd_cs4231_get_format()541 rformat = CS4231_ULAW_8; in snd_cs4231_get_format()544 rformat = CS4231_ALAW_8; in snd_cs4231_get_format()547 rformat = CS4231_LINEAR_16; in snd_cs4231_get_format()550 rformat = CS4231_LINEAR_16_BIG; in snd_cs4231_get_format()553 rformat = CS4231_ADPCM_16; in snd_cs4231_get_format()557 rformat |= CS4231_STEREO; in snd_cs4231_get_format()558 return rformat; in snd_cs4231_get_format()
533 unsigned char rformat; in snd_wss_get_format() local535 rformat = CS4231_LINEAR_8; in snd_wss_get_format()537 case SNDRV_PCM_FORMAT_MU_LAW: rformat = CS4231_ULAW_8; break; in snd_wss_get_format()538 case SNDRV_PCM_FORMAT_A_LAW: rformat = CS4231_ALAW_8; break; in snd_wss_get_format()539 case SNDRV_PCM_FORMAT_S16_LE: rformat = CS4231_LINEAR_16; break; in snd_wss_get_format()540 case SNDRV_PCM_FORMAT_S16_BE: rformat = CS4231_LINEAR_16_BIG; break; in snd_wss_get_format()541 case SNDRV_PCM_FORMAT_IMA_ADPCM: rformat = CS4231_ADPCM_16; break; in snd_wss_get_format()544 rformat |= CS4231_STEREO; in snd_wss_get_format()548 return rformat; in snd_wss_get_format()