/* set the format and rate to the chip. call the lowlevel function if defined (e.g. for AWACS).  */
static void snd_pmac_pcm_set_format(struct snd_pmac *chip)
/* set the format and rate to the chip. call the lowlevel function if defined (e.g. for AWACS).  */
static void snd_pmac_pcm_set_format(struct snd_pmac *chip)
{
	out_le32(&chip->awacs->control, chip->control_mask | (chip->rate_index << 8));
	out_le32(&chip->awacs->byteswap, chip->format == SNDRV_PCM_FORMAT_S16_LE ? 1 : 0);
	if (chip->set_format)
		chip->set_format(chip);
}