Lines Matching defs:word
73 uint32_t word = 0;
83 word = *spi_st->tx_ptr++;
85 word = *spi_st->tx_ptr++;
86 word = *spi_st->tx_ptr++ | (word << 8);
89 writel_relaxed(word, spi_st->base + SSC_TBUF);
97 uint32_t word = 0;
105 word = readl_relaxed(spi_st->base + SSC_RBUF);
109 *spi_st->rx_ptr++ = (uint8_t)word;
111 *spi_st->rx_ptr++ = (word >> 8);
112 *spi_st->rx_ptr++ = word & 0xff;
131 * Anything greater than 8 bits-per-word requires 2
132 * bytes-per-word in the RX/TX buffers
139 * If transfer is even-length, and 8 bits-per-word, then
140 * implement as half-length 16 bits-per-word transfer
145 /* Set SSC_CTL to 16 bits-per-word */