Lines Matching refs:ustmsc
522 typedef struct ustmsc { struct
757 static void li_read_USTMSC(dma_chan_t *chan, ustmsc_t *ustmsc) in li_read_USTMSC() argument
780 ustmsc->msc = li_readl(lith, desc->mscreg); in li_read_USTMSC()
787 ustmsc->ust = ((unsigned long long) now_high0 << 32 | chan_ust); in li_read_USTMSC()
1784 ustmsc_t ustmsc; in pcm_setup() local
1787 li_read_USTMSC(&rport->chan, &ustmsc); in pcm_setup()
1788 rport->MSC_offset = ustmsc.msc; in pcm_setup()
1974 ustmsc_t ustmsc; in pcm_output() local
2034 li_read_USTMSC(&wport->chan, &ustmsc); in pcm_output()
2036 wport->MSC_offset = ustmsc.msc - wport->byte_count / wport->frame_size; in pcm_output()
2714 ustmsc_t ustmsc; in vwsnd_audio_do_ioctl() local
2717 li_read_USTMSC(&rport->chan, &ustmsc); in vwsnd_audio_do_ioctl()
2718 info.bytes = ustmsc.msc - rport->MSC_offset; in vwsnd_audio_do_ioctl()
2736 ustmsc_t ustmsc; in vwsnd_audio_do_ioctl() local
2739 li_read_USTMSC(&wport->chan, &ustmsc); in vwsnd_audio_do_ioctl()
2740 info.bytes = ustmsc.msc - wport->MSC_offset; in vwsnd_audio_do_ioctl()
2763 ustmsc_t ustmsc; in vwsnd_audio_do_ioctl() local
2767 li_read_USTMSC(&wport->chan, &ustmsc); in vwsnd_audio_do_ioctl()
2768 hwframes = ustmsc.msc - wport->MSC_offset; in vwsnd_audio_do_ioctl()