Searched refs:cmd_bytes (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_nxp_lcdic.c | 100 uint32_t cmd_bytes; member 171 uint32_t aligned_len = data->cmd_bytes & (~0x3); in mipi_dbi_lcdic_start_dma() 172 uint32_t unaligned_len = data->cmd_bytes & 0x3; in mipi_dbi_lcdic_start_dma() 455 dev_data->cmd_bytes = MIN(desc->buf_size, LCDIC_MAX_XFER); in mipi_dbi_lcdic_write_display() 461 if (dev_data->cmd_bytes & 0x3) { in mipi_dbi_lcdic_write_display() 464 dev_data->cmd_bytes); in mipi_dbi_lcdic_write_display() 485 dev_data->cmd_bytes); in mipi_dbi_lcdic_write_display() 556 dev_data->cmd_bytes = MIN(data_len, LCDIC_MAX_XFER); in mipi_dbi_lcdic_write_cmd() 562 if (dev_data->cmd_bytes & 0x3) { in mipi_dbi_lcdic_write_cmd() 565 dev_data->cmd_bytes); in mipi_dbi_lcdic_write_cmd() [all …]
|
/Zephyr-latest/drivers/spi/ |
D | spi_mchp_mss_qspi.c | 228 uint32_t cmd_bytes, bool x8) in mss_qspi_config_frames() argument 236 if (cmd_bytes) { in mss_qspi_config_frames() 237 skips |= ((cmd_bytes << MSS_QSPI_FRAMES_CMDBYTES) & MSS_QSPI_FRAMES_CMDBYTES_MSK); in mss_qspi_config_frames() 260 uint32_t total_byte_cnt, cmd_bytes; in mss_qspi_transmit() local 262 cmd_bytes = spi_context_longest_current_buf(ctx); in mss_qspi_transmit() 292 if (total_byte_cnt - cmd_bytes) { in mss_qspi_transmit() 294 mss_qspi_transmit_x8(dev, cmd_bytes); in mss_qspi_transmit() 295 mss_qspi_transmit_x32(dev, (total_byte_cnt - cmd_bytes)); in mss_qspi_transmit() 298 mss_qspi_config_frames(dev, total_byte_cnt, cmd_bytes, true); in mss_qspi_transmit() 299 mss_qspi_transmit_x8(dev, cmd_bytes); in mss_qspi_transmit() [all …]
|