Lines Matching refs:t
49 struct spi_transfer t[2]; in p54spi_spi_read() local
57 memset(t, 0, sizeof(t)); in p54spi_spi_read()
59 t[0].tx_buf = &addr; in p54spi_spi_read()
60 t[0].len = sizeof(addr); in p54spi_spi_read()
61 spi_message_add_tail(&t[0], &m); in p54spi_spi_read()
63 t[1].rx_buf = buf; in p54spi_spi_read()
64 t[1].len = len; in p54spi_spi_read()
65 spi_message_add_tail(&t[1], &m); in p54spi_spi_read()
74 struct spi_transfer t[3]; in p54spi_spi_write() local
82 memset(t, 0, sizeof(t)); in p54spi_spi_write()
84 t[0].tx_buf = &addr; in p54spi_spi_write()
85 t[0].len = sizeof(addr); in p54spi_spi_write()
86 spi_message_add_tail(&t[0], &m); in p54spi_spi_write()
88 t[1].tx_buf = buf; in p54spi_spi_write()
89 t[1].len = len & ~1; in p54spi_spi_write()
90 spi_message_add_tail(&t[1], &m); in p54spi_spi_write()
96 t[2].tx_buf = &last_word; in p54spi_spi_write()
97 t[2].len = sizeof(last_word); in p54spi_spi_write()
98 spi_message_add_tail(&t[2], &m); in p54spi_spi_write()