Lines Matching defs:native
32 #define to_rpm_pipe(p) container_of(p, struct glink_rpm_pipe, native)
48 struct qcom_glink_pipe native;
66 return pipe->native.length - tail + head;
80 if (tail >= pipe->native.length)
81 tail -= pipe->native.length;
83 len = min_t(size_t, count, pipe->native.length - tail);
104 if (tail >= pipe->native.length)
105 tail -= pipe->native.length;
120 return pipe->native.length - head + tail;
131 len = min_t(size_t, count, pipe->native.length - head);
143 if (head >= pipe->native.length)
144 head -= pipe->native.length;
160 /* Header length comes from glink native and is always 4 byte aligned */
228 rx->native.length = size;
235 tx->native.length = size;
291 rx_pipe->native.avail = glink_rpm_rx_avail;
292 rx_pipe->native.peak = glink_rpm_rx_peak;
293 rx_pipe->native.advance = glink_rpm_rx_advance;
294 tx_pipe->native.avail = glink_rpm_tx_avail;
295 tx_pipe->native.write = glink_rpm_tx_write;
302 &rx_pipe->native,
303 &tx_pipe->native,