Lines Matching defs:rx
188 void *rx;
289 * this also flushes both rx and tx fifos
333 * enough words in the rx fifo to get the last interrupt
348 if (!rs->rx) {
353 *(u8 *)rs->rx = (u8)rxw;
355 *(u16 *)rs->rx = (u16)rxw;
357 rs->rx += rs->n_bytes;
393 rs->rx = xfer->rx_buf;
462 rs->rx = xfer->rx_buf;
509 /* rx must be started before tx due to spi instinct */
649 /* Get current dma rx point */
656 rs->rx = rs->xfer->rx_buf;
664 rs->rx += rs->xfer->len - rs->n_bytes * state.residue;
668 /* Get the valid data left in rx fifo and set rs->xfer->len real rx size */
669 if (rs->rx) {
675 *(u8 *)rs->rx = (u8)rxw;
677 *(u16 *)rs->rx = (u16)rxw;
679 rs->rx += rs->n_bytes;
682 rs->xfer->len = (unsigned int)(rs->rx - rs->xfer->rx_buf);
814 if (!of_property_read_u32(pdev->dev.of_node, "rx-sample-delay-ns", &rsd_nsecs)) {
815 /* rx sample delay is expressed in parent clock cycles (max 3) */
876 ctlr->dma_rx = dma_request_chan(rs->dev, "rx");