Lines Matching refs:word
68 u32 word, u8 bits) in bitbang_txrx_be_cpha0_lsb() argument
78 setmosi(data, (word & 1)); in bitbang_txrx_be_cpha0_lsb()
83 word >>= 1; in bitbang_txrx_be_cpha0_lsb()
85 word |= (getmiso(data) << 31); in bitbang_txrx_be_cpha0_lsb()
93 word >>= shift; in bitbang_txrx_be_cpha0_lsb()
94 return word; in bitbang_txrx_be_cpha0_lsb()
106 u8 word = 0; in spi_lp8841_rtc_transfer_one() local
113 word = *tx++; in spi_lp8841_rtc_transfer_one()
115 SPI_CONTROLLER_NO_RX, word, 8); in spi_lp8841_rtc_transfer_one()
122 word = bitbang_txrx_be_cpha0_lsb(data, 1, 0, in spi_lp8841_rtc_transfer_one()
123 SPI_CONTROLLER_NO_TX, word, 8); in spi_lp8841_rtc_transfer_one()
124 *rx++ = word; in spi_lp8841_rtc_transfer_one()