![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | DSI_TBIT_Factorized(Freq) (((1000) * (1000))/(Freq)) |
#define | DSI_TBIT(Freq) (DSI_TBIT_Factorized(Freq)/(1000)) |
#define | DSI_TBYTE(Freq) ((DSI_TBIT_Factorized(Freq)) * (8)) |
#define | DSI_PHY_TIMING_DIV(X, Freq) ((X*1000) / (DSI_TBYTE(Freq))) |
#define | DSI_THSTRAIL_VAL(Freq) (MAX(((8) * (DSI_TBIT(Freq))), ((60) + ((4) * (DSI_TBIT(Freq)))))) |
Functions | |
int | mipi_dphy_set_timing (struct tegra_dsi *dsi) |
#define DSI_PHY_TIMING_DIV | ( | X, | |
Freq | |||
) | ((X*1000) / (DSI_TBYTE(Freq))) |
Definition at line 16 of file mipi-phy.h.
#define DSI_TBIT | ( | Freq | ) | (DSI_TBIT_Factorized(Freq)/(1000)) |
Definition at line 10 of file mipi-phy.h.
#define DSI_TBIT_Factorized | ( | Freq | ) | (((1000) * (1000))/(Freq)) |
Definition at line 9 of file mipi-phy.h.
#define DSI_TBYTE | ( | Freq | ) | ((DSI_TBIT_Factorized(Freq)) * (8)) |
Definition at line 15 of file mipi-phy.h.
Definition at line 22 of file mipi-phy.h.
int mipi_dphy_set_timing | ( | struct tegra_dsi * | dsi | ) |
Definition at line 14 of file mipi-phy.c.
References tegra_dsi::clk_rate, DSI_BTA_TIMING, DSI_PHY_TIMING_0, DSI_PHY_TIMING_1, DSI_PHY_TIMING_2, DSI_PHY_TIMING_DIV, DSI_TBIT, DSI_THSTRAIL_VAL, tegra_dsi_writel(), and value.
Referenced by tegra_dsi_set_phy_timing().