Home
last modified time | relevance | path

Searched refs:codec_stat (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/sound/ppc/
H A Dburgundy.c34 while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) in snd_pmac_burgundy_extend_wait()
39 while ((in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) in snd_pmac_burgundy_extend_wait()
69 val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; in snd_pmac_burgundy_rcw()
74 val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<8; in snd_pmac_burgundy_rcw()
79 val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<16; in snd_pmac_burgundy_rcw()
84 val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<24; in snd_pmac_burgundy_rcw()
110 val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; in snd_pmac_burgundy_rcb()
566 return (in_le32(&chip->awacs->codec_stat) & chip->hp_stat_mask) ? 1 : 0; in snd_pmac_burgundy_detect_headphone()
H A Dawacs.h21 unsigned codec_stat; /* Codec status register */ member
H A Dawacs.c39 while (!(in_le32(&chip->awacs->codec_stat) & MASK_VALID)) { in snd_pmac_screamer_wait()
790 return (in_le32(&chip->awacs->codec_stat) & chip->hp_stat_mask) ? 1 : 0; in snd_pmac_awacs_detect_headphone()
905 chip->manufacturer = (in_le32(&chip->awacs->codec_stat) >> 8) & 0xf; in snd_pmac_awacs_init()
908 chip->revision = (in_le32(&chip->awacs->codec_stat) >> 12) & 0xf; in snd_pmac_awacs_init()
H A Dpmac.c780 int err = (in_le32(&chip->awacs->codec_stat) & MASK_ERRCODE) >> 16; in snd_pmac_ctrl_intr()