Lines Matching refs:intf

237 		struct dpu_hw_intf *intf,  in dpu_hw_intf_enable_timing_engine()  argument
240 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_enable_timing_engine()
246 struct dpu_hw_intf *intf, in dpu_hw_intf_setup_prg_fetch() argument
249 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_setup_prg_fetch()
270 struct dpu_hw_intf *intf, in dpu_hw_intf_bind_pingpong_blk() argument
273 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_bind_pingpong_blk()
288 struct dpu_hw_intf *intf, in dpu_hw_intf_get_status() argument
291 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_get_status()
292 unsigned long cap = intf->cap->features; in dpu_hw_intf_get_status()
309 static u32 dpu_hw_intf_get_line_count(struct dpu_hw_intf *intf) in dpu_hw_intf_get_line_count() argument
313 if (!intf) in dpu_hw_intf_get_line_count()
316 c = &intf->hw; in dpu_hw_intf_get_line_count()
321 static void dpu_hw_intf_setup_misr(struct dpu_hw_intf *intf) in dpu_hw_intf_setup_misr() argument
323 dpu_hw_setup_misr(&intf->hw, INTF_MISR_CTRL, 0x1); in dpu_hw_intf_setup_misr()
326 static int dpu_hw_intf_collect_misr(struct dpu_hw_intf *intf, u32 *misr_value) in dpu_hw_intf_collect_misr() argument
328 return dpu_hw_collect_misr(&intf->hw, INTF_MISR_CTRL, INTF_MISR_SIGNATURE, misr_value); in dpu_hw_intf_collect_misr()
331 static int dpu_hw_intf_enable_te(struct dpu_hw_intf *intf, in dpu_hw_intf_enable_te() argument
337 if (!intf) in dpu_hw_intf_enable_te()
340 c = &intf->hw; in dpu_hw_intf_enable_te()
364 static void dpu_hw_intf_setup_autorefresh_config(struct dpu_hw_intf *intf, in dpu_hw_intf_setup_autorefresh_config() argument
370 c = &intf->hw; in dpu_hw_intf_setup_autorefresh_config()
387 static bool dpu_hw_intf_get_autorefresh_config(struct dpu_hw_intf *intf, in dpu_hw_intf_get_autorefresh_config() argument
390 u32 val = DPU_REG_READ(&intf->hw, INTF_TEAR_AUTOREFRESH_CONFIG); in dpu_hw_intf_get_autorefresh_config()
397 static int dpu_hw_intf_disable_te(struct dpu_hw_intf *intf) in dpu_hw_intf_disable_te() argument
401 if (!intf) in dpu_hw_intf_disable_te()
404 c = &intf->hw; in dpu_hw_intf_disable_te()
409 static int dpu_hw_intf_connect_external_te(struct dpu_hw_intf *intf, in dpu_hw_intf_connect_external_te() argument
412 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_connect_external_te()
416 if (!intf) in dpu_hw_intf_connect_external_te()
419 c = &intf->hw; in dpu_hw_intf_connect_external_te()
427 trace_dpu_intf_connect_ext_te(intf->idx - INTF_0, cfg); in dpu_hw_intf_connect_external_te()
432 static int dpu_hw_intf_get_vsync_info(struct dpu_hw_intf *intf, in dpu_hw_intf_get_vsync_info() argument
435 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_get_vsync_info()
438 if (!intf || !info) in dpu_hw_intf_get_vsync_info()
441 c = &intf->hw; in dpu_hw_intf_get_vsync_info()
459 static void dpu_hw_intf_vsync_sel(struct dpu_hw_intf *intf, in dpu_hw_intf_vsync_sel() argument
464 if (!intf) in dpu_hw_intf_vsync_sel()
467 c = &intf->hw; in dpu_hw_intf_vsync_sel()
472 static void dpu_hw_intf_disable_autorefresh(struct dpu_hw_intf *intf, in dpu_hw_intf_disable_autorefresh() argument
479 if (!dpu_hw_intf_get_autorefresh_config(intf, NULL)) in dpu_hw_intf_disable_autorefresh()
491 dpu_hw_intf_connect_external_te(intf, false); in dpu_hw_intf_disable_autorefresh()
492 dpu_hw_intf_setup_autorefresh_config(intf, 0, false); in dpu_hw_intf_disable_autorefresh()
499 encoder_id, intf->idx - INTF_0); in dpu_hw_intf_disable_autorefresh()
505 dpu_hw_intf_get_vsync_info(intf, &info); in dpu_hw_intf_disable_autorefresh()
509 dpu_hw_intf_connect_external_te(intf, true); in dpu_hw_intf_disable_autorefresh()
512 encoder_id, intf->idx - INTF_0); in dpu_hw_intf_disable_autorefresh()
579 void dpu_hw_intf_destroy(struct dpu_hw_intf *intf) in dpu_hw_intf_destroy() argument
581 kfree(intf); in dpu_hw_intf_destroy()