Lines Matching refs:tc358768_write

181 static void tc358768_write(struct tc358768_priv *priv, u32 reg, u32 val)  in tc358768_write()  function
222 tc358768_write(priv, reg, tmp); in tc358768_update_bits()
228 tc358768_write(priv, TC358768_SYSCTL, 1); in tc358768_sw_reset()
230 tc358768_write(priv, TC358768_SYSCTL, 0); in tc358768_sw_reset()
490 tc358768_write(priv, TC358768_DSICMD_TYPE, in tc358768_dsi_host_transfer()
492 tc358768_write(priv, TC358768_DSICMD_WC, 0); in tc358768_dsi_host_transfer()
493 tc358768_write(priv, TC358768_DSICMD_WD0, in tc358768_dsi_host_transfer()
498 tc358768_write(priv, TC358768_DSICMD_TYPE, in tc358768_dsi_host_transfer()
500 tc358768_write(priv, TC358768_DSICMD_WC, packet.payload_length); in tc358768_dsi_host_transfer()
507 tc358768_write(priv, TC358768_DSICMD_WD0 + i, val); in tc358768_dsi_host_transfer()
512 tc358768_write(priv, TC358768_DSICMD_TX, 1); in tc358768_dsi_host_transfer()
610 tc358768_write(priv, TC358768_PLLCTL0, (prd << 12) | fbd); in tc358768_setup_pll()
613 tc358768_write(priv, TC358768_PLLCTL1, in tc358768_setup_pll()
620 tc358768_write(priv, TC358768_PLLCTL1, in tc358768_setup_pll()
713 tc358768_write(priv, TC358768_VSDLY, video_start); in tc358768_bridge_pre_enable()
715 tc358768_write(priv, TC358768_DATAFMT, val); in tc358768_bridge_pre_enable()
716 tc358768_write(priv, TC358768_DSITX_DT, data_type); in tc358768_bridge_pre_enable()
719 tc358768_write(priv, TC358768_CLW_CNTRL, 0x0000); in tc358768_bridge_pre_enable()
722 tc358768_write(priv, TC358768_D0W_CNTRL + i * 4, 0x0000); in tc358768_bridge_pre_enable()
736 tc358768_write(priv, TC358768_LINEINITCNT, val); in tc358768_bridge_pre_enable()
742 tc358768_write(priv, TC358768_LPTXTIMECNT, val); in tc358768_bridge_pre_enable()
751 tc358768_write(priv, TC358768_TCLK_HEADERCNT, val); in tc358768_bridge_pre_enable()
757 tc358768_write(priv, TC358768_TCLK_TRAILCNT, val); in tc358768_bridge_pre_enable()
767 tc358768_write(priv, TC358768_THS_HEADERCNT, val); in tc358768_bridge_pre_enable()
773 tc358768_write(priv, TC358768_TWAKEUP, val); in tc358768_bridge_pre_enable()
779 tc358768_write(priv, TC358768_TCLK_POSTCNT, val); in tc358768_bridge_pre_enable()
786 tc358768_write(priv, TC358768_THS_TRAILCNT, val); in tc358768_bridge_pre_enable()
791 tc358768_write(priv, TC358768_HSTXVREGEN, val); in tc358768_bridge_pre_enable()
794 tc358768_write(priv, TC358768_TXOPTIONCNTRL, 0x1); in tc358768_bridge_pre_enable()
803 tc358768_write(priv, TC358768_BTACNTRL1, val); in tc358768_bridge_pre_enable()
806 tc358768_write(priv, TC358768_STARTCNTRL, 1); in tc358768_bridge_pre_enable()
810 tc358768_write(priv, TC358768_DSI_EVENT, 0); in tc358768_bridge_pre_enable()
813 tc358768_write(priv, TC358768_DSI_VACT, mode->vdisplay); in tc358768_bridge_pre_enable()
816 tc358768_write(priv, TC358768_DSI_VSW, in tc358768_bridge_pre_enable()
819 tc358768_write(priv, TC358768_DSI_VBPR, in tc358768_bridge_pre_enable()
826 tc358768_write(priv, TC358768_DSI_HSW, val); in tc358768_bridge_pre_enable()
832 tc358768_write(priv, TC358768_DSI_HBPR, val); in tc358768_bridge_pre_enable()
835 tc358768_write(priv, TC358768_DSI_EVENT, 1); in tc358768_bridge_pre_enable()
838 tc358768_write(priv, TC358768_DSI_VACT, mode->vdisplay); in tc358768_bridge_pre_enable()
841 tc358768_write(priv, TC358768_DSI_VSW, in tc358768_bridge_pre_enable()
844 tc358768_write(priv, TC358768_DSI_VBPR, 0); in tc358768_bridge_pre_enable()
850 tc358768_write(priv, TC358768_DSI_HSW, val); in tc358768_bridge_pre_enable()
853 tc358768_write(priv, TC358768_DSI_HBPR, 0); in tc358768_bridge_pre_enable()
857 tc358768_write(priv, TC358768_DSI_HACT, hact); in tc358768_bridge_pre_enable()
867 tc358768_write(priv, TC358768_DSI_START, 0x1); in tc358768_bridge_pre_enable()
873 tc358768_write(priv, TC358768_DSI_CONFW, val); in tc358768_bridge_pre_enable()
886 tc358768_write(priv, TC358768_DSI_CONFW, val); in tc358768_bridge_pre_enable()
890 tc358768_write(priv, TC358768_DSI_CONFW, val); in tc358768_bridge_pre_enable()