Lines Matching defs:native
37 struct qcom_glink_pipe native;
47 #define to_smem_pipe(p) container_of(p, struct glink_smem_pipe, native)
67 pipe->native.length = len;
74 return pipe->native.length - tail + head;
88 if (tail >= pipe->native.length)
89 tail -= pipe->native.length;
91 len = min_t(size_t, count, pipe->native.length - tail);
108 if (tail >= pipe->native.length)
109 tail -= pipe->native.length;
125 avail = pipe->native.length - head + tail;
143 len = min_t(size_t, count, pipe->native.length - head);
151 if (head >= pipe->native.length)
152 head -= pipe->native.length;
171 if (head >= pipe->native.length)
172 head -= pipe->native.length;
260 &tx_pipe->native.length);
267 rx_pipe->native.avail = glink_smem_rx_avail;
268 rx_pipe->native.peak = glink_smem_rx_peak;
269 rx_pipe->native.advance = glink_smem_rx_advance;
272 tx_pipe->native.avail = glink_smem_tx_avail;
273 tx_pipe->native.write = glink_smem_tx_write;
281 &rx_pipe->native, &tx_pipe->native,