Lines Matching refs:audio_io

215 static void ringbuf_set_initial(void __iomem *audio_io,  in ringbuf_set_initial()  argument
249 writel(start, audio_io + p_rbuf->baseaddr); in ringbuf_set_initial()
250 writel(end, audio_io + p_rbuf->endaddr); in ringbuf_set_initial()
251 writel(fmark_val, audio_io + p_rbuf->fmark); in ringbuf_set_initial()
252 writel(initial_rd, audio_io + p_rbuf->rdaddr); in ringbuf_set_initial()
253 writel(initial_wr, audio_io + p_rbuf->wraddr); in ringbuf_set_initial()
437 void __iomem *audio_io; in handle_playback_irq() local
441 audio_io = cygaud->audio; in handle_playback_irq()
449 esr_status0 = readl(audio_io + ESR0_STATUS_OFFSET); in handle_playback_irq()
450 esr_status0 &= ~readl(audio_io + ESR0_MASK_STATUS_OFFSET); in handle_playback_irq()
451 esr_status1 = readl(audio_io + ESR1_STATUS_OFFSET); in handle_playback_irq()
452 esr_status1 &= ~readl(audio_io + ESR1_MASK_STATUS_OFFSET); in handle_playback_irq()
453 esr_status3 = readl(audio_io + ESR3_STATUS_OFFSET); in handle_playback_irq()
454 esr_status3 &= ~readl(audio_io + ESR3_MASK_STATUS_OFFSET); in handle_playback_irq()
485 writel(esr_status0, audio_io + ESR0_STATUS_CLR_OFFSET); in handle_playback_irq()
486 writel(esr_status1, audio_io + ESR1_STATUS_CLR_OFFSET); in handle_playback_irq()
487 writel(esr_status3, audio_io + ESR3_STATUS_CLR_OFFSET); in handle_playback_irq()
489 writel(esr_status3, audio_io + BF_REARM_FREE_MARK_OFFSET); in handle_playback_irq()
500 void __iomem *audio_io; in handle_capture_irq() local
504 audio_io = cygaud->audio; in handle_capture_irq()
512 esr_status2 = readl(audio_io + ESR2_STATUS_OFFSET); in handle_capture_irq()
513 esr_status2 &= ~readl(audio_io + ESR2_MASK_STATUS_OFFSET); in handle_capture_irq()
514 esr_status4 = readl(audio_io + ESR4_STATUS_OFFSET); in handle_capture_irq()
515 esr_status4 &= ~readl(audio_io + ESR4_MASK_STATUS_OFFSET); in handle_capture_irq()
539 writel(esr_status2, audio_io + ESR2_STATUS_CLR_OFFSET); in handle_capture_irq()
540 writel(esr_status4, audio_io + ESR4_STATUS_CLR_OFFSET); in handle_capture_irq()
542 writel(esr_status4, audio_io + BF_REARM_FULL_MARK_OFFSET); in handle_capture_irq()