Lines Matching refs:dsim_dev
14 static void s6e8ax0_panel_cond(struct mipi_dsim_device *dsim_dev) in s6e8ax0_panel_cond() argument
16 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_panel_cond()
17 int reverse = dsim_dev->dsim_lcd_dev->reverse_panel; in s6e8ax0_panel_cond()
35 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_panel_cond()
39 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_panel_cond()
44 static void s6e8ax0_display_cond(struct mipi_dsim_device *dsim_dev) in s6e8ax0_display_cond() argument
46 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_display_cond()
51 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_display_cond()
55 static void s6e8ax0_gamma_cond(struct mipi_dsim_device *dsim_dev) in s6e8ax0_gamma_cond() argument
57 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_gamma_cond()
65 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_gamma_cond()
69 static void s6e8ax0_gamma_update(struct mipi_dsim_device *dsim_dev) in s6e8ax0_gamma_update() argument
71 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_gamma_update()
76 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_SHORT_WRITE_PARAM, data_to_send, in s6e8ax0_gamma_update()
80 static void s6e8ax0_etc_source_control(struct mipi_dsim_device *dsim_dev) in s6e8ax0_etc_source_control() argument
82 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_etc_source_control()
87 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_etc_source_control()
91 static void s6e8ax0_etc_pentile_control(struct mipi_dsim_device *dsim_dev) in s6e8ax0_etc_pentile_control() argument
93 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_etc_pentile_control()
99 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_etc_pentile_control()
103 static void s6e8ax0_etc_mipi_control1(struct mipi_dsim_device *dsim_dev) in s6e8ax0_etc_mipi_control1() argument
105 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_etc_mipi_control1()
110 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_etc_mipi_control1()
114 static void s6e8ax0_etc_mipi_control2(struct mipi_dsim_device *dsim_dev) in s6e8ax0_etc_mipi_control2() argument
116 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_etc_mipi_control2()
121 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_etc_mipi_control2()
125 static void s6e8ax0_etc_power_control(struct mipi_dsim_device *dsim_dev) in s6e8ax0_etc_power_control() argument
127 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_etc_power_control()
132 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_etc_power_control()
136 static void s6e8ax0_etc_mipi_control3(struct mipi_dsim_device *dsim_dev) in s6e8ax0_etc_mipi_control3() argument
138 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_etc_mipi_control3()
143 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_SHORT_WRITE_PARAM, data_to_send, in s6e8ax0_etc_mipi_control3()
147 static void s6e8ax0_etc_mipi_control4(struct mipi_dsim_device *dsim_dev) in s6e8ax0_etc_mipi_control4() argument
149 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_etc_mipi_control4()
154 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_etc_mipi_control4()
158 static void s6e8ax0_elvss_set(struct mipi_dsim_device *dsim_dev) in s6e8ax0_elvss_set() argument
160 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_elvss_set()
165 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_elvss_set()
169 static void s6e8ax0_display_on(struct mipi_dsim_device *dsim_dev) in s6e8ax0_display_on() argument
171 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_display_on()
176 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_SHORT_WRITE, data_to_send, in s6e8ax0_display_on()
180 static void s6e8ax0_sleep_out(struct mipi_dsim_device *dsim_dev) in s6e8ax0_sleep_out() argument
182 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_sleep_out()
187 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_SHORT_WRITE, data_to_send, in s6e8ax0_sleep_out()
191 static void s6e8ax0_apply_level1_key(struct mipi_dsim_device *dsim_dev) in s6e8ax0_apply_level1_key() argument
193 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_apply_level1_key()
198 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_apply_level1_key()
202 static void s6e8ax0_apply_mtp_key(struct mipi_dsim_device *dsim_dev) in s6e8ax0_apply_mtp_key() argument
204 struct mipi_dsim_master_ops *ops = dsim_dev->master_ops; in s6e8ax0_apply_mtp_key()
209 ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE, in s6e8ax0_apply_mtp_key()
213 static void s6e8ax0_panel_init(struct mipi_dsim_device *dsim_dev) in s6e8ax0_panel_init() argument
221 s6e8ax0_apply_level1_key(dsim_dev); in s6e8ax0_panel_init()
222 s6e8ax0_apply_mtp_key(dsim_dev); in s6e8ax0_panel_init()
224 s6e8ax0_sleep_out(dsim_dev); in s6e8ax0_panel_init()
226 s6e8ax0_panel_cond(dsim_dev); in s6e8ax0_panel_init()
227 s6e8ax0_display_cond(dsim_dev); in s6e8ax0_panel_init()
228 s6e8ax0_gamma_cond(dsim_dev); in s6e8ax0_panel_init()
229 s6e8ax0_gamma_update(dsim_dev); in s6e8ax0_panel_init()
231 s6e8ax0_etc_source_control(dsim_dev); in s6e8ax0_panel_init()
232 s6e8ax0_elvss_set(dsim_dev); in s6e8ax0_panel_init()
233 s6e8ax0_etc_pentile_control(dsim_dev); in s6e8ax0_panel_init()
234 s6e8ax0_etc_mipi_control1(dsim_dev); in s6e8ax0_panel_init()
235 s6e8ax0_etc_mipi_control2(dsim_dev); in s6e8ax0_panel_init()
236 s6e8ax0_etc_power_control(dsim_dev); in s6e8ax0_panel_init()
237 s6e8ax0_etc_mipi_control3(dsim_dev); in s6e8ax0_panel_init()
238 s6e8ax0_etc_mipi_control4(dsim_dev); in s6e8ax0_panel_init()
241 static int s6e8ax0_panel_set(struct mipi_dsim_device *dsim_dev) in s6e8ax0_panel_set() argument
243 s6e8ax0_panel_init(dsim_dev); in s6e8ax0_panel_set()
248 static void s6e8ax0_display_enable(struct mipi_dsim_device *dsim_dev) in s6e8ax0_display_enable() argument
250 s6e8ax0_display_on(dsim_dev); in s6e8ax0_display_enable()