Lines Matching refs:spi_bufs

125 	struct spi_buf spi_bufs[2] = { 0 };  in spi_flash_read_status()  local
132 spi_bufs[0].buf = &txdata; in spi_flash_read_status()
133 spi_bufs[0].len = 1U; in spi_flash_read_status()
134 spi_bufs[1].buf = &rxdata; in spi_flash_read_status()
135 spi_bufs[1].len = 1U; in spi_flash_read_status()
138 .buffers = &spi_bufs[0], in spi_flash_read_status()
142 .buffers = &spi_bufs[0], in spi_flash_read_status()
160 struct spi_buf spi_bufs[1] = { 0 }; in spi_flash_write_status() local
168 spi_bufs[0].buf = &txdata; in spi_flash_write_status()
169 spi_bufs[0].len = 2U; in spi_flash_write_status()
172 .buffers = &spi_bufs[0], in spi_flash_write_status()
186 struct spi_buf spi_bufs[1] = { 0 }; in spi_flash_tx_one_byte_cmd() local
191 spi_bufs[0].buf = &txdata; in spi_flash_tx_one_byte_cmd()
192 spi_bufs[0].len = 1U; in spi_flash_tx_one_byte_cmd()
195 .buffers = &spi_bufs[0], in spi_flash_tx_one_byte_cmd()
215 struct spi_buf spi_bufs[2] = { 0 }; in ZTEST_USER() local
223 spi_bufs[0].buf = &txdata; in ZTEST_USER()
224 spi_bufs[0].len = 1U; in ZTEST_USER()
225 spi_bufs[1].buf = &jedec_id; in ZTEST_USER()
226 spi_bufs[1].len = 3U; in ZTEST_USER()
229 .buffers = &spi_bufs[0], in ZTEST_USER()
233 .buffers = &spi_bufs[0], in ZTEST_USER()
254 struct spi_buf spi_bufs[2] = { 0 }; in ZTEST_USER() local
268 spi_bufs[0].buf = &safbuf; in ZTEST_USER()
269 spi_bufs[0].len = 4; in ZTEST_USER()
272 .buffers = &spi_bufs[0], in ZTEST_USER()
296 struct spi_buf spi_bufs[1] = { 0 }; in test_spi_single_write() local
312 spi_bufs[0].buf = &safbuf; in test_spi_single_write()
313 spi_bufs[0].len = 4U + BUF_SIZE; in test_spi_single_write()
316 .buffers = &spi_bufs[0], in test_spi_single_write()
348 struct spi_buf spi_bufs[3] = { 0 }; in ZTEST_USER() local
366 spi_bufs[cnt].buf = &safbuf; in ZTEST_USER()
367 spi_bufs[cnt].len = 4U; in ZTEST_USER()
372 spi_bufs[cnt].buf = NULL; in ZTEST_USER()
373 spi_bufs[cnt].len = spi_clocks_to_bytes(((spi_opcode >> 8) & 0xffU), 1u); in ZTEST_USER()
377 spi_bufs[cnt].buf = &safbuf2; in ZTEST_USER()
378 spi_bufs[cnt].len = BUF_SIZE; in ZTEST_USER()
382 .buffers = &spi_bufs[0], in ZTEST_USER()
387 .buffers = &spi_bufs[0], in ZTEST_USER()
412 struct spi_buf spi_bufs[3] = { 0 }; in ZTEST_USER() local
428 spi_bufs[cnt].buf = &safbuf; in ZTEST_USER()
429 spi_bufs[cnt].len = 4U; in ZTEST_USER()
434 spi_bufs[cnt].buf = NULL; in ZTEST_USER()
435 spi_bufs[cnt].len = spi_clocks_to_bytes(((spi_opcode >> 8) & 0xffU), 1u); in ZTEST_USER()
439 spi_bufs[cnt].buf = &safbuf2; in ZTEST_USER()
440 spi_bufs[cnt].len = BUF_SIZE; in ZTEST_USER()
443 .buffers = &spi_bufs[0], in ZTEST_USER()
448 .buffers = &spi_bufs[cnt], in ZTEST_USER()
477 struct spi_buf spi_bufs[2] = { 0 }; in test_spi_quad_write() local
520 spi_bufs[0].buf = &safbuf; in test_spi_quad_write()
521 spi_bufs[0].len = 4; in test_spi_quad_write()
524 .buffers = &spi_bufs[0], in test_spi_quad_write()
534 spi_bufs[0].buf = &safbuf; in test_spi_quad_write()
535 spi_bufs[0].len = BUF_SIZE_2; in test_spi_quad_write()
560 struct spi_buf spi_bufs[3] = {0}; in ZTEST_USER() local
580 spi_bufs[cnt].buf = &safbuf; in ZTEST_USER()
581 spi_bufs[cnt].len = 4U; in ZTEST_USER()
586 spi_bufs[cnt].buf = NULL; in ZTEST_USER()
587 spi_bufs[cnt].len = spi_clocks_to_bytes(((spi_opcode >> 8) & 0xffU), 1u); in ZTEST_USER()
591 spi_bufs[cnt].buf = &safbuf2; in ZTEST_USER()
592 spi_bufs[cnt].len = BUF_SIZE_2; in ZTEST_USER()
595 .buffers = &spi_bufs[0], in ZTEST_USER()
600 .buffers = &spi_bufs[cnt], in ZTEST_USER()