Lines Matching refs:t
148 struct spi_transfer t[3]; in __read_reg() local
151 memset(t, 0, sizeof(t)); in __read_reg()
153 t[0].tx_buf = &cmd; in __read_reg()
154 t[0].len = 2; in __read_reg()
155 t[0].bits_per_word = 12; in __read_reg()
156 spi_message_add_tail(&t[0], &m); in __read_reg()
158 t[1].rx_buf = ∈ in __read_reg()
159 t[1].len = 2; in __read_reg()
160 t[1].bits_per_word = 16; in __read_reg()
161 spi_message_add_tail(&t[1], &m); in __read_reg()
163 t[2].rx_buf = &status; in __read_reg()
164 t[2].len = 1; in __read_reg()
165 t[2].bits_per_word = 4; in __read_reg()
166 spi_message_add_tail(&t[2], &m); in __read_reg()
201 struct spi_transfer t[3]; in __write_reg() local
204 memset(t, 0, sizeof(t)); in __write_reg()
206 t[0].tx_buf = &cmd; in __write_reg()
207 t[0].len = 2; in __write_reg()
208 t[0].bits_per_word = 12; in __write_reg()
209 spi_message_add_tail(&t[0], &m); in __write_reg()
211 t[1].tx_buf = &out; in __write_reg()
212 t[1].len = 2; in __write_reg()
213 t[1].bits_per_word = 16; in __write_reg()
214 spi_message_add_tail(&t[1], &m); in __write_reg()
216 t[2].rx_buf = &status; in __write_reg()
217 t[2].len = 1; in __write_reg()
218 t[2].bits_per_word = 4; in __write_reg()
219 spi_message_add_tail(&t[2], &m); in __write_reg()