Home
last modified time | relevance | path

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

/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/
H A Dmipi_tx_hi35xx.c130 int dataRateClk; in MipiTxDrvGetPhyPllSet1Set5() local
134 dataRateClk = (int)(phyDataRate + MIPI_TX_REF_CLK - 1) / MIPI_TX_REF_CLK; in MipiTxDrvGetPhyPllSet1Set5()
148 int_multiplication = (int64_t)(dataRateClk * pllRef); in MipiTxDrvGetPhyPllSet1Set5()
153 if (((dataRateClk * pllRef) % 2) != 0) { /* 2: pll */ in MipiTxDrvGetPhyPllSet1Set5()
155 *pllSet5 = (unsigned char)((dataRateClk * pllRef - 1) / 2); /* 2: pllRef sel */ in MipiTxDrvGetPhyPllSet1Set5()
158 *pllSet5 = (unsigned char)(dataRateClk * pllRef / 2 - 1); /* 2: pllRef sel */ in MipiTxDrvGetPhyPllSet1Set5()