Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
exynos_mipi_dsi_lowlevel.h File Reference

Go to the source code of this file.

Functions

void exynos_mipi_dsi_func_reset (struct mipi_dsim_device *dsim)
 
void exynos_mipi_dsi_sw_reset (struct mipi_dsim_device *dsim)
 
void exynos_mipi_dsi_sw_reset_release (struct mipi_dsim_device *dsim)
 
int exynos_mipi_dsi_get_sw_reset_release (struct mipi_dsim_device *dsim)
 
void exynos_mipi_dsi_set_interrupt_mask (struct mipi_dsim_device *dsim, unsigned int mode, unsigned int mask)
 
void exynos_mipi_dsi_set_data_lane_number (struct mipi_dsim_device *dsim, unsigned int count)
 
void exynos_mipi_dsi_init_fifo_pointer (struct mipi_dsim_device *dsim, unsigned int cfg)
 
void exynos_mipi_dsi_set_phy_tunning (struct mipi_dsim_device *dsim, unsigned int value)
 
void exynos_mipi_dsi_set_main_stand_by (struct mipi_dsim_device *dsim, unsigned int enable)
 
void exynos_mipi_dsi_set_main_disp_resol (struct mipi_dsim_device *dsim, unsigned int width_resol, unsigned int height_resol)
 
void exynos_mipi_dsi_set_main_disp_vporch (struct mipi_dsim_device *dsim, unsigned int cmd_allow, unsigned int vfront, unsigned int vback)
 
void exynos_mipi_dsi_set_main_disp_hporch (struct mipi_dsim_device *dsim, unsigned int front, unsigned int back)
 
void exynos_mipi_dsi_set_main_disp_sync_area (struct mipi_dsim_device *dsim, unsigned int vert, unsigned int hori)
 
void exynos_mipi_dsi_set_sub_disp_resol (struct mipi_dsim_device *dsim, unsigned int vert, unsigned int hori)
 
void exynos_mipi_dsi_init_config (struct mipi_dsim_device *dsim)
 
void exynos_mipi_dsi_display_config (struct mipi_dsim_device *dsim, struct mipi_dsim_config *dsim_config)
 
void exynos_mipi_dsi_enable_lane (struct mipi_dsim_device *dsim, unsigned int lane, unsigned int enable)
 
void exynos_mipi_dsi_enable_afc (struct mipi_dsim_device *dsim, unsigned int enable, unsigned int afc_code)
 
void exynos_mipi_dsi_enable_pll_bypass (struct mipi_dsim_device *dsim, unsigned int enable)
 
void exynos_mipi_dsi_set_pll_pms (struct mipi_dsim_device *dsim, unsigned int p, unsigned int m, unsigned int s)
 
void exynos_mipi_dsi_pll_freq_band (struct mipi_dsim_device *dsim, unsigned int freq_band)
 
void exynos_mipi_dsi_pll_freq (struct mipi_dsim_device *dsim, unsigned int pre_divider, unsigned int main_divider, unsigned int scaler)
 
void exynos_mipi_dsi_pll_stable_time (struct mipi_dsim_device *dsim, unsigned int lock_time)
 
void exynos_mipi_dsi_enable_pll (struct mipi_dsim_device *dsim, unsigned int enable)
 
void exynos_mipi_dsi_set_byte_clock_src (struct mipi_dsim_device *dsim, unsigned int src)
 
void exynos_mipi_dsi_enable_byte_clock (struct mipi_dsim_device *dsim, unsigned int enable)
 
void exynos_mipi_dsi_set_esc_clk_prs (struct mipi_dsim_device *dsim, unsigned int enable, unsigned int prs_val)
 
void exynos_mipi_dsi_enable_esc_clk_on_lane (struct mipi_dsim_device *dsim, unsigned int lane_sel, unsigned int enable)
 
void exynos_mipi_dsi_force_dphy_stop_state (struct mipi_dsim_device *dsim, unsigned int enable)
 
unsigned int exynos_mipi_dsi_is_lane_state (struct mipi_dsim_device *dsim)
 
void exynos_mipi_dsi_set_stop_state_counter (struct mipi_dsim_device *dsim, unsigned int cnt_val)
 
void exynos_mipi_dsi_set_bta_timeout (struct mipi_dsim_device *dsim, unsigned int timeout)
 
void exynos_mipi_dsi_set_lpdr_timeout (struct mipi_dsim_device *dsim, unsigned int timeout)
 
void exynos_mipi_dsi_set_lcdc_transfer_mode (struct mipi_dsim_device *dsim, unsigned int lp)
 
void exynos_mipi_dsi_set_cpu_transfer_mode (struct mipi_dsim_device *dsim, unsigned int lp)
 
void exynos_mipi_dsi_enable_hs_clock (struct mipi_dsim_device *dsim, unsigned int enable)
 
void exynos_mipi_dsi_dp_dn_swap (struct mipi_dsim_device *dsim, unsigned int swap_en)
 
void exynos_mipi_dsi_hs_zero_ctrl (struct mipi_dsim_device *dsim, unsigned int hs_zero)
 
void exynos_mipi_dsi_prep_ctrl (struct mipi_dsim_device *dsim, unsigned int prep)
 
unsigned int exynos_mipi_dsi_read_interrupt (struct mipi_dsim_device *dsim)
 
unsigned int exynos_mipi_dsi_read_interrupt_mask (struct mipi_dsim_device *dsim)
 
void exynos_mipi_dsi_clear_interrupt (struct mipi_dsim_device *dsim, unsigned int src)
 
void exynos_mipi_dsi_set_interrupt (struct mipi_dsim_device *dsim, unsigned int src, unsigned int enable)
 
unsigned int exynos_mipi_dsi_is_pll_stable (struct mipi_dsim_device *dsim)
 
unsigned int exynos_mipi_dsi_get_fifo_state (struct mipi_dsim_device *dsim)
 
unsigned int _exynos_mipi_dsi_get_frame_done_status (struct mipi_dsim_device *dsim)
 
void _exynos_mipi_dsi_clear_frame_done (struct mipi_dsim_device *dsim)
 
void exynos_mipi_dsi_wr_tx_header (struct mipi_dsim_device *dsim, unsigned int di, unsigned int data0, unsigned int data1)
 
void exynos_mipi_dsi_wr_tx_data (struct mipi_dsim_device *dsim, unsigned int tx_data)
 
void exynos_mipi_dsi_rd_tx_header (struct mipi_dsim_device *dsim, unsigned int data0, unsigned int data1)
 
unsigned int exynos_mipi_dsi_rd_rx_fifo (struct mipi_dsim_device *dsim)
 

Function Documentation

void _exynos_mipi_dsi_clear_frame_done ( struct mipi_dsim_device dsim)

Definition at line 606 of file exynos_mipi_dsi_lowlevel.c.

unsigned int _exynos_mipi_dsi_get_frame_done_status ( struct mipi_dsim_device dsim)

Definition at line 599 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_clear_interrupt ( struct mipi_dsim_device dsim,
unsigned int  src 
)

Definition at line 541 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_display_config ( struct mipi_dsim_device dsim,
struct mipi_dsim_config dsim_config 
)

Definition at line 229 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_dp_dn_swap ( struct mipi_dsim_device dsim,
unsigned int  swap_en 
)

Definition at line 504 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_enable_afc ( struct mipi_dsim_device dsim,
unsigned int  enable,
unsigned int  afc_code 
)

Definition at line 280 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_enable_byte_clock ( struct mipi_dsim_device dsim,
unsigned int  enable 
)

Definition at line 367 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_enable_esc_clk_on_lane ( struct mipi_dsim_device dsim,
unsigned int  lane_sel,
unsigned int  enable 
)

Definition at line 391 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_enable_hs_clock ( struct mipi_dsim_device dsim,
unsigned int  enable 
)

Definition at line 493 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_enable_lane ( struct mipi_dsim_device dsim,
unsigned int  lane,
unsigned int  enable 
)

Definition at line 253 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_enable_pll ( struct mipi_dsim_device dsim,
unsigned int  enable 
)

Definition at line 346 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_enable_pll_bypass ( struct mipi_dsim_device dsim,
unsigned int  enable 
)

Definition at line 295 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_force_dphy_stop_state ( struct mipi_dsim_device dsim,
unsigned int  enable 
)

Definition at line 405 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_func_reset ( struct mipi_dsim_device dsim)

Definition at line 32 of file exynos_mipi_dsi_lowlevel.c.

unsigned int exynos_mipi_dsi_get_fifo_state ( struct mipi_dsim_device dsim)

Definition at line 573 of file exynos_mipi_dsi_lowlevel.c.

int exynos_mipi_dsi_get_sw_reset_release ( struct mipi_dsim_device dsim)

Definition at line 65 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_hs_zero_ctrl ( struct mipi_dsim_device dsim,
unsigned int  hs_zero 
)

Definition at line 515 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_init_config ( struct mipi_dsim_device dsim)

Definition at line 210 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_init_fifo_pointer ( struct mipi_dsim_device dsim,
unsigned int  cfg 
)

Definition at line 93 of file exynos_mipi_dsi_lowlevel.c.

unsigned int exynos_mipi_dsi_is_lane_state ( struct mipi_dsim_device dsim)

check clock and data lane states. if MIPI-DSI controller was enabled at bootloader then TX_READY_HS_CLK is enabled otherwise STOP_STATE_CLK. so it should be checked for two case.

Definition at line 416 of file exynos_mipi_dsi_lowlevel.c.

unsigned int exynos_mipi_dsi_is_pll_stable ( struct mipi_dsim_device dsim)

Definition at line 564 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_pll_freq ( struct mipi_dsim_device dsim,
unsigned int  pre_divider,
unsigned int  main_divider,
unsigned int  scaler 
)

Definition at line 327 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_pll_freq_band ( struct mipi_dsim_device dsim,
unsigned int  freq_band 
)

Definition at line 316 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_pll_stable_time ( struct mipi_dsim_device dsim,
unsigned int  lock_time 
)

Definition at line 340 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_prep_ctrl ( struct mipi_dsim_device dsim,
unsigned int  prep 
)

Definition at line 526 of file exynos_mipi_dsi_lowlevel.c.

unsigned int exynos_mipi_dsi_rd_rx_fifo ( struct mipi_dsim_device dsim)

Definition at line 594 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_rd_tx_header ( struct mipi_dsim_device dsim,
unsigned int  data0,
unsigned int  data1 
)

Definition at line 586 of file exynos_mipi_dsi_lowlevel.c.

unsigned int exynos_mipi_dsi_read_interrupt ( struct mipi_dsim_device dsim)

Definition at line 536 of file exynos_mipi_dsi_lowlevel.c.

unsigned int exynos_mipi_dsi_read_interrupt_mask ( struct mipi_dsim_device dsim)

Definition at line 71 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_bta_timeout ( struct mipi_dsim_device dsim,
unsigned int  timeout 
)

Definition at line 445 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_byte_clock_src ( struct mipi_dsim_device dsim,
unsigned int  src 
)

Definition at line 356 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_cpu_transfer_mode ( struct mipi_dsim_device dsim,
unsigned int  lp 
)

Definition at line 467 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_data_lane_number ( struct mipi_dsim_device dsim,
unsigned int  count 
)

Definition at line 269 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_esc_clk_prs ( struct mipi_dsim_device dsim,
unsigned int  enable,
unsigned int  prs_val 
)

Definition at line 378 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_interrupt ( struct mipi_dsim_device dsim,
unsigned int  src,
unsigned int  enable 
)

Definition at line 551 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_interrupt_mask ( struct mipi_dsim_device dsim,
unsigned int  mode,
unsigned int  mask 
)

Definition at line 80 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_lcdc_transfer_mode ( struct mipi_dsim_device dsim,
unsigned int  lp 
)

Definition at line 480 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_lpdr_timeout ( struct mipi_dsim_device dsim,
unsigned int  timeout 
)

Definition at line 456 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_main_disp_hporch ( struct mipi_dsim_device dsim,
unsigned int  front,
unsigned int  back 
)

Definition at line 164 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_main_disp_resol ( struct mipi_dsim_device dsim,
unsigned int  width_resol,
unsigned int  height_resol 
)

Definition at line 131 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_main_disp_sync_area ( struct mipi_dsim_device dsim,
unsigned int  vert,
unsigned int  hori 
)

Definition at line 177 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_main_disp_vporch ( struct mipi_dsim_device dsim,
unsigned int  cmd_allow,
unsigned int  vfront,
unsigned int  vback 
)

Definition at line 148 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_main_stand_by ( struct mipi_dsim_device dsim,
unsigned int  enable 
)

Definition at line 116 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_phy_tunning ( struct mipi_dsim_device dsim,
unsigned int  value 
)

Definition at line 110 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_pll_pms ( struct mipi_dsim_device dsim,
unsigned int  p,
unsigned int  m,
unsigned int  s 
)

Definition at line 306 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_stop_state_counter ( struct mipi_dsim_device dsim,
unsigned int  cnt_val 
)

Definition at line 434 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_set_sub_disp_resol ( struct mipi_dsim_device dsim,
unsigned int  vert,
unsigned int  hori 
)

Definition at line 191 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_sw_reset ( struct mipi_dsim_device dsim)

Definition at line 43 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_sw_reset_release ( struct mipi_dsim_device dsim)

Definition at line 54 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_wr_tx_data ( struct mipi_dsim_device dsim,
unsigned int  tx_data 
)

Definition at line 614 of file exynos_mipi_dsi_lowlevel.c.

void exynos_mipi_dsi_wr_tx_header ( struct mipi_dsim_device dsim,
unsigned int  di,
unsigned int  data0,
unsigned int  data1 
)

Definition at line 578 of file exynos_mipi_dsi_lowlevel.c.