bp_params 752 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c struct bp_adjust_pixel_clock_parameters *bp_params) bp_params 759 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c return bp->cmd_tbl.adjust_display_pll(bp, bp_params); bp_params 764 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c struct bp_pixel_clock_parameters *bp_params) bp_params 771 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c return bp->cmd_tbl.set_pixel_clock(bp, bp_params); bp_params 776 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c struct bp_set_dce_clock_parameters *bp_params) bp_params 783 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c return bp->cmd_tbl.set_dce_clock(bp, bp_params); bp_params 788 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c struct bp_spread_spectrum_parameters *bp_params, bp_params 797 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c bp, bp_params, enable); bp_params 803 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c struct bp_hw_crtc_timing_parameters *bp_params) bp_params 810 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c return bp->cmd_tbl.set_crtc_timing(bp, bp_params); bp_params 815 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c struct bp_pixel_clock_parameters *bp_params) bp_params 822 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c return bp->cmd_tbl.program_clock(bp, bp_params); bp_params 1043 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct bp_pixel_clock_parameters *bp_params) bp_params 1050 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c return bp->cmd_tbl.set_pixel_clock(bp, bp_params); bp_params 1055 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct bp_set_dce_clock_parameters *bp_params) bp_params 1062 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c return bp->cmd_tbl.set_dce_clock(bp, bp_params); bp_params 1067 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct bp_hw_crtc_timing_parameters *bp_params) bp_params 1074 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c return bp->cmd_tbl.set_crtc_timing(bp, bp_params); bp_params 905 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params); bp_params 908 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params); bp_params 911 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params); bp_params 914 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params); bp_params 941 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params) bp_params 949 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (CLOCK_SOURCE_ID_PLL1 == bp_params->pll_id) bp_params 951 drivers/gpu/drm/amd/display/dc/bios/command_table.c else if (CLOCK_SOURCE_ID_PLL2 == bp_params->pll_id) bp_params 957 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)bp_params->reference_divider); bp_params 959 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)bp_params->feedback_divider); bp_params 961 drivers/gpu/drm/amd/display/dc/bios/command_table.c (uint8_t)bp_params->fractional_feedback_divider; bp_params 963 drivers/gpu/drm/amd/display/dc/bios/command_table.c (uint8_t)bp_params->pixel_clock_post_divider; bp_params 967 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->target_pixel_clock_100hz / 100)); bp_params 973 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->encoder_object_id)); bp_params 976 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->signal_type, false)); bp_params 978 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.FORCE_PROGRAMMING_OF_PLL) bp_params 981 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.USE_E_CLOCK_AS_SOURCE_FOR_D_CLOCK) bp_params 984 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (CONTROLLER_ID_D1 != bp_params->controller_id) bp_params 1013 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params) bp_params 1022 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp->cmd_helper->clock_source_id_to_atom(bp_params->pll_id, &pll_id) bp_params 1024 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->controller_id, &controller_id)) { bp_params 1028 drivers/gpu/drm/amd/display/dc/bios/command_table.c (uint8_t)(bp_params->reference_divider); bp_params 1030 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->feedback_divider)); bp_params 1032 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le32(bp_params->fractional_feedback_divider); bp_params 1034 drivers/gpu/drm/amd/display/dc/bios/command_table.c (uint8_t)(bp_params->pixel_clock_post_divider); bp_params 1038 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->encoder_object_id)); bp_params 1041 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->signal_type, false); bp_params 1045 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->target_pixel_clock_100hz / 100)); bp_params 1047 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.FORCE_PROGRAMMING_OF_PLL) bp_params 1051 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.SET_EXTERNAL_REF_DIV_SRC) bp_params 1070 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params) bp_params 1079 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp->cmd_helper->clock_source_id_to_atom(bp_params->pll_id, &pll_id) bp_params 1081 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->controller_id, &controller_id)) { bp_params 1104 drivers/gpu/drm/amd/display/dc/bios/command_table.c (uint8_t) bp_params->reference_divider; bp_params 1106 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t) bp_params->feedback_divider); bp_params 1108 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le32(bp_params->fractional_feedback_divider); bp_params 1110 drivers/gpu/drm/amd/display/dc/bios/command_table.c (uint8_t) bp_params->pixel_clock_post_divider; bp_params 1114 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->encoder_object_id)); bp_params 1117 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->signal_type, false); bp_params 1121 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le32(bp_params->target_pixel_clock_100hz / 100); bp_params 1123 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.FORCE_PROGRAMMING_OF_PLL) { bp_params 1128 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.SET_EXTERNAL_REF_DIV_SRC) { bp_params 1148 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params) bp_params 1157 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp->cmd_helper->clock_source_id_to_atom(bp_params->pll_id, &pll_id) bp_params 1158 drivers/gpu/drm/amd/display/dc/bios/command_table.c && bp->cmd_helper->controller_id_to_atom(bp_params->controller_id, &controller_id)) { bp_params 1180 drivers/gpu/drm/amd/display/dc/bios/command_table.c clk.ucTransmitterID = bp->cmd_helper->encoder_id_to_atom(dal_graphics_object_id_get_encoder_id(bp_params->encoder_object_id)); bp_params 1181 drivers/gpu/drm/amd/display/dc/bios/command_table.c clk.ucEncoderMode = (uint8_t) bp->cmd_helper->encoder_mode_bp_to_atom(bp_params->signal_type, false); bp_params 1183 drivers/gpu/drm/amd/display/dc/bios/command_table.c clk.ulPixelClock = cpu_to_le32(bp_params->target_pixel_clock_100hz); bp_params 1185 drivers/gpu/drm/amd/display/dc/bios/command_table.c clk.ucDeepColorRatio = (uint8_t) bp->cmd_helper->transmitter_color_depth_to_atom(bp_params->color_depth); bp_params 1187 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.FORCE_PROGRAMMING_OF_PLL) bp_params 1190 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.SET_EXTERNAL_REF_DIV_SRC) bp_params 1193 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.PROGRAM_PHY_PLL_ONLY) bp_params 1196 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.SUPPORT_YUV_420) bp_params 1199 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.SET_XTALIN_REF_SRC) bp_params 1202 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.SET_GENLOCK_REF_DIV_SRC) bp_params 1205 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->signal_type == SIGNAL_TYPE_DVI_DUAL_LINK) bp_params 1223 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_spread_spectrum_parameters *bp_params, bp_params 1227 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_spread_spectrum_parameters *bp_params, bp_params 1231 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_spread_spectrum_parameters *bp_params, bp_params 1259 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_spread_spectrum_parameters *bp_params, bp_params 1267 drivers/gpu/drm/amd/display/dc/bios/command_table.c if ((enable == true) && (bp_params->percentage > 0)) bp_params 1273 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)bp_params->percentage); bp_params 1275 drivers/gpu/drm/amd/display/dc/bios/command_table.c (uint8_t)bp_params->ver1.step; bp_params 1277 drivers/gpu/drm/amd/display/dc/bios/command_table.c (uint8_t)bp_params->ver1.delay; bp_params 1280 drivers/gpu/drm/amd/display/dc/bios/command_table.c (uint8_t)(bp_params->ver1.range / 10000); bp_params 1282 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.EXTERNAL_SS) bp_params 1285 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.CENTER_SPREAD) bp_params 1288 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->pll_id == CLOCK_SOURCE_ID_PLL1) bp_params 1290 drivers/gpu/drm/amd/display/dc/bios/command_table.c else if (bp_params->pll_id == CLOCK_SOURCE_ID_PLL2) bp_params 1303 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_spread_spectrum_parameters *bp_params, bp_params 1311 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->pll_id == CLOCK_SOURCE_ID_PLL1) bp_params 1313 drivers/gpu/drm/amd/display/dc/bios/command_table.c else if (bp_params->pll_id == CLOCK_SOURCE_ID_PLL2) bp_params 1318 drivers/gpu/drm/amd/display/dc/bios/command_table.c if ((enable == true) && (bp_params->percentage > 0)) { bp_params 1322 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->percentage)); bp_params 1324 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->ds.ds_frac_size)); bp_params 1326 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.EXTERNAL_SS) bp_params 1330 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.CENTER_SPREAD) bp_params 1338 drivers/gpu/drm/amd/display/dc/bios/command_table.c ((bp_params->ds.feedback_amount << bp_params 1341 drivers/gpu/drm/amd/display/dc/bios/command_table.c ((bp_params->ds.nfrac_amount << bp_params 1355 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_spread_spectrum_parameters *bp_params, bp_params 1363 drivers/gpu/drm/amd/display/dc/bios/command_table.c switch (bp_params->pll_id) { bp_params 1392 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->ds_frac_amount)); bp_params 1394 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->ds.ds_frac_size)); bp_params 1396 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.EXTERNAL_SS) bp_params 1399 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.CENTER_SPREAD) bp_params 1407 drivers/gpu/drm/amd/display/dc/bios/command_table.c ((bp_params->ds.feedback_amount << bp_params 1410 drivers/gpu/drm/amd/display/dc/bios/command_table.c ((bp_params->ds.nfrac_amount << bp_params 1432 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_adjust_pixel_clock_parameters *bp_params); bp_params 1435 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_adjust_pixel_clock_parameters *bp_params); bp_params 1456 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_adjust_pixel_clock_parameters *bp_params) bp_params 1463 drivers/gpu/drm/amd/display/dc/bios/command_table.c uint32_t pixel_clock_10KHz_in = bp_params->pixel_clock / 10; bp_params 1469 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->encoder_object_id)); bp_params 1472 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->signal_type, false); bp_params 1478 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_adjust_pixel_clock_parameters *bp_params) bp_params 1482 drivers/gpu/drm/amd/display/dc/bios/command_table.c uint32_t pixel_clk_10_kHz_in = bp_params->pixel_clock / 10; bp_params 1492 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->encoder_object_id)); bp_params 1495 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->signal_type, false); bp_params 1497 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->ss_enable == true) bp_params 1500 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->signal_type == SIGNAL_TYPE_DVI_DUAL_LINK) bp_params 1509 drivers/gpu/drm/amd/display/dc/bios/command_table.c uint64_t pixel_clk = (uint64_t)bp_params->pixel_clock; bp_params 1512 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->adjusted_pixel_clock = bp_params 1516 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->adjusted_pixel_clock = 0; bp_params 1520 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->reference_divider = params.sOutput.ucRefDiv; bp_params 1521 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->pixel_clock_post_divider = params.sOutput.ucPostDiv; bp_params 1706 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_hw_crtc_timing_parameters *bp_params); bp_params 1709 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_hw_crtc_timing_parameters *bp_params); bp_params 1742 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_hw_crtc_timing_parameters *bp_params) bp_params 1749 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->controller_id, &atom_controller_id)) bp_params 1752 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usH_Total = cpu_to_le16((uint16_t)(bp_params->h_total)); bp_params 1753 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usH_Disp = cpu_to_le16((uint16_t)(bp_params->h_addressable)); bp_params 1754 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usH_SyncStart = cpu_to_le16((uint16_t)(bp_params->h_sync_start)); bp_params 1755 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usH_SyncWidth = cpu_to_le16((uint16_t)(bp_params->h_sync_width)); bp_params 1756 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usV_Total = cpu_to_le16((uint16_t)(bp_params->v_total)); bp_params 1757 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usV_Disp = cpu_to_le16((uint16_t)(bp_params->v_addressable)); bp_params 1759 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->v_sync_start)); bp_params 1761 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->v_sync_width)); bp_params 1769 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.ucOverscanRight = (uint8_t)bp_params->h_overscan_right; bp_params 1770 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.ucOverscanLeft = (uint8_t)bp_params->h_overscan_left; bp_params 1771 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.ucOverscanBottom = (uint8_t)bp_params->v_overscan_bottom; bp_params 1772 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.ucOverscanTop = (uint8_t)bp_params->v_overscan_top; bp_params 1774 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (0 == bp_params->flags.HSYNC_POSITIVE_POLARITY) bp_params 1778 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (0 == bp_params->flags.VSYNC_POSITIVE_POLARITY) bp_params 1782 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.INTERLACE) { bp_params 1800 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->v_sync_start + 1)); bp_params 1803 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.HORZ_COUNT_BY_TWO) bp_params 1815 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_hw_crtc_timing_parameters *bp_params) bp_params 1822 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->controller_id, &atom_controller_id)) bp_params 1826 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usH_Size = cpu_to_le16((uint16_t)bp_params->h_addressable); bp_params 1829 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->h_total - bp_params->h_addressable)); bp_params 1831 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usV_Size = cpu_to_le16((uint16_t)bp_params->v_addressable); bp_params 1834 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->v_total - bp_params->v_addressable)); bp_params 1839 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->h_sync_start - bp_params->h_addressable)); bp_params 1840 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usH_SyncWidth = cpu_to_le16((uint16_t)bp_params->h_sync_width); bp_params 1845 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t)(bp_params->v_sync_start - bp_params->v_addressable)); bp_params 1846 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.usV_SyncWidth = cpu_to_le16((uint16_t)bp_params->v_sync_width); bp_params 1853 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (0 == bp_params->flags.HSYNC_POSITIVE_POLARITY) bp_params 1857 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (0 == bp_params->flags.VSYNC_POSITIVE_POLARITY) bp_params 1861 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.INTERLACE) { bp_params 1886 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.HORZ_COUNT_BY_TWO) bp_params 2009 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params); bp_params 2012 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params); bp_params 2033 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params) bp_params 2042 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->pll_id, &atom_pll_id)) { bp_params 2050 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le16((uint16_t) (bp_params->target_pixel_clock_100hz / 100)); bp_params 2053 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.SET_EXTERNAL_REF_DIV_SRC) bp_params 2064 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_pixel_clock_parameters *bp_params) bp_params 2074 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->pll_id, &atom_pll_id)) { bp_params 2082 drivers/gpu/drm/amd/display/dc/bios/command_table.c cpu_to_le32(bp_params->target_pixel_clock_100hz / 100); bp_params 2084 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.SET_EXTERNAL_REF_DIV_SRC) bp_params 2087 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.SET_DISPCLK_DFS_BYPASS) bp_params 2093 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->dfs_bypass_display_clock = bp_params 2290 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_set_dce_clock_parameters *bp_params); bp_params 2308 drivers/gpu/drm/amd/display/dc/bios/command_table.c struct bp_set_dce_clock_parameters *bp_params) bp_params 2319 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (!cmd->clock_source_id_to_atom(bp_params->pll_id, &atom_pll_id) || bp_params 2320 drivers/gpu/drm/amd/display/dc/bios/command_table.c !cmd->dc_clock_type_to_atom(bp_params->clock_type, &atom_clock_type)) bp_params 2326 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->clock_type == DCECLOCK_TYPE_DPREFCLK) { bp_params 2327 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.USE_GENLOCK_AS_SOURCE_FOR_DPREFCLK) bp_params 2330 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.USE_PCIE_AS_SOURCE_FOR_DPREFCLK) bp_params 2333 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.USE_XTALIN_AS_SOURCE_FOR_DPREFCLK) bp_params 2336 drivers/gpu/drm/amd/display/dc/bios/command_table.c if (bp_params->flags.USE_GENERICA_AS_SOURCE_FOR_DPREFCLK) bp_params 2342 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.asParam.ulDCEClkFreq = cpu_to_le32(bp_params->target_clock_frequency / 10); bp_params 2346 drivers/gpu/drm/amd/display/dc/bios/command_table.c bp_params->target_clock_frequency = le32_to_cpu(params.asParam.ulDCEClkFreq) * 10; bp_params 47 drivers/gpu/drm/amd/display/dc/bios/command_table.h struct bp_pixel_clock_parameters *bp_params); bp_params 50 drivers/gpu/drm/amd/display/dc/bios/command_table.h struct bp_spread_spectrum_parameters *bp_params, bp_params 54 drivers/gpu/drm/amd/display/dc/bios/command_table.h struct bp_adjust_pixel_clock_parameters *bp_params); bp_params 73 drivers/gpu/drm/amd/display/dc/bios/command_table.h struct bp_hw_crtc_timing_parameters *bp_params); bp_params 84 drivers/gpu/drm/amd/display/dc/bios/command_table.h struct bp_pixel_clock_parameters *bp_params); bp_params 94 drivers/gpu/drm/amd/display/dc/bios/command_table.h struct bp_set_dce_clock_parameters *bp_params); bp_params 242 drivers/gpu/drm/amd/display/dc/bios/command_table2.c struct bp_pixel_clock_parameters *bp_params); bp_params 262 drivers/gpu/drm/amd/display/dc/bios/command_table2.c struct bp_pixel_clock_parameters *bp_params) bp_params 271 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp->cmd_helper->clock_source_id_to_atom(bp_params->pll_id, &pll_id) bp_params 272 drivers/gpu/drm/amd/display/dc/bios/command_table2.c && bp->cmd_helper->controller_id_to_atom(bp_params-> bp_params 298 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->encoder_object_id)); bp_params 302 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->signal_type, false); bp_params 304 drivers/gpu/drm/amd/display/dc/bios/command_table2.c clk.pixclk_100hz = cpu_to_le32(bp_params->target_pixel_clock_100hz); bp_params 309 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->color_depth); bp_params 313 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->target_pixel_clock_100hz, (int)controller_id, bp_params 314 drivers/gpu/drm/amd/display/dc/bios/command_table2.c pll_id, bp_params->color_depth); bp_params 316 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.FORCE_PROGRAMMING_OF_PLL) bp_params 319 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.PROGRAM_PHY_PLL_ONLY) bp_params 322 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.SUPPORT_YUV_420) bp_params 325 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.SET_XTALIN_REF_SRC) bp_params 328 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.SET_GENLOCK_REF_DIV_SRC) bp_params 331 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->signal_type == SIGNAL_TYPE_DVI_DUAL_LINK) bp_params 350 drivers/gpu/drm/amd/display/dc/bios/command_table2.c struct bp_hw_crtc_timing_parameters *bp_params); bp_params 371 drivers/gpu/drm/amd/display/dc/bios/command_table2.c struct bp_hw_crtc_timing_parameters *bp_params) bp_params 378 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->controller_id, &atom_controller_id)) bp_params 382 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.h_size = cpu_to_le16((uint16_t)bp_params->h_addressable); bp_params 385 drivers/gpu/drm/amd/display/dc/bios/command_table2.c cpu_to_le16((uint16_t)(bp_params->h_total - bp_params 386 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->h_addressable)); bp_params 388 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.v_size = cpu_to_le16((uint16_t)bp_params->v_addressable); bp_params 391 drivers/gpu/drm/amd/display/dc/bios/command_table2.c cpu_to_le16((uint16_t)(bp_params->v_total - bp_params 392 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->v_addressable)); bp_params 398 drivers/gpu/drm/amd/display/dc/bios/command_table2.c cpu_to_le16((uint16_t)(bp_params->h_sync_start - bp_params 399 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->h_addressable)); bp_params 400 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.h_syncwidth = cpu_to_le16((uint16_t)bp_params->h_sync_width); bp_params 406 drivers/gpu/drm/amd/display/dc/bios/command_table2.c cpu_to_le16((uint16_t)(bp_params->v_sync_start - bp_params 407 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->v_addressable)); bp_params 408 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.v_syncwidth = cpu_to_le16((uint16_t)bp_params->v_sync_width); bp_params 415 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.HSYNC_POSITIVE_POLARITY == 0) bp_params 420 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.VSYNC_POSITIVE_POLARITY == 0) bp_params 425 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.INTERLACE) { bp_params 452 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.HORZ_COUNT_BY_TWO) bp_params 623 drivers/gpu/drm/amd/display/dc/bios/command_table2.c struct bp_set_dce_clock_parameters *bp_params); bp_params 641 drivers/gpu/drm/amd/display/dc/bios/command_table2.c struct bp_set_dce_clock_parameters *bp_params) bp_params 652 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (!cmd->clock_source_id_to_atom(bp_params->pll_id, &atom_pll_id) || bp_params 653 drivers/gpu/drm/amd/display/dc/bios/command_table2.c !cmd->dc_clock_type_to_atom(bp_params->clock_type, bp_params 660 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->clock_type == DCECLOCK_TYPE_DPREFCLK) { bp_params 661 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.USE_GENLOCK_AS_SOURCE_FOR_DPREFCLK) bp_params 665 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.USE_PCIE_AS_SOURCE_FOR_DPREFCLK) bp_params 669 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.USE_XTALIN_AS_SOURCE_FOR_DPREFCLK) bp_params 673 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (bp_params->flags.USE_GENERICA_AS_SOURCE_FOR_DPREFCLK) bp_params 682 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->target_clock_frequency / 10); bp_params 685 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->target_clock_frequency,\ bp_params 686 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->clock_type); bp_params 690 drivers/gpu/drm/amd/display/dc/bios/command_table2.c bp_params->target_clock_frequency = le32_to_cpu( bp_params 47 drivers/gpu/drm/amd/display/dc/bios/command_table2.h struct bp_pixel_clock_parameters *bp_params); bp_params 50 drivers/gpu/drm/amd/display/dc/bios/command_table2.h struct bp_spread_spectrum_parameters *bp_params, bp_params 54 drivers/gpu/drm/amd/display/dc/bios/command_table2.h struct bp_adjust_pixel_clock_parameters *bp_params); bp_params 73 drivers/gpu/drm/amd/display/dc/bios/command_table2.h struct bp_hw_crtc_timing_parameters *bp_params); bp_params 84 drivers/gpu/drm/amd/display/dc/bios/command_table2.h struct bp_pixel_clock_parameters *bp_params); bp_params 94 drivers/gpu/drm/amd/display/dc/bios/command_table2.h struct bp_set_dce_clock_parameters *bp_params); bp_params 107 drivers/gpu/drm/amd/display/dc/dc_bios_types.h struct bp_adjust_pixel_clock_parameters *bp_params); bp_params 110 drivers/gpu/drm/amd/display/dc/dc_bios_types.h struct bp_pixel_clock_parameters *bp_params); bp_params 113 drivers/gpu/drm/amd/display/dc/dc_bios_types.h struct bp_set_dce_clock_parameters *bp_params); bp_params 116 drivers/gpu/drm/amd/display/dc/dc_bios_types.h struct bp_spread_spectrum_parameters *bp_params, bp_params 120 drivers/gpu/drm/amd/display/dc/dc_bios_types.h struct bp_hw_crtc_timing_parameters *bp_params); bp_params 123 drivers/gpu/drm/amd/display/dc/dc_bios_types.h struct bp_pixel_clock_parameters *bp_params); bp_params 715 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c struct bp_spread_spectrum_parameters bp_params = {0}; bp_params 729 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c bp_params.ds.feedback_amount = bp_params 731 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c bp_params.ds.nfrac_amount = bp_params 733 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c bp_params.ds.ds_frac_size = d_s_data.ds_frac_size; bp_params 734 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c bp_params.ds_frac_amount = bp_params 736 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c bp_params.flags.DS_TYPE = 1; bp_params 737 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c bp_params.pll_id = clk_src->base.id; bp_params 738 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c bp_params.percentage = ss_data->percentage; bp_params 740 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c bp_params.flags.CENTER_SPREAD = 1; bp_params 742 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c bp_params.flags.EXTERNAL_SS = 1; bp_params 748 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c &bp_params, bp_params 286 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c struct bp_hw_crtc_timing_parameters bp_params; bp_params 298 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c memset(&bp_params, 0, sizeof(struct bp_hw_crtc_timing_parameters)); bp_params 308 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.controller_id = tg110->controller_id; bp_params 310 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.h_total = patched_crtc_timing.h_total; bp_params 311 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.h_addressable = bp_params 313 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.v_total = patched_crtc_timing.v_total; bp_params 314 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.v_addressable = patched_crtc_timing.v_addressable; bp_params 316 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.h_sync_start = h_sync_start; bp_params 317 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.h_sync_width = patched_crtc_timing.h_sync_width; bp_params 318 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.v_sync_start = v_sync_start; bp_params 319 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.v_sync_width = patched_crtc_timing.v_sync_width; bp_params 322 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.h_overscan_left = bp_params 324 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.h_overscan_right = bp_params 326 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.v_overscan_top = patched_crtc_timing.v_border_top; bp_params 327 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.v_overscan_bottom = bp_params 332 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.flags.HSYNC_POSITIVE_POLARITY = 1; bp_params 335 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.flags.VSYNC_POSITIVE_POLARITY = 1; bp_params 338 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.flags.INTERLACE = 1; bp_params 341 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bp_params.flags.HORZ_COUNT_BY_TWO = 1; bp_params 343 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c result = tg->bp->funcs->program_crtc_timing(tg->bp, &bp_params);