Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/ti/
H A Domap-mcbsp.c263 u16 buffstat; in omap_mcbsp_get_tx_delay() local
266 buffstat = MCBSP_READ(mcbsp, XBUFFSTAT); in omap_mcbsp_get_tx_delay()
269 return mcbsp->pdata->buffer_size - buffstat; in omap_mcbsp_get_tx_delay()
278 u16 buffstat, threshold; in omap_mcbsp_get_rx_delay() local
281 buffstat = MCBSP_READ(mcbsp, RBUFFSTAT); in omap_mcbsp_get_rx_delay()
286 if (threshold <= buffstat) in omap_mcbsp_get_rx_delay()
289 return threshold - buffstat; in omap_mcbsp_get_rx_delay()