Lines Matching refs:tail
51 void __iomem *tail;
73 unsigned int tail;
76 tail = readl(pipe->tail);
78 if (head < tail)
79 return pipe->native.length - tail + head;
81 return head - tail;
88 unsigned int tail;
91 tail = readl(pipe->tail);
92 tail += offset;
93 if (tail >= pipe->native.length)
94 tail -= pipe->native.length;
96 len = min_t(size_t, count, pipe->native.length - tail);
98 __ioread32_copy(data, pipe->fifo + tail,
112 unsigned int tail;
114 tail = readl(pipe->tail);
116 tail += count;
117 if (tail >= pipe->native.length)
118 tail -= pipe->native.length;
120 writel(tail, pipe->tail);
127 unsigned int tail;
130 tail = readl(pipe->tail);
132 if (tail <= head)
133 return pipe->native.length - head + tail;
135 return tail - head;
178 * Move the unaligned tail of the message to the padding chunk, to
261 rx->tail = msg_ram + offset;
268 tx->tail = msg_ram + offset;
343 writel(0, rpm->rx_pipe.tail);