Lines Matching refs:native
33 #define to_rpm_pipe(p) container_of(p, struct glink_rpm_pipe, native)
49 struct qcom_glink_pipe native; member
79 return pipe->native.length - tail + head; in glink_rpm_rx_avail()
93 if (tail >= pipe->native.length) in glink_rpm_rx_peek()
94 tail -= pipe->native.length; in glink_rpm_rx_peek()
96 len = min_t(size_t, count, pipe->native.length - tail); in glink_rpm_rx_peek()
117 if (tail >= pipe->native.length) in glink_rpm_rx_advance()
118 tail -= pipe->native.length; in glink_rpm_rx_advance()
133 return pipe->native.length - head + tail; in glink_rpm_tx_avail()
144 len = min_t(size_t, count, pipe->native.length - head); in glink_rpm_tx_write_one()
156 if (head >= pipe->native.length) in glink_rpm_tx_write_one()
157 head -= pipe->native.length; in glink_rpm_tx_write_one()
259 rx->native.length = size; in glink_rpm_parse_toc()
266 tx->native.length = size; in glink_rpm_parse_toc()
335 rpm->rx_pipe.native.avail = glink_rpm_rx_avail; in glink_rpm_probe()
336 rpm->rx_pipe.native.peek = glink_rpm_rx_peek; in glink_rpm_probe()
337 rpm->rx_pipe.native.advance = glink_rpm_rx_advance; in glink_rpm_probe()
338 rpm->tx_pipe.native.avail = glink_rpm_tx_avail; in glink_rpm_probe()
339 rpm->tx_pipe.native.write = glink_rpm_tx_write; in glink_rpm_probe()
340 rpm->tx_pipe.native.kick = glink_rpm_tx_kick; in glink_rpm_probe()
347 &rpm->rx_pipe.native, in glink_rpm_probe()
348 &rpm->tx_pipe.native, in glink_rpm_probe()