Home
last modified time | relevance | path

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

/linux/sound/soc/sof/
H A Dipc3-dtrace.c30 u32 host_offset; member
252 u32 host_offset = READ_ONCE(priv->host_offset); in sof_dtrace_set_host_offset() local
254 if (host_offset != new_offset) { in sof_dtrace_set_host_offset()
256 u32 ret = cmpxchg(&priv->host_offset, host_offset, new_offset); in sof_dtrace_set_host_offset()
258 if (ret == host_offset) in sof_dtrace_set_host_offset()
269 loff_t host_offset = READ_ONCE(priv->host_offset); in sof_dtrace_avail() local
276 if (host_offset < pos) in sof_dtrace_avail()
280 if (host_offset > pos) in sof_dtrace_avail()
281 return host_offset - pos; in sof_dtrace_avail()
574 sof_dtrace_set_host_offset(priv, posn->host_offset)) in ipc3_dtrace_posn_update()
/linux/include/sound/sof/
H A Dtrace.h41 uint32_t host_offset; /* Offset of DMA host buffer */ member