Lines Matching defs:native
51 struct qcom_glink_pipe native;
61 #define to_smem_pipe(p) container_of(p, struct glink_smem_pipe, native)
82 pipe->native.length = len;
89 return pipe->native.length - tail + head;
103 if (tail >= pipe->native.length)
104 tail -= pipe->native.length;
106 len = min_t(size_t, count, pipe->native.length - tail);
123 if (tail >= pipe->native.length)
124 tail -= pipe->native.length;
140 avail = pipe->native.length - head + tail;
158 len = min_t(size_t, count, pipe->native.length - head);
166 if (head >= pipe->native.length)
167 head -= pipe->native.length;
186 if (head >= pipe->native.length)
187 head -= pipe->native.length;
300 &tx_pipe->native.length);
326 rx_pipe->native.avail = glink_smem_rx_avail;
327 rx_pipe->native.peek = glink_smem_rx_peek;
328 rx_pipe->native.advance = glink_smem_rx_advance;
331 tx_pipe->native.avail = glink_smem_tx_avail;
332 tx_pipe->native.write = glink_smem_tx_write;
333 tx_pipe->native.kick = glink_smem_tx_kick;
340 &rx_pipe->native, &tx_pipe->native,