• Home
  • Raw
  • Download

Lines Matching refs:intf

26 	struct mdp5_interface intf;  member
123 int intf = mdp5_encoder->intf.num; in mdp5_encoder_mode_set() local
144 if (mdp5_encoder->intf.type != INTF_DSI) { in mdp5_encoder_mode_set()
189 if (mdp5_encoder->intf.type == INTF_eDP) { in mdp5_encoder_mode_set()
196 mdp5_write(mdp5_kms, REG_MDP5_INTF_HSYNC_CTL(intf), in mdp5_encoder_mode_set()
199 mdp5_write(mdp5_kms, REG_MDP5_INTF_VSYNC_PERIOD_F0(intf), vsync_period); in mdp5_encoder_mode_set()
200 mdp5_write(mdp5_kms, REG_MDP5_INTF_VSYNC_LEN_F0(intf), vsync_len); in mdp5_encoder_mode_set()
201 mdp5_write(mdp5_kms, REG_MDP5_INTF_DISPLAY_HCTL(intf), in mdp5_encoder_mode_set()
204 mdp5_write(mdp5_kms, REG_MDP5_INTF_DISPLAY_VSTART_F0(intf), display_v_start); in mdp5_encoder_mode_set()
205 mdp5_write(mdp5_kms, REG_MDP5_INTF_DISPLAY_VEND_F0(intf), display_v_end); in mdp5_encoder_mode_set()
206 mdp5_write(mdp5_kms, REG_MDP5_INTF_BORDER_COLOR(intf), 0); in mdp5_encoder_mode_set()
207 mdp5_write(mdp5_kms, REG_MDP5_INTF_UNDERFLOW_COLOR(intf), 0xff); in mdp5_encoder_mode_set()
208 mdp5_write(mdp5_kms, REG_MDP5_INTF_HSYNC_SKEW(intf), dtv_hsync_skew); in mdp5_encoder_mode_set()
209 mdp5_write(mdp5_kms, REG_MDP5_INTF_POLARITY_CTL(intf), ctrl_pol); in mdp5_encoder_mode_set()
210 mdp5_write(mdp5_kms, REG_MDP5_INTF_ACTIVE_HCTL(intf), in mdp5_encoder_mode_set()
213 mdp5_write(mdp5_kms, REG_MDP5_INTF_ACTIVE_VSTART_F0(intf), 0); in mdp5_encoder_mode_set()
214 mdp5_write(mdp5_kms, REG_MDP5_INTF_ACTIVE_VEND_F0(intf), 0); in mdp5_encoder_mode_set()
215 mdp5_write(mdp5_kms, REG_MDP5_INTF_PANEL_FORMAT(intf), format); in mdp5_encoder_mode_set()
216 mdp5_write(mdp5_kms, REG_MDP5_INTF_FRAME_LINE_COUNT_EN(intf), 0x3); /* frame+line? */ in mdp5_encoder_mode_set()
220 mdp5_crtc_set_pipeline(encoder->crtc, &mdp5_encoder->intf, in mdp5_encoder_mode_set()
230 struct mdp5_interface *intf = &mdp5_encoder->intf; in mdp5_encoder_disable() local
231 int intfn = mdp5_encoder->intf.num; in mdp5_encoder_disable()
242 mdp5_ctl_commit(ctl, mdp_ctl_flush_mask_encoder(intf)); in mdp5_encoder_disable()
252 mdp_irq_wait(&mdp5_kms->base, intf2vblank(lm, intf)); in mdp5_encoder_disable()
264 struct mdp5_interface *intf = &mdp5_encoder->intf; in mdp5_encoder_enable() local
265 int intfn = mdp5_encoder->intf.num; in mdp5_encoder_enable()
275 mdp5_ctl_commit(ctl, mdp_ctl_flush_mask_encoder(intf)); in mdp5_encoder_enable()
292 int intf = mdp5_encoder->intf.num; in mdp5_encoder_get_linecount() local
294 return mdp5_read(mdp5_kms, REG_MDP5_INTF_LINE_COUNT(intf)); in mdp5_encoder_get_linecount()
301 int intf = mdp5_encoder->intf.num; in mdp5_encoder_get_framecount() local
303 return mdp5_read(mdp5_kms, REG_MDP5_INTF_FRAME_COUNT(intf)); in mdp5_encoder_get_framecount()
319 intf_num = mdp5_encoder->intf.num; in mdp5_encoder_set_split_display()
347 struct mdp5_interface *intf, struct mdp5_ctl *ctl) in mdp5_encoder_init() argument
351 int enc_type = (intf->type == INTF_DSI) ? in mdp5_encoder_init()
361 memcpy(&mdp5_encoder->intf, intf, sizeof(mdp5_encoder->intf)); in mdp5_encoder_init()