Lines Matching refs:intf
26 struct mdp5_interface intf; member
130 int intf = mdp5_encoder->intf.num; in mdp5_encoder_mode_set() local
151 if (mdp5_encoder->intf.type != INTF_DSI) { in mdp5_encoder_mode_set()
196 if (mdp5_encoder->intf.type == INTF_eDP) { in mdp5_encoder_mode_set()
203 mdp5_write(mdp5_kms, REG_MDP5_INTF_HSYNC_CTL(intf), in mdp5_encoder_mode_set()
206 mdp5_write(mdp5_kms, REG_MDP5_INTF_VSYNC_PERIOD_F0(intf), vsync_period); in mdp5_encoder_mode_set()
207 mdp5_write(mdp5_kms, REG_MDP5_INTF_VSYNC_LEN_F0(intf), vsync_len); in mdp5_encoder_mode_set()
208 mdp5_write(mdp5_kms, REG_MDP5_INTF_DISPLAY_HCTL(intf), in mdp5_encoder_mode_set()
211 mdp5_write(mdp5_kms, REG_MDP5_INTF_DISPLAY_VSTART_F0(intf), display_v_start); in mdp5_encoder_mode_set()
212 mdp5_write(mdp5_kms, REG_MDP5_INTF_DISPLAY_VEND_F0(intf), display_v_end); in mdp5_encoder_mode_set()
213 mdp5_write(mdp5_kms, REG_MDP5_INTF_BORDER_COLOR(intf), 0); in mdp5_encoder_mode_set()
214 mdp5_write(mdp5_kms, REG_MDP5_INTF_UNDERFLOW_COLOR(intf), 0xff); in mdp5_encoder_mode_set()
215 mdp5_write(mdp5_kms, REG_MDP5_INTF_HSYNC_SKEW(intf), dtv_hsync_skew); in mdp5_encoder_mode_set()
216 mdp5_write(mdp5_kms, REG_MDP5_INTF_POLARITY_CTL(intf), ctrl_pol); in mdp5_encoder_mode_set()
217 mdp5_write(mdp5_kms, REG_MDP5_INTF_ACTIVE_HCTL(intf), in mdp5_encoder_mode_set()
220 mdp5_write(mdp5_kms, REG_MDP5_INTF_ACTIVE_VSTART_F0(intf), 0); in mdp5_encoder_mode_set()
221 mdp5_write(mdp5_kms, REG_MDP5_INTF_ACTIVE_VEND_F0(intf), 0); in mdp5_encoder_mode_set()
222 mdp5_write(mdp5_kms, REG_MDP5_INTF_PANEL_FORMAT(intf), format); in mdp5_encoder_mode_set()
223 mdp5_write(mdp5_kms, REG_MDP5_INTF_FRAME_LINE_COUNT_EN(intf), 0x3); /* frame+line? */ in mdp5_encoder_mode_set()
227 mdp5_crtc_set_pipeline(encoder->crtc, &mdp5_encoder->intf, in mdp5_encoder_mode_set()
237 struct mdp5_interface *intf = &mdp5_encoder->intf; in mdp5_encoder_disable() local
238 int intfn = mdp5_encoder->intf.num; in mdp5_encoder_disable()
249 mdp5_ctl_commit(ctl, mdp_ctl_flush_mask_encoder(intf)); in mdp5_encoder_disable()
259 mdp_irq_wait(&mdp5_kms->base, intf2vblank(lm, intf)); in mdp5_encoder_disable()
271 struct mdp5_interface *intf = &mdp5_encoder->intf; in mdp5_encoder_enable() local
272 int intfn = mdp5_encoder->intf.num; in mdp5_encoder_enable()
282 mdp5_ctl_commit(ctl, mdp_ctl_flush_mask_encoder(intf)); in mdp5_encoder_enable()
309 intf_num = mdp5_encoder->intf.num; in mdp5_encoder_set_split_display()
337 struct mdp5_interface *intf, struct mdp5_ctl *ctl) in mdp5_encoder_init() argument
341 int enc_type = (intf->type == INTF_DSI) ? in mdp5_encoder_init()
351 memcpy(&mdp5_encoder->intf, intf, sizeof(mdp5_encoder->intf)); in mdp5_encoder_init()