Home
last modified time | relevance | path

Searched refs:bp_params (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/bios/
H A Damdgpu_command_table.c910 struct bp_pixel_clock_parameters *bp_params);
913 struct bp_pixel_clock_parameters *bp_params);
916 struct bp_pixel_clock_parameters *bp_params);
919 struct bp_pixel_clock_parameters *bp_params);
946 struct bp_pixel_clock_parameters *bp_params) in set_pixel_clock_v3() argument
954 if (CLOCK_SOURCE_ID_PLL1 == bp_params->pll_id) in set_pixel_clock_v3()
956 else if (CLOCK_SOURCE_ID_PLL2 == bp_params->pll_id) in set_pixel_clock_v3()
962 cpu_to_le16((uint16_t)bp_params->reference_divider); in set_pixel_clock_v3()
964 cpu_to_le16((uint16_t)bp_params->feedback_divider); in set_pixel_clock_v3()
966 (uint8_t)bp_params->fractional_feedback_divider; in set_pixel_clock_v3()
[all …]
H A Damdgpu_command_table2.c323 struct bp_pixel_clock_parameters *bp_params);
327 struct bp_pixel_clock_parameters *bp_params);
360 struct bp_pixel_clock_parameters *bp_params) in set_pixel_clock_v7() argument
369 if (bp->cmd_helper->clock_source_id_to_atom(bp_params->pll_id, &pll_id) in set_pixel_clock_v7()
370 && bp->cmd_helper->controller_id_to_atom(bp_params-> in set_pixel_clock_v7()
396 bp_params->encoder_object_id)); in set_pixel_clock_v7()
400 bp_params->signal_type, false); in set_pixel_clock_v7()
402 clk.pixclk_100hz = cpu_to_le32(bp_params->target_pixel_clock_100hz); in set_pixel_clock_v7()
407 bp_params->color_depth); in set_pixel_clock_v7()
411 bp_params->target_pixel_clock_100hz, (int)controller_id, in set_pixel_clock_v7()
[all …]
H A Dcommand_table.h49 struct bp_pixel_clock_parameters *bp_params);
52 struct bp_spread_spectrum_parameters *bp_params,
56 struct bp_adjust_pixel_clock_parameters *bp_params);
75 struct bp_hw_crtc_timing_parameters *bp_params);
86 struct bp_pixel_clock_parameters *bp_params);
96 struct bp_set_dce_clock_parameters *bp_params);
H A Dcommand_table2.h49 struct bp_pixel_clock_parameters *bp_params);
52 struct bp_spread_spectrum_parameters *bp_params,
56 struct bp_adjust_pixel_clock_parameters *bp_params);
75 struct bp_hw_crtc_timing_parameters *bp_params);
86 struct bp_pixel_clock_parameters *bp_params);
96 struct bp_set_dce_clock_parameters *bp_params);
H A Damdgpu_bios_parser.c757 struct bp_adjust_pixel_clock_parameters *bp_params) in bios_parser_adjust_pixel_clock() argument
764 return bp->cmd_tbl.adjust_display_pll(bp, bp_params); in bios_parser_adjust_pixel_clock()
769 struct bp_pixel_clock_parameters *bp_params) in bios_parser_set_pixel_clock() argument
776 return bp->cmd_tbl.set_pixel_clock(bp, bp_params); in bios_parser_set_pixel_clock()
781 struct bp_set_dce_clock_parameters *bp_params) in bios_parser_set_dce_clock() argument
788 return bp->cmd_tbl.set_dce_clock(bp, bp_params); in bios_parser_set_dce_clock()
793 struct bp_spread_spectrum_parameters *bp_params, in bios_parser_enable_spread_spectrum_on_ppll() argument
802 bp, bp_params, enable); in bios_parser_enable_spread_spectrum_on_ppll()
808 struct bp_hw_crtc_timing_parameters *bp_params) in bios_parser_program_crtc_timing() argument
815 return bp->cmd_tbl.set_crtc_timing(bp, bp_params); in bios_parser_program_crtc_timing()
[all …]
H A Damdgpu_bios_parser2.c1055 struct bp_pixel_clock_parameters *bp_params) in bios_parser_set_pixel_clock() argument
1062 return bp->cmd_tbl.set_pixel_clock(bp, bp_params); in bios_parser_set_pixel_clock()
1067 struct bp_set_dce_clock_parameters *bp_params) in bios_parser_set_dce_clock() argument
1074 return bp->cmd_tbl.set_dce_clock(bp, bp_params); in bios_parser_set_dce_clock()
1079 struct bp_hw_crtc_timing_parameters *bp_params) in bios_parser_program_crtc_timing() argument
1086 return bp->cmd_tbl.set_crtc_timing(bp, bp_params); in bios_parser_program_crtc_timing()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/
H A Ddc_bios_types.h109 struct bp_adjust_pixel_clock_parameters *bp_params);
112 struct bp_pixel_clock_parameters *bp_params);
115 struct bp_set_dce_clock_parameters *bp_params);
118 struct bp_spread_spectrum_parameters *bp_params,
122 struct bp_hw_crtc_timing_parameters *bp_params);
125 struct bp_pixel_clock_parameters *bp_params);
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/
H A Damdgpu_dce110_timing_generator.c291 struct bp_hw_crtc_timing_parameters bp_params; in dce110_timing_generator_program_timing_generator() local
303 memset(&bp_params, 0, sizeof(struct bp_hw_crtc_timing_parameters)); in dce110_timing_generator_program_timing_generator()
313 bp_params.controller_id = tg110->controller_id; in dce110_timing_generator_program_timing_generator()
315 bp_params.h_total = patched_crtc_timing.h_total; in dce110_timing_generator_program_timing_generator()
316 bp_params.h_addressable = in dce110_timing_generator_program_timing_generator()
318 bp_params.v_total = patched_crtc_timing.v_total; in dce110_timing_generator_program_timing_generator()
319 bp_params.v_addressable = patched_crtc_timing.v_addressable; in dce110_timing_generator_program_timing_generator()
321 bp_params.h_sync_start = h_sync_start; in dce110_timing_generator_program_timing_generator()
322 bp_params.h_sync_width = patched_crtc_timing.h_sync_width; in dce110_timing_generator_program_timing_generator()
323 bp_params.v_sync_start = v_sync_start; in dce110_timing_generator_program_timing_generator()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
H A Damdgpu_dce_clock_source.c720 struct bp_spread_spectrum_parameters bp_params = {0}; in enable_spread_spectrum() local
734 bp_params.ds.feedback_amount = in enable_spread_spectrum()
736 bp_params.ds.nfrac_amount = in enable_spread_spectrum()
738 bp_params.ds.ds_frac_size = d_s_data.ds_frac_size; in enable_spread_spectrum()
739 bp_params.ds_frac_amount = in enable_spread_spectrum()
741 bp_params.flags.DS_TYPE = 1; in enable_spread_spectrum()
742 bp_params.pll_id = clk_src->base.id; in enable_spread_spectrum()
743 bp_params.percentage = ss_data->percentage; in enable_spread_spectrum()
745 bp_params.flags.CENTER_SPREAD = 1; in enable_spread_spectrum()
747 bp_params.flags.EXTERNAL_SS = 1; in enable_spread_spectrum()
[all …]