Home
last modified time | relevance | path

Searched refs:awacs (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/sound/ppc/
H A Dburgundy.c22 while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--) in snd_pmac_burgundy_busy_wait()
33 while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) in snd_pmac_burgundy_extend_wait()
38 while ((in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) in snd_pmac_burgundy_extend_wait()
47 out_le32(&chip->awacs->codec_ctrl, addr + 0x200c00 + (val & 0xff)); in snd_pmac_burgundy_wcw()
49 out_le32(&chip->awacs->codec_ctrl, addr + 0x200d00 +((val>>8) & 0xff)); in snd_pmac_burgundy_wcw()
51 out_le32(&chip->awacs->codec_ctrl, addr + 0x200e00 +((val>>16) & 0xff)); in snd_pmac_burgundy_wcw()
53 out_le32(&chip->awacs->codec_ctrl, addr + 0x200f00 +((val>>24) & 0xff)); in snd_pmac_burgundy_wcw()
65 out_le32(&chip->awacs->codec_ctrl, addr + 0x100000); in snd_pmac_burgundy_rcw()
68 val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; in snd_pmac_burgundy_rcw()
70 out_le32(&chip->awacs in snd_pmac_burgundy_rcw()
[all...]
H A Dpmac.c26 /* fixed frequency table for awacs, screamer, burgundy, DACA (44100 max) */
144 out_le32(&chip->awacs->control, chip->control_mask | (chip->rate_index << 8)); in snd_pmac_pcm_set_format()
145 out_le32(&chip->awacs->byteswap, chip->format == SNDRV_PCM_FORMAT_S16_LE ? 1 : 0); in snd_pmac_pcm_set_format()
730 out_le32(&chip->awacs->control, in snd_pmac_beep_dma_start()
731 (in_le32(&chip->awacs->control) & ~0x1f00) in snd_pmac_beep_dma_start()
733 out_le32(&chip->awacs->byteswap, 0); in snd_pmac_beep_dma_start()
771 int ctrl = in_le32(&chip->awacs->control); in snd_pmac_ctrl_intr()
780 int err = (in_le32(&chip->awacs->codec_stat) & MASK_ERRCODE) >> 16; in snd_pmac_ctrl_intr()
785 out_le32(&chip->awacs->control, ctrl); in snd_pmac_ctrl_intr()
808 /* disable interrupts from awacs interfac in snd_pmac_free()
[all...]
H A DMakefile7 snd-powermac-objs := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
H A Dawacs.c38 while (!(in_le32(&chip->awacs->codec_stat) & MASK_VALID)) { in snd_pmac_screamer_wait()
57 out_le32(&chip->awacs->codec_ctrl, val | (chip->subframe << 22)); in snd_pmac_awacs_write()
58 while (in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) { in snd_pmac_awacs_write()
789 return (in_le32(&chip->awacs->codec_stat) & chip->hp_stat_mask) ? 1 : 0; in snd_pmac_awacs_detect_headphone()
904 chip->manufacturer = (in_le32(&chip->awacs->codec_stat) >> 8) & 0xf; in snd_pmac_awacs_init()
907 chip->revision = (in_le32(&chip->awacs->codec_stat) >> 12) & 0xf; in snd_pmac_awacs_init()
H A Dpmac.h14 #include "awacs.h"
115 volatile struct awacs_regs __iomem *awacs; member
/kernel/linux/linux-6.6/sound/ppc/
H A Dburgundy.c23 while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--) in snd_pmac_burgundy_busy_wait()
34 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()
48 out_le32(&chip->awacs->codec_ctrl, addr + 0x200c00 + (val & 0xff)); in snd_pmac_burgundy_wcw()
50 out_le32(&chip->awacs->codec_ctrl, addr + 0x200d00 +((val>>8) & 0xff)); in snd_pmac_burgundy_wcw()
52 out_le32(&chip->awacs->codec_ctrl, addr + 0x200e00 +((val>>16) & 0xff)); in snd_pmac_burgundy_wcw()
54 out_le32(&chip->awacs->codec_ctrl, addr + 0x200f00 +((val>>24) & 0xff)); in snd_pmac_burgundy_wcw()
66 out_le32(&chip->awacs->codec_ctrl, addr + 0x100000); in snd_pmac_burgundy_rcw()
69 val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; in snd_pmac_burgundy_rcw()
71 out_le32(&chip->awacs in snd_pmac_burgundy_rcw()
[all...]
H A Dpmac.c26 /* fixed frequency table for awacs, screamer, burgundy, DACA (44100 max) */
144 out_le32(&chip->awacs->control, chip->control_mask | (chip->rate_index << 8)); in snd_pmac_pcm_set_format()
145 out_le32(&chip->awacs->byteswap, chip->format == SNDRV_PCM_FORMAT_S16_LE ? 1 : 0); in snd_pmac_pcm_set_format()
730 out_le32(&chip->awacs->control, in snd_pmac_beep_dma_start()
731 (in_le32(&chip->awacs->control) & ~0x1f00) in snd_pmac_beep_dma_start()
733 out_le32(&chip->awacs->byteswap, 0); in snd_pmac_beep_dma_start()
771 int ctrl = in_le32(&chip->awacs->control); in snd_pmac_ctrl_intr()
780 int err = (in_le32(&chip->awacs->codec_stat) & MASK_ERRCODE) >> 16; in snd_pmac_ctrl_intr()
785 out_le32(&chip->awacs->control, ctrl); in snd_pmac_ctrl_intr()
808 /* disable interrupts from awacs interfac in snd_pmac_free()
[all...]
H A DMakefile7 snd-powermac-objs := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
H A Dawacs.c39 while (!(in_le32(&chip->awacs->codec_stat) & MASK_VALID)) { in snd_pmac_screamer_wait()
58 out_le32(&chip->awacs->codec_ctrl, val | (chip->subframe << 22)); in snd_pmac_awacs_write()
59 while (in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) { in snd_pmac_awacs_write()
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.h14 #include "awacs.h"
116 volatile struct awacs_regs __iomem *awacs; member

Completed in 8 milliseconds