Lines Matching refs:word
3 * simple SPI master driver. Two do polled word-at-a-time I/O:
6 * expanding the per-word routines from the inline templates below.
48 u32 word, u8 bits)
53 for (word <<= (32 - bits); likely(bits); bits--) {
57 setmosi(spi, word & (1 << 31));
64 word <<= 1;
66 word |= getmiso(spi);
69 return word;
75 u32 word, u8 bits)
80 for (word <<= (32 - bits); likely(bits); bits--) {
85 setmosi(spi, word & (1 << 31));
92 word <<= 1;
94 word |= getmiso(spi);
96 return word;