Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
Dcros_ec_codec.c61 uint32_t wov_rp, wov_wp; member
462 return ((priv->wov_wp + 1) % sizeof(priv->wov_buf)) == priv->wov_rp; in wov_queue_full()
467 if (priv->wov_wp >= priv->wov_rp) in wov_queue_size()
468 return priv->wov_wp - priv->wov_rp; in wov_queue_size()
470 return sizeof(priv->wov_buf) - priv->wov_rp + priv->wov_wp; in wov_queue_size()
480 if (priv->wov_wp >= priv->wov_rp) in wov_queue_dequeue()
481 req = min(req, (size_t)priv->wov_wp - priv->wov_rp); in wov_queue_dequeue()
527 if (priv->wov_wp >= priv->wov_rp) in wov_queue_enqueue()
528 req = sizeof(priv->wov_buf) - priv->wov_wp; in wov_queue_enqueue()
531 req = priv->wov_rp - priv->wov_wp - 1; in wov_queue_enqueue()
[all …]