Lines Matching refs:edp_ctrl
62 struct edp_ctrl { struct
151 static int edp_clk_init(struct edp_ctrl *ctrl) in edp_clk_init()
200 static int edp_clk_enable(struct edp_ctrl *ctrl, u32 clk_mask) in edp_clk_enable()
286 static void edp_clk_disable(struct edp_ctrl *ctrl, u32 clk_mask) in edp_clk_disable()
300 static int edp_regulator_init(struct edp_ctrl *ctrl) in edp_regulator_init()
326 static int edp_regulator_enable(struct edp_ctrl *ctrl) in edp_regulator_enable()
359 static void edp_regulator_disable(struct edp_ctrl *ctrl) in edp_regulator_disable()
366 static int edp_gpio_config(struct edp_ctrl *ctrl) in edp_gpio_config()
392 static void edp_ctrl_irq_enable(struct edp_ctrl *ctrl, int enable) in edp_ctrl_irq_enable()
409 static void edp_fill_link_cfg(struct edp_ctrl *ctrl) in edp_fill_link_cfg()
443 static void edp_config_ctrl(struct edp_ctrl *ctrl) in edp_config_ctrl()
468 static void edp_state_ctrl(struct edp_ctrl *ctrl, u32 state) in edp_state_ctrl()
475 static int edp_lane_set_write(struct edp_ctrl *ctrl, in edp_lane_set_write()
501 static int edp_train_pattern_set_write(struct edp_ctrl *ctrl, u8 pattern) in edp_train_pattern_set_write()
515 static void edp_sink_train_set_adjust(struct edp_ctrl *ctrl, in edp_sink_train_set_adjust()
545 static void edp_host_train_set(struct edp_ctrl *ctrl, u32 train) in edp_host_train_set()
579 static int edp_voltage_pre_emphasise_set(struct edp_ctrl *ctrl) in edp_voltage_pre_emphasise_set()
598 static int edp_start_link_train_1(struct edp_ctrl *ctrl) in edp_start_link_train_1()
657 static int edp_start_link_train_2(struct edp_ctrl *ctrl) in edp_start_link_train_2()
704 static int edp_link_rate_down_shift(struct edp_ctrl *ctrl) in edp_link_rate_down_shift()
749 static int edp_clear_training_pattern(struct edp_ctrl *ctrl) in edp_clear_training_pattern()
760 static int edp_do_link_train(struct edp_ctrl *ctrl) in edp_do_link_train()
822 static void edp_clock_synchrous(struct edp_ctrl *ctrl, int sync) in edp_clock_synchrous()
850 static int edp_sw_mvid_nvid(struct edp_ctrl *ctrl, u32 m, u32 n) in edp_sw_mvid_nvid()
870 static void edp_mainlink_ctrl(struct edp_ctrl *ctrl, int enable) in edp_mainlink_ctrl()
885 static void edp_ctrl_phy_aux_enable(struct edp_ctrl *ctrl, int enable) in edp_ctrl_phy_aux_enable()
902 static void edp_ctrl_link_enable(struct edp_ctrl *ctrl, int enable) in edp_ctrl_link_enable()
930 static int edp_ctrl_training(struct edp_ctrl *ctrl) in edp_ctrl_training()
961 struct edp_ctrl *ctrl = container_of( in edp_ctrl_on_worker()
962 work, struct edp_ctrl, on_work); in edp_ctrl_on_worker()
1001 struct edp_ctrl *ctrl = container_of( in edp_ctrl_off_worker()
1002 work, struct edp_ctrl, off_work); in edp_ctrl_off_worker()
1036 irqreturn_t msm_edp_ctrl_irq(struct edp_ctrl *ctrl) in msm_edp_ctrl_irq()
1082 void msm_edp_ctrl_power(struct edp_ctrl *ctrl, bool on) in msm_edp_ctrl_power()
1092 struct edp_ctrl *ctrl = NULL; in msm_edp_ctrl_init()
1160 void msm_edp_ctrl_destroy(struct edp_ctrl *ctrl) in msm_edp_ctrl_destroy()
1182 bool msm_edp_ctrl_panel_connected(struct edp_ctrl *ctrl) in msm_edp_ctrl_panel_connected()
1216 int msm_edp_ctrl_get_panel_info(struct edp_ctrl *ctrl, in msm_edp_ctrl_get_panel_info()
1264 int msm_edp_ctrl_timing_cfg(struct edp_ctrl *ctrl, in msm_edp_ctrl_timing_cfg()
1323 bool msm_edp_ctrl_pixel_clock_valid(struct edp_ctrl *ctrl, in msm_edp_ctrl_pixel_clock_valid()