Lines Matching refs:spi_tx_buf
43 u8 spi_tx_buf[2 + 8]; /* Cannot use stack area for SPI (dma-safe memory) */ member
137 .tx_buf = &peb2466->spi_tx_buf, in peb2466_write_byte()
141 peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_W; in peb2466_write_byte()
142 peb2466->spi_tx_buf[1] = val; in peb2466_write_byte()
145 peb2466->spi_tx_buf[0], peb2466->spi_tx_buf[1]); in peb2466_write_byte()
153 .tx_buf = &peb2466->spi_tx_buf, in peb2466_read_byte()
159 peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_R; in peb2466_read_byte()
168 peb2466->spi_tx_buf[0], peb2466->spi_rx_buf[1]); in peb2466_read_byte()
175 peb2466->spi_tx_buf[0], *val); in peb2466_read_byte()
183 .tx_buf = &peb2466->spi_tx_buf, in peb2466_write_buf()
190 peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_W; in peb2466_write_buf()
191 memcpy(&peb2466->spi_tx_buf[1], buf, len); in peb2466_write_buf()
194 peb2466->spi_tx_buf[0], len, len, &peb2466->spi_tx_buf[1]); in peb2466_write_buf()