Lines Matching refs:tail
50 void __iomem *tail;
60 unsigned int tail;
63 tail = readl(pipe->tail);
65 if (head < tail)
66 return pipe->native.length - tail + head;
68 return head - tail;
75 unsigned int tail;
78 tail = readl(pipe->tail);
79 tail += offset;
80 if (tail >= pipe->native.length)
81 tail -= pipe->native.length;
83 len = min_t(size_t, count, pipe->native.length - tail);
85 __ioread32_copy(data, pipe->fifo + tail,
99 unsigned int tail;
101 tail = readl(pipe->tail);
103 tail += count;
104 if (tail >= pipe->native.length)
105 tail -= pipe->native.length;
107 writel(tail, pipe->tail);
114 unsigned int tail;
117 tail = readl(pipe->tail);
119 if (tail <= head)
120 return pipe->native.length - head + tail;
122 return tail - head;
165 * Move the unaligned tail of the message to the padding chunk, to
230 rx->tail = msg_ram + offset;
237 tx->tail = msg_ram + offset;
298 writel(0, rx_pipe->tail);