Lines Matching refs:cmd_bytes
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()
570 dev_data->cmd_bytes); in mipi_dbi_lcdic_write_cmd()
573 (dev_data->cmd_bytes < 4)) { in mipi_dbi_lcdic_write_cmd()
780 data->xfer_bytes -= data->cmd_bytes; in mipi_dbi_lcdic_isr()
781 data->xfer_buf += data->cmd_bytes; in mipi_dbi_lcdic_isr()
792 data->cmd_bytes = MIN(data->xfer_bytes, LCDIC_MAX_XFER); in mipi_dbi_lcdic_isr()
796 data->cmd_bytes); in mipi_dbi_lcdic_isr()
797 if (data->cmd_bytes & 0x3) { in mipi_dbi_lcdic_isr()
803 data->cmd_bytes); in mipi_dbi_lcdic_isr()
807 (data->cmd_bytes < 4)) { in mipi_dbi_lcdic_isr()
818 data->cmd_bytes, in mipi_dbi_lcdic_isr()
822 data->cmd_bytes -= bytes_written; in mipi_dbi_lcdic_isr()
832 data->cmd_bytes, in mipi_dbi_lcdic_isr()
836 data->cmd_bytes -= bytes_written; in mipi_dbi_lcdic_isr()