Lines Matching defs:ustmsc
505 * ustmsc is a UST/MSC pair (Unadjusted System Time/Media Stream Counter).
510 typedef struct ustmsc {
745 static void li_read_USTMSC(dma_chan_t *chan, ustmsc_t *ustmsc)
768 ustmsc->msc = li_readl(lith, desc->mscreg);
775 ustmsc->ust = ((unsigned long long) now_high0 << 32 | chan_ust);
1760 ustmsc_t ustmsc;
1763 li_read_USTMSC(&rport->chan, &ustmsc);
1764 rport->MSC_offset = ustmsc.msc;
1950 ustmsc_t ustmsc;
2010 li_read_USTMSC(&wport->chan, &ustmsc);
2012 wport->MSC_offset = ustmsc.msc - wport->byte_count / wport->frame_size;
2698 ustmsc_t ustmsc;
2701 li_read_USTMSC(&rport->chan, &ustmsc);
2702 info.bytes = ustmsc.msc - rport->MSC_offset;
2722 ustmsc_t ustmsc;
2725 li_read_USTMSC(&wport->chan, &ustmsc);
2726 info.bytes = ustmsc.msc - wport->MSC_offset;
2751 ustmsc_t ustmsc;
2755 li_read_USTMSC(&wport->chan, &ustmsc);
2756 hwframes = ustmsc.msc - wport->MSC_offset;