Lines Matching defs:native
33 #define to_rpm_pipe(p) container_of(p, struct glink_rpm_pipe, native)
49 struct qcom_glink_pipe native;
79 return pipe->native.length - tail + head;
93 if (tail >= pipe->native.length)
94 tail -= pipe->native.length;
96 len = min_t(size_t, count, pipe->native.length - tail);
117 if (tail >= pipe->native.length)
118 tail -= pipe->native.length;
133 return pipe->native.length - head + tail;
144 len = min_t(size_t, count, pipe->native.length - head);
156 if (head >= pipe->native.length)
157 head -= pipe->native.length;
173 /* Header length comes from glink native and is always 4 byte aligned */
259 rx->native.length = size;
266 tx->native.length = size;
335 rpm->rx_pipe.native.avail = glink_rpm_rx_avail;
336 rpm->rx_pipe.native.peek = glink_rpm_rx_peek;
337 rpm->rx_pipe.native.advance = glink_rpm_rx_advance;
338 rpm->tx_pipe.native.avail = glink_rpm_tx_avail;
339 rpm->tx_pipe.native.write = glink_rpm_tx_write;
340 rpm->tx_pipe.native.kick = glink_rpm_tx_kick;
347 &rpm->rx_pipe.native,
348 &rpm->tx_pipe.native,