Home
last modified time | relevance | path

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

/arch/powerpc/platforms/powernv/
Dopal-msglog.c27 __be32 out_pos; member
42 uint32_t out_pos, avail; in opal_msglog_read() local
47 out_pos = be32_to_cpu(ACCESS_ONCE(mc->out_pos)); in opal_msglog_read()
58 if (out_pos & MEMCONS_OUT_POS_WRAP) { in opal_msglog_read()
60 out_pos &= MEMCONS_OUT_POS_MASK; in opal_msglog_read()
61 avail = be32_to_cpu(mc->obuf_size) - out_pos; in opal_msglog_read()
64 conbuf + out_pos, avail); in opal_msglog_read()
79 if (out_pos > be32_to_cpu(mc->obuf_size)) { in opal_msglog_read()
84 ret = memory_read_from_buffer(to, count, &pos, conbuf, out_pos); in opal_msglog_read()