Searched refs:spi_bufs (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/boards/mec172xevb_assy6906/qspi/src/ |
D | main.c | 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() [all …]
|
/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/qmspi_ldma/src/ |
D | main.c | 235 struct spi_buf spi_bufs[3] = {0}; in spi_flash_read_fd_sync() local 256 spi_bufs[cnt].buf = txdata; in spi_flash_read_fd_sync() 257 spi_bufs[cnt++].len = param_len + 1; in spi_flash_read_fd_sync() 260 spi_bufs[cnt].buf = NULL; /* 8 clocks with output tri-stated */ in spi_flash_read_fd_sync() 261 spi_bufs[cnt++].len = 1; in spi_flash_read_fd_sync() 264 spi_bufs[cnt].buf = data; in spi_flash_read_fd_sync() 265 spi_bufs[cnt++].len = datasz; in spi_flash_read_fd_sync() 268 .buffers = &spi_bufs[0], in spi_flash_read_fd_sync() 272 .buffers = &spi_bufs[0], in spi_flash_read_fd_sync() 290 struct spi_buf spi_bufs[3] = {0}; in spi_flash_read_hd_sync() local [all …]
|
/Zephyr-latest/soc/microchip/mec/common/spigen/ |
D | mec_spi_gen.py | 430 spi_bufs = [] 431 spi_bufs.append(("TAG", TAG_SPI_LOC, tag)) 432 spi_bufs.append(("HEADER", HDR_SPI_LOC, header)) 433 spi_bufs.append(("PAYLOAD", PLD_SPI_LOC, indata)) 434 spi_bufs.append(("EC_INFO", ec_info_loc, ec_info_block)) 435 spi_bufs.append(("COSIG", cosig_loc, cosig)) 436 spi_bufs.append(("TRAILER", trailer_loc, trailer)) 438 spi_bufs.sort(key=lambda x: x[1]) 442 for sb in spi_bufs: 452 for sb in spi_bufs:
|