Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/omap/
Dmcbsp.c480 u16 buffstat; in omap_mcbsp_get_tx_delay() local
486 buffstat = MCBSP_READ(mcbsp, XBUFFSTAT); in omap_mcbsp_get_tx_delay()
489 return mcbsp->pdata->buffer_size - buffstat; in omap_mcbsp_get_tx_delay()
498 u16 buffstat, threshold; in omap_mcbsp_get_rx_delay() local
504 buffstat = MCBSP_READ(mcbsp, RBUFFSTAT); in omap_mcbsp_get_rx_delay()
509 if (threshold <= buffstat) in omap_mcbsp_get_rx_delay()
512 return threshold - buffstat; in omap_mcbsp_get_rx_delay()