Lines Matching refs:funcs

224 		bp_result = dcb->funcs->enable_disp_power_gating(  in dce110_enable_display_power_gating()
293 ipp->funcs->ipp_program_prescale(ipp, &prescale_params); in dce110_set_input_transfer_func()
298 ipp->funcs->ipp_program_input_lut(ipp, plane_state->gamma_correction); in dce110_set_input_transfer_func()
302 ipp->funcs->ipp_set_degamma(ipp, IPP_DEGAMMA_MODE_HW_sRGB); in dce110_set_input_transfer_func()
306 ipp->funcs->ipp_set_degamma(ipp, IPP_DEGAMMA_MODE_HW_sRGB); in dce110_set_input_transfer_func()
309 ipp->funcs->ipp_set_degamma(ipp, IPP_DEGAMMA_MODE_HW_xvYCC); in dce110_set_input_transfer_func()
312 ipp->funcs->ipp_set_degamma(ipp, IPP_DEGAMMA_MODE_BYPASS); in dce110_set_input_transfer_func()
320 ipp->funcs->ipp_set_degamma(ipp, IPP_DEGAMMA_MODE_BYPASS); in dce110_set_input_transfer_func()
611 xfm->funcs->opp_power_on_regamma_lut(xfm, true); in dce110_set_output_transfer_func()
617 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_SRGB); in dce110_set_output_transfer_func()
620 xfm->funcs->opp_program_regamma_pwl(xfm, &xfm->regamma_params); in dce110_set_output_transfer_func()
621 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_USER); in dce110_set_output_transfer_func()
623 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_BYPASS); in dce110_set_output_transfer_func()
626 xfm->funcs->opp_power_on_regamma_lut(xfm, false); in dce110_set_output_transfer_func()
648 pipe_ctx->stream_res.stream_enc->funcs->update_hdmi_info_packets( in dce110_update_info_frame()
652 if (pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num) in dce110_update_info_frame()
653 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets_sdp_line_num( in dce110_update_info_frame()
657 pipe_ctx->stream_res.stream_enc->funcs->update_dp_info_packets( in dce110_update_info_frame()
691 tg->funcs->set_early_control(tg, early_control); in dce110_enable_stream()
700 result = bios->funcs->transmitter_control(bios, cntl); in link_transmitter_control()
803 link->panel_cntl->funcs->is_panel_powered_on(link->panel_cntl)) { in dce110_edp_power_control()
880 bp_result = ctx->dc_bios->funcs->enable_lvtma_control(ctx->dc_bios, in dce110_edp_power_control()
884 bp_result = ctx->dc_bios->funcs->enable_lvtma_control(ctx->dc_bios, in dce110_edp_power_control()
930 if (!link->panel_cntl->funcs->is_panel_powered_on(link->panel_cntl) && in dce110_edp_wait_for_T12()
970 bool is_backlight_on = link->panel_cntl->funcs->is_panel_backlight_on(link->panel_cntl); in dce110_edp_backlight_control()
1033 ctx->dc_bios->funcs->enable_lvtma_control(ctx->dc_bios, in dce110_edp_backlight_control()
1037 ctx->dc_bios->funcs->enable_lvtma_control(ctx->dc_bios, in dce110_edp_backlight_control()
1100 pipe_ctx->stream_res.audio->funcs->az_enable(pipe_ctx->stream_res.audio); in dce110_enable_audio_stream()
1102 if (num_audio >= 1 && clk_mgr->funcs->enable_pme_wa) in dce110_enable_audio_stream()
1104 clk_mgr->funcs->enable_pme_wa(clk_mgr); in dce110_enable_audio_stream()
1134 if (clk_mgr->funcs->enable_pme_wa) in dce110_disable_audio_stream()
1136 clk_mgr->funcs->enable_pme_wa(clk_mgr); in dce110_disable_audio_stream()
1160 pipe_ctx->stream_res.stream_enc->funcs->stop_hdmi_info_packets( in dce110_disable_stream()
1162 pipe_ctx->stream_res.stream_enc->funcs->hdmi_reset_stream_attribute( in dce110_disable_stream()
1167 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->stop_dp_info_packets( in dce110_disable_stream()
1170 pipe_ctx->stream_res.stream_enc->funcs->stop_dp_info_packets( in dce110_disable_stream()
1182 dccg->funcs->disable_symclk32_se(dccg, dp_hpo_inst); in dce110_disable_stream()
1183 dccg->funcs->set_dpstreamclk(dccg, REFCLK, tg->inst, dp_hpo_inst); in dce110_disable_stream()
1184 if (dccg && dccg->funcs->set_dtbclk_dto) in dce110_disable_stream()
1185 dccg->funcs->set_dtbclk_dto(dccg, &dto_params); in dce110_disable_stream()
1187 } else if (dccg && dccg->funcs->disable_symclk_se) { in dce110_disable_stream()
1188 dccg->funcs->disable_symclk_se(dccg, stream_enc->stream_enc_inst, in dce110_disable_stream()
1197 if (pipe_ctx->stream->ctx->dc->hwseq->funcs.setup_hpo_hw_control) in dce110_disable_stream()
1198 pipe_ctx->stream->ctx->dc->hwseq->funcs.setup_hpo_hw_control( in dce110_disable_stream()
1216 …pipe_ctx->stream_res.stream_enc->funcs->dp_unblank(link, pipe_ctx->stream_res.stream_enc, &params); in dce110_unblank_stream()
1219 hws->funcs.edp_backlight_control(link, true); in dce110_unblank_stream()
1231 hws->funcs.edp_backlight_control(link, false); in dce110_blank_stream()
1237 pipe_ctx->stream_res.hpo_dp_stream_enc->funcs->dp_blank( in dce110_blank_stream()
1240 pipe_ctx->stream_res.stream_enc->funcs->dp_blank(link, pipe_ctx->stream_res.stream_enc); in dce110_blank_stream()
1268 pipe_ctx->stream_res.stream_enc->funcs->set_avmute(pipe_ctx->stream_res.stream_enc, enable); in dce110_set_avmute()
1355 state->clk_mgr->funcs->get_dp_ref_clk_frequency( in build_audio_output()
1379 if (pipe_ctx->plane_res.xfm->funcs->transform_set_pixel_storage_depth == NULL) in program_scaler()
1389 pipe_ctx->plane_res.xfm->funcs->transform_set_pixel_storage_depth( in program_scaler()
1394 if (pipe_ctx->stream_res.tg->funcs->set_overscan_blank_color) { in program_scaler()
1403 pipe_ctx->stream_res.tg->funcs->set_overscan_blank_color( in program_scaler()
1408 pipe_ctx->plane_res.xfm->funcs->transform_set_scaler(pipe_ctx->plane_res.xfm, in program_scaler()
1427 pipe_ctx->stream_res.tg->funcs->set_blank_color( in dce110_enable_stream_timing()
1435 pipe_ctx->stream_res.tg->funcs->set_blank(pipe_ctx->stream_res.tg, true); in dce110_enable_stream_timing()
1437 if (false == pipe_ctx->clock_source->funcs->program_pix_clk( in dce110_enable_stream_timing()
1454 pipe_ctx->stream_res.tg->funcs->program_timing( in dce110_enable_stream_timing()
1466 if (false == pipe_ctx->stream_res.tg->funcs->enable_crtc( in dce110_enable_stream_timing()
1491 if (hws->funcs.disable_stream_gating) { in apply_single_controller_ctx_to_hw()
1492 hws->funcs.disable_stream_gating(dc, pipe_ctx); in apply_single_controller_ctx_to_hw()
1503 pipe_ctx->stream_res.audio->funcs->az_configure( in apply_single_controller_ctx_to_hw()
1514 pipe_ctx->stream_res.opp->funcs->opp_program_fmt( in apply_single_controller_ctx_to_hw()
1519 pipe_ctx->stream_res.opp->funcs->opp_set_dyn_expansion( in apply_single_controller_ctx_to_hw()
1526 odm_pipe->stream_res.opp->funcs->opp_set_dyn_expansion( in apply_single_controller_ctx_to_hw()
1532 odm_pipe->stream_res.opp->funcs->opp_program_fmt( in apply_single_controller_ctx_to_hw()
1548 hws->funcs.enable_stream_timing(pipe_ctx, context, dc); in apply_single_controller_ctx_to_hw()
1550 if (hws->funcs.setup_vupdate_interrupt) in apply_single_controller_ctx_to_hw()
1551 hws->funcs.setup_vupdate_interrupt(dc, pipe_ctx); in apply_single_controller_ctx_to_hw()
1555 if (pipe_ctx->stream_res.tg->funcs->set_drr) in apply_single_controller_ctx_to_hw()
1556 pipe_ctx->stream_res.tg->funcs->set_drr( in apply_single_controller_ctx_to_hw()
1566 if (pipe_ctx->stream_res.tg->funcs->set_static_screen_control) in apply_single_controller_ctx_to_hw()
1567 pipe_ctx->stream_res.tg->funcs->set_static_screen_control( in apply_single_controller_ctx_to_hw()
1571 pipe_ctx->stream_res.stream_enc->funcs->dig_connect_to_otg( in apply_single_controller_ctx_to_hw()
1588 hws->funcs.enable_stream_timing(pipe_ctx, context, dc); in apply_single_controller_ctx_to_hw()
1619 dc->links[i]->link_enc->funcs->disable_output( in power_down_encoders()
1633 dc->res_pool->timing_generators[i]->funcs->disable_crtc( in power_down_controllers()
1642 if (dc->res_pool->dp_clock_source->funcs->cs_power_down( in power_down_clock_sources()
1647 if (dc->res_pool->clock_sources[i]->funcs->cs_power_down( in power_down_clock_sources()
1662 dc->fbc_compressor->funcs->disable_fbc(dc->fbc_compressor); in power_down_all_hw_blocks()
1675 if (tg->funcs->disable_vga) in disable_vga_and_power_gate_all_controllers()
1676 tg->funcs->disable_vga(tg); in disable_vga_and_power_gate_all_controllers()
1754 if (hws->funcs.init_pipes) in dce110_enable_accelerated_mode()
1755 hws->funcs.init_pipes(dc, context); in dce110_enable_accelerated_mode()
1768 if (edp_link->link_enc->funcs->is_dig_enabled && in dce110_enable_accelerated_mode()
1769 edp_link->link_enc->funcs->is_dig_enabled(edp_link->link_enc) && in dce110_enable_accelerated_mode()
1804 hws->funcs.edp_backlight_control(edp_link_with_sink, false); in dce110_enable_accelerated_mode()
1851 pipe_ctx->plane_res.mi->funcs->mem_input_program_display_marks( in dce110_set_displaymarks()
1860 pipe_ctx->plane_res.mi->funcs->mem_input_program_chroma_display_marks( in dce110_set_displaymarks()
1887 res_ctx->pipe_ctx[i].plane_res.mi->funcs->mem_input_program_display_marks( in dce110_set_safe_displaymarks()
1896 res_ctx->pipe_ctx[i].plane_res.mi->funcs->mem_input_program_chroma_display_marks( in dce110_set_safe_displaymarks()
1928 pipe_ctx[i]->stream_res.tg->funcs->set_drr( in set_drr()
1932 pipe_ctx[i]->stream_res.tg->funcs->set_static_screen_control( in set_drr()
1947 pipe_ctx[i]->stream_res.tg->funcs->get_position(pipe_ctx[i]->stream_res.tg, position); in get_position()
1973 pipe_ctx[i]->stream_res.tg->funcs-> in set_static_screen_control()
2066 compr->funcs->surface_address_and_pitch(compr, &params); in enable_fbc()
2067 compr->funcs->set_fbc_invalidation_triggers(compr, 1); in enable_fbc()
2069 compr->funcs->enable_fbc(compr, &params); in enable_fbc()
2108 pipe_ctx_old->stream_res.audio->funcs-> in dce110_reset_hw_ctx_wrap()
2122 pipe_ctx_old->stream_res.tg->funcs->set_blank(pipe_ctx_old->stream_res.tg, true); in dce110_reset_hw_ctx_wrap()
2127 pipe_ctx_old->stream_res.tg->funcs->disable_crtc(pipe_ctx_old->stream_res.tg); in dce110_reset_hw_ctx_wrap()
2130 pipe_ctx_old->plane_res.mi->funcs->free_mem_input( in dce110_reset_hw_ctx_wrap()
2136 old_clk->funcs->cs_power_down(old_clk); in dce110_reset_hw_ctx_wrap()
2185 if (dc->res_pool->dccg && dc->res_pool->dccg->funcs->set_audio_dtbclk_dto) { in dce110_setup_audio_dto()
2188 dc->res_pool->dccg->funcs->set_audio_dtbclk_dto( in dce110_setup_audio_dto()
2191 pipe_ctx->stream_res.audio->funcs->wall_dto_setup( in dce110_setup_audio_dto()
2197 pipe_ctx->stream_res.audio->funcs->wall_dto_setup( in dce110_setup_audio_dto()
2225 pipe_ctx->stream_res.audio->funcs->wall_dto_setup( in dce110_setup_audio_dto()
2251 hws->funcs.reset_hw_ctx_wrap(dc, context); in dce110_apply_ctx_to_hw()
2258 dcb->funcs->set_scratch_critical_state(dcb, true); in dce110_apply_ctx_to_hw()
2276 hws->funcs.enable_display_power_gating( in dce110_apply_ctx_to_hw()
2282 dc->fbc_compressor->funcs->disable_fbc(dc->fbc_compressor); in dce110_apply_ctx_to_hw()
2314 if (hws->funcs.resync_fifo_dccg_dio) in dce110_apply_ctx_to_hw()
2315 hws->funcs.resync_fifo_dccg_dio(hws, dc, context); in dce110_apply_ctx_to_hw()
2322 dcb->funcs->set_scratch_critical_state(dcb, false); in dce110_apply_ctx_to_hw()
2347 pipe_ctx->plane_res.xfm->funcs->opp_set_csc_default( in set_default_colors()
2395 pipe_ctx->stream_res.tg->funcs->set_blank(pipe_ctx->stream_res.tg, blank_target); in program_surface_visibility()
2415 pipe_ctx->plane_res.xfm->funcs->transform_set_gamut_remap(pipe_ctx->plane_res.xfm, &adjust); in program_gamut_remap()
2425 pipe_ctx->plane_res.mi->funcs->mem_input_program_surface_flip_and_addr( in update_plane_addr()
2441 pipe_ctx->plane_res.mi->funcs->mem_input_is_flip_pending( in dce110_update_pending_status()
2449 pipe_ctx->stream_res.tg->funcs->is_stereo_left_eye) { in dce110_update_pending_status()
2451 !pipe_ctx->stream_res.tg->funcs->is_stereo_left_eye(pipe_ctx->stream_res.tg); in dce110_update_pending_status()
2474 if (!tg->funcs->is_counter_moving(tg)) { in wait_for_reset_trigger_to_occur()
2479 if (tg->funcs->did_triggered_reset_occur(tg)) { in wait_for_reset_trigger_to_occur()
2488 tg->funcs->wait_for_state(tg, CRTC_STATE_VACTIVE); in wait_for_reset_trigger_to_occur()
2489 tg->funcs->wait_for_state(tg, CRTC_STATE_VBLANK); in wait_for_reset_trigger_to_occur()
2518 grouped_pipes[i]->stream_res.tg->funcs->setup_global_swap_lock( in dce110_enable_timing_synchronization()
2525 grouped_pipes[i]->stream_res.tg->funcs->enable_reset_trigger( in dce110_enable_timing_synchronization()
2532 grouped_pipes[i]->stream_res.tg->funcs->disable_reset_trigger( in dce110_enable_timing_synchronization()
2540 …grouped_pipes[i]->stream_res.tg->funcs->tear_down_global_swap_lock(grouped_pipes[i]->stream_res.tg… in dce110_enable_timing_synchronization()
2558 grouped_pipes[i]->stream_res.tg->funcs->setup_global_swap_lock( in dce110_enable_per_frame_crtc_position_reset()
2564 grouped_pipes[i]->stream_res.tg->funcs->enable_crtc_reset( in dce110_enable_per_frame_crtc_position_reset()
2574 …grouped_pipes[i]->stream_res.tg->funcs->tear_down_global_swap_lock(grouped_pipes[i]->stream_res.tg… in dce110_enable_per_frame_crtc_position_reset()
2596 xfm->funcs->transform_reset(xfm); in init_hw()
2598 hws->funcs.enable_display_power_gating( in init_hw()
2601 hws->funcs.enable_display_power_gating( in init_hw()
2604 hws->funcs.enable_display_pipe_clock_gating( in init_hw()
2619 link->link_enc->funcs->hw_init(link->link_enc); in init_hw()
2625 tg->funcs->disable_vga(tg); in init_hw()
2629 tg->funcs->set_blank(tg, true); in init_hw()
2635 audio->funcs->hw_init(audio); in init_hw()
2642 backlight = link->panel_cntl->funcs->hw_init(link->panel_cntl); in init_hw()
2647 abm->funcs->abm_init(abm, backlight); in init_hw()
2651 abm->dmcu_is_running = dmcu->funcs->is_dmcu_initialized(dmcu); in init_hw()
2654 dc->fbc_compressor->funcs->power_up_fbc(dc->fbc_compressor); in init_hw()
2667 dccg->funcs->update_clocks( in dce110_prepare_bandwidth()
2682 dccg->funcs->update_clocks( in dce110_optimize_bandwidth()
2716 pipe_ctx->plane_res.xfm->funcs->opp_set_csc_adjustment in dce110_program_front_end_for_pipe()
2728 pipe_ctx->plane_res.xfm->funcs->transform_set_gamut_remap(pipe_ctx->plane_res.xfm, &adjust); in dce110_program_front_end_for_pipe()
2734 mi->funcs->mem_input_program_surface_config( in dce110_program_front_end_for_pipe()
2742 if (mi->funcs->set_blank) in dce110_program_front_end_for_pipe()
2743 mi->funcs->set_blank(mi, pipe_ctx->plane_state->visible); in dce110_program_front_end_for_pipe()
2746 mi->funcs->mem_input_program_pte_vm( in dce110_program_front_end_for_pipe()
2756 hws->funcs.set_input_transfer_func(dc, pipe_ctx, pipe_ctx->plane_state); in dce110_program_front_end_for_pipe()
2759 hws->funcs.set_output_transfer_func(dc, pipe_ctx, pipe_ctx->stream); in dce110_program_front_end_for_pipe()
2811 dc->fbc_compressor->funcs->disable_fbc(dc->fbc_compressor); in dce110_apply_ctx_for_surface()
2820 pipe_ctx->plane_res.mi->funcs->allocate_mem_input( in dce110_apply_ctx_for_surface()
2855 hws->funcs.enable_display_power_gating( in dce110_power_down_fe()
2858 dc->res_pool->transforms[fe_idx]->funcs->transform_reset( in dce110_power_down_fe()
2887 pipe_ctx->plane_res.xfm->funcs->opp_set_csc_adjustment( in program_output_csc()
2931 if (ipp->funcs->ipp_cursor_set_position) in dce110_set_cursor_position()
2932 ipp->funcs->ipp_cursor_set_position(ipp, &pos_cpy, &param); in dce110_set_cursor_position()
2933 if (mi->funcs->set_cursor_position) in dce110_set_cursor_position()
2934 mi->funcs->set_cursor_position(mi, &pos_cpy, &param); in dce110_set_cursor_position()
2942 pipe_ctx->plane_res.ipp->funcs->ipp_cursor_set_attributes) in dce110_set_cursor_attribute()
2943 pipe_ctx->plane_res.ipp->funcs->ipp_cursor_set_attributes( in dce110_set_cursor_attribute()
2947 pipe_ctx->plane_res.mi->funcs->set_cursor_attributes) in dce110_set_cursor_attribute()
2948 pipe_ctx->plane_res.mi->funcs->set_cursor_attributes( in dce110_set_cursor_attribute()
2952 pipe_ctx->plane_res.xfm->funcs->set_cursor_attributes) in dce110_set_cursor_attribute()
2953 pipe_ctx->plane_res.xfm->funcs->set_cursor_attributes( in dce110_set_cursor_attribute()
2972 if (abm == NULL || panel_cntl == NULL || (abm->funcs->set_backlight_level_pwm == NULL)) in dce110_set_backlight_level()
2976 fw_set_brightness = dmcu->funcs->is_dmcu_initialized(dmcu); in dce110_set_backlight_level()
2978 if (!fw_set_brightness && panel_cntl->funcs->driver_set_backlight) in dce110_set_backlight_level()
2979 panel_cntl->funcs->driver_set_backlight(panel_cntl, backlight_pwm_u16_16); in dce110_set_backlight_level()
2981 abm->funcs->set_backlight_level_pwm( in dce110_set_backlight_level()
2997 abm->funcs->set_abm_immediate_disable(abm, in dce110_set_abm_immediate_disable()
3001 panel_cntl->funcs->store_backlight_level(panel_cntl); in dce110_set_abm_immediate_disable()
3011 abm->funcs->set_pipe(abm, otg_inst, panel_cntl->inst); in dce110_set_pipe()
3019 link->link_enc->funcs->enable_lvds_output( in dce110_enable_lvds_link_output()
3033 link->link_enc->funcs->enable_tmds_output( in dce110_enable_tmds_link_output()
3080 pipes[i].clock_source->funcs->program_pix_clk( in dce110_enable_dp_link_output()
3090 if (dc->clk_mgr->funcs->notify_link_rate_change) in dce110_enable_dp_link_output()
3091 dc->clk_mgr->funcs->notify_link_rate_change(dc->clk_mgr, link); in dce110_enable_dp_link_output()
3094 if (dmcu != NULL && dmcu->funcs->lock_phy) in dce110_enable_dp_link_output()
3095 dmcu->funcs->lock_phy(dmcu); in dce110_enable_dp_link_output()
3103 if (dmcu != NULL && dmcu->funcs->unlock_phy) in dce110_enable_dp_link_output()
3104 dmcu->funcs->unlock_phy(dmcu); in dce110_enable_dp_link_output()
3120 else if (dmcu != NULL && dmcu->funcs->lock_phy) in dce110_disable_link_output()
3121 dmcu->funcs->lock_phy(dmcu); in dce110_disable_link_output()
3130 if (dmcu != NULL && dmcu->funcs->lock_phy) in dce110_disable_link_output()
3131 dmcu->funcs->unlock_phy(dmcu); in dce110_disable_link_output()
3198 dc->hwseq->funcs = dce110_private_funcs; in dce110_hw_sequencer_construct()