Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_nxp_lcdic.c654 uint32_t lcdic_freq, ttew, reg; in mipi_dbi_lcdic_configure_te() local
674 ttew = lcdic_freq / (1 << config->timer0_ratio); in mipi_dbi_lcdic_configure_te()
675 ttew *= delay_us; in mipi_dbi_lcdic_configure_te()
676 ttew /= (1 << config->timer1_ratio); in mipi_dbi_lcdic_configure_te()
677 ttew /= USEC_PER_SEC; in mipi_dbi_lcdic_configure_te()
680 if ((ttew == 0) && (delay_us != 0)) { in mipi_dbi_lcdic_configure_te()
686 reg |= LCDIC_TE_CTRL_TTEW(ttew); in mipi_dbi_lcdic_configure_te()