Lines Matching defs:tx_pipe
189 struct glink_smem_pipe *tx_pipe;
220 tx_pipe = devm_kzalloc(dev, sizeof(*tx_pipe), GFP_KERNEL);
221 if (!rx_pipe || !tx_pipe) {
247 tx_pipe->tail = &descs[0];
248 tx_pipe->head = &descs[1];
259 tx_pipe->fifo = qcom_smem_get(remote_pid, SMEM_GLINK_NATIVE_XPRT_FIFO_0,
260 &tx_pipe->native.length);
261 if (IS_ERR(tx_pipe->fifo)) {
263 ret = PTR_ERR(tx_pipe->fifo);
272 tx_pipe->native.avail = glink_smem_tx_avail;
273 tx_pipe->native.write = glink_smem_tx_write;
274 tx_pipe->remote_pid = remote_pid;
277 *tx_pipe->head = 0;
281 &rx_pipe->native, &tx_pipe->native,