Lines Matching defs:tx_pipe
224 struct glink_smem_pipe *tx_pipe;
260 tx_pipe = devm_kzalloc(dev, sizeof(*tx_pipe), GFP_KERNEL);
261 if (!rx_pipe || !tx_pipe) {
287 tx_pipe->tail = &descs[0];
288 tx_pipe->head = &descs[1];
299 tx_pipe->fifo = qcom_smem_get(remote_pid, SMEM_GLINK_NATIVE_XPRT_FIFO_0,
300 &tx_pipe->native.length);
301 if (IS_ERR(tx_pipe->fifo)) {
303 ret = PTR_ERR(tx_pipe->fifo);
330 tx_pipe->smem = smem;
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;
336 *tx_pipe->head = 0;
340 &rx_pipe->native, &tx_pipe->native,