Lines Matching refs:tx_len
234 if (ctx->tx_len <= SPI_CMDQ_WR_CMD_LEN_MAX) { in spi_it8xxx2_tx()
235 data->cmdq_data.spi_write_cmd_length = ctx->tx_len; in spi_it8xxx2_tx()
236 memcpy(data->cmdq_data.write_data, ctx->tx_buf, ctx->tx_len); 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()
251 data->transfer_len = ctx->tx_len; in spi_it8xxx2_tx()
281 if (ctx->tx_len <= SPI_CMDQ_WR_CMD_LEN_MAX) { in spi_it8xxx2_tx_rx()
284 data->cmdq_data.spi_write_cmd_length = ctx->tx_len; in spi_it8xxx2_tx_rx()
285 memcpy(data->cmdq_data.write_data, ctx->tx_buf, ctx->tx_len); in spi_it8xxx2_tx_rx()
287 spi_context_update_tx(ctx, 1, ctx->tx_len); in spi_it8xxx2_tx_rx()
295 data->transfer_len = ctx->tx_len; in spi_it8xxx2_tx_rx()
302 data->cmdq_data.data_length_lb = BYTE_0(ctx->tx_len - SPI_CMDQ_WR_CMD_LEN_MAX); in spi_it8xxx2_tx_rx()
303 data->cmdq_data.data_length_hb = BYTE_1(ctx->tx_len - SPI_CMDQ_WR_CMD_LEN_MAX); in spi_it8xxx2_tx_rx()
310 spi_context_update_tx(ctx, 1, ctx->tx_len); in spi_it8xxx2_tx_rx()
313 data->transfer_len = ctx->tx_len; in spi_it8xxx2_tx_rx()