Home
last modified time | relevance | path

Searched refs:SPI_CMDQ_WR_CMD_LEN_MAX (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_it8xxx2.c27 #define SPI_CMDQ_WR_CMD_LEN_MAX 16 macro
87 uint8_t write_data[SPI_CMDQ_WR_CMD_LEN_MAX];
234 if (ctx->tx_len <= SPI_CMDQ_WR_CMD_LEN_MAX) { in spi_it8xxx2_tx()
242 data->cmdq_data.spi_write_cmd_length = SPI_CMDQ_WR_CMD_LEN_MAX; in spi_it8xxx2_tx()
243 memcpy(data->cmdq_data.write_data, ctx->tx_buf, SPI_CMDQ_WR_CMD_LEN_MAX); in spi_it8xxx2_tx()
244 data->cmdq_data.data_length_lb = BYTE_0(ctx->tx_len - SPI_CMDQ_WR_CMD_LEN_MAX); in spi_it8xxx2_tx()
245 data->cmdq_data.data_length_hb = BYTE_1(ctx->tx_len - SPI_CMDQ_WR_CMD_LEN_MAX); in spi_it8xxx2_tx()
246 mem_address = (uint32_t)(ctx->tx_buf + SPI_CMDQ_WR_CMD_LEN_MAX) - SRAM_BASE_ADDR; in spi_it8xxx2_tx()
281 if (ctx->tx_len <= SPI_CMDQ_WR_CMD_LEN_MAX) { in spi_it8xxx2_tx_rx()
300 data->cmdq_data.spi_write_cmd_length = SPI_CMDQ_WR_CMD_LEN_MAX; in spi_it8xxx2_tx_rx()
[all …]