Lines Matching refs:native
32 #define to_rpm_pipe(p) container_of(p, struct glink_rpm_pipe, native)
48 struct qcom_glink_pipe native; member
66 return pipe->native.length - tail + head; in glink_rpm_rx_avail()
80 if (tail >= pipe->native.length) in glink_rpm_rx_peak()
81 tail -= pipe->native.length; in glink_rpm_rx_peak()
83 len = min_t(size_t, count, pipe->native.length - tail); in glink_rpm_rx_peak()
104 if (tail >= pipe->native.length) in glink_rpm_rx_advance()
105 tail -= pipe->native.length; in glink_rpm_rx_advance()
120 return pipe->native.length - head + tail; in glink_rpm_tx_avail()
131 len = min_t(size_t, count, pipe->native.length - head); in glink_rpm_tx_write_one()
143 if (head >= pipe->native.length) in glink_rpm_tx_write_one()
144 head -= pipe->native.length; in glink_rpm_tx_write_one()
228 rx->native.length = size; in glink_rpm_parse_toc()
235 tx->native.length = size; in glink_rpm_parse_toc()
291 rx_pipe->native.avail = glink_rpm_rx_avail; in glink_rpm_probe()
292 rx_pipe->native.peak = glink_rpm_rx_peak; in glink_rpm_probe()
293 rx_pipe->native.advance = glink_rpm_rx_advance; in glink_rpm_probe()
294 tx_pipe->native.avail = glink_rpm_tx_avail; in glink_rpm_probe()
295 tx_pipe->native.write = glink_rpm_tx_write; in glink_rpm_probe()
302 &rx_pipe->native, in glink_rpm_probe()
303 &tx_pipe->native, in glink_rpm_probe()