Lines Matching refs:word
69 u32 word, u8 bits) in bitbang_txrx_be_cpha0_lsb() argument
79 setmosi(data, (word & 1)); in bitbang_txrx_be_cpha0_lsb()
84 word >>= 1; in bitbang_txrx_be_cpha0_lsb()
86 word |= (getmiso(data) << 31); in bitbang_txrx_be_cpha0_lsb()
94 word >>= shift; in bitbang_txrx_be_cpha0_lsb()
95 return word; in bitbang_txrx_be_cpha0_lsb()
107 u8 word = 0; in spi_lp8841_rtc_transfer_one() local
114 word = *tx++; in spi_lp8841_rtc_transfer_one()
116 SPI_MASTER_NO_RX, word, 8); in spi_lp8841_rtc_transfer_one()
123 word = bitbang_txrx_be_cpha0_lsb(data, 1, 0, in spi_lp8841_rtc_transfer_one()
124 SPI_MASTER_NO_TX, word, 8); in spi_lp8841_rtc_transfer_one()
125 *rx++ = word; in spi_lp8841_rtc_transfer_one()