Home
last modified time | relevance | path

Searched refs:atom_pll_id (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/display/dc/bios/dce112/
Dcommand_table_helper2_dce112.c163 uint32_t *atom_pll_id) in clock_source_id_to_atom() argument
167 if (atom_pll_id != NULL) in clock_source_id_to_atom()
170 *atom_pll_id = ATOM_COMBOPHY_PLL0; in clock_source_id_to_atom()
173 *atom_pll_id = ATOM_COMBOPHY_PLL1; in clock_source_id_to_atom()
176 *atom_pll_id = ATOM_COMBOPHY_PLL2; in clock_source_id_to_atom()
179 *atom_pll_id = ATOM_COMBOPHY_PLL3; in clock_source_id_to_atom()
182 *atom_pll_id = ATOM_COMBOPHY_PLL4; in clock_source_id_to_atom()
185 *atom_pll_id = ATOM_COMBOPHY_PLL5; in clock_source_id_to_atom()
188 *atom_pll_id = ATOM_PPLL0; in clock_source_id_to_atom()
191 *atom_pll_id = ATOM_GCK_DFS; in clock_source_id_to_atom()
[all …]
Dcommand_table_helper_dce112.c163 uint32_t *atom_pll_id) in clock_source_id_to_atom() argument
167 if (atom_pll_id != NULL) in clock_source_id_to_atom()
170 *atom_pll_id = ATOM_COMBOPHY_PLL0; in clock_source_id_to_atom()
173 *atom_pll_id = ATOM_COMBOPHY_PLL1; in clock_source_id_to_atom()
176 *atom_pll_id = ATOM_COMBOPHY_PLL2; in clock_source_id_to_atom()
179 *atom_pll_id = ATOM_COMBOPHY_PLL3; in clock_source_id_to_atom()
182 *atom_pll_id = ATOM_COMBOPHY_PLL4; in clock_source_id_to_atom()
185 *atom_pll_id = ATOM_COMBOPHY_PLL5; in clock_source_id_to_atom()
188 *atom_pll_id = ATOM_PPLL0; in clock_source_id_to_atom()
191 *atom_pll_id = ATOM_GCK_DFS; in clock_source_id_to_atom()
[all …]
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/bios/dce110/
Dcommand_table_helper_dce110.c166 uint32_t *atom_pll_id) in clock_source_id_to_atom() argument
170 if (atom_pll_id != NULL) in clock_source_id_to_atom()
173 *atom_pll_id = ATOM_PPLL0; in clock_source_id_to_atom()
176 *atom_pll_id = ATOM_PPLL1; in clock_source_id_to_atom()
179 *atom_pll_id = ATOM_PPLL2; in clock_source_id_to_atom()
182 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
185 *atom_pll_id = ATOM_EXT_PLL1; in clock_source_id_to_atom()
191 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
195 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
199 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/bios/dce60/
Dcommand_table_helper_dce60.c108 uint32_t *atom_pll_id) in clock_source_id_to_atom() argument
112 if (atom_pll_id != NULL) in clock_source_id_to_atom()
115 *atom_pll_id = ATOM_PPLL0; in clock_source_id_to_atom()
118 *atom_pll_id = ATOM_PPLL1; in clock_source_id_to_atom()
121 *atom_pll_id = ATOM_PPLL2; in clock_source_id_to_atom()
124 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
127 *atom_pll_id = ATOM_EXT_PLL1; in clock_source_id_to_atom()
133 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
137 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
141 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/bios/dce80/
Dcommand_table_helper_dce80.c108 uint32_t *atom_pll_id) in clock_source_id_to_atom() argument
112 if (atom_pll_id != NULL) in clock_source_id_to_atom()
115 *atom_pll_id = ATOM_PPLL0; in clock_source_id_to_atom()
118 *atom_pll_id = ATOM_PPLL1; in clock_source_id_to_atom()
121 *atom_pll_id = ATOM_PPLL2; in clock_source_id_to_atom()
124 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
127 *atom_pll_id = ATOM_EXT_PLL1; in clock_source_id_to_atom()
133 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
137 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
141 *atom_pll_id = ATOM_PPLL_INVALID; in clock_source_id_to_atom()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table_helper_struct.h47 uint32_t *atom_pll_id);
Dcommand_table.c2119 uint32_t atom_pll_id; in program_clock_v5() local
2123 bp_params->pll_id, &atom_pll_id)) { in program_clock_v5()
2129 params.sPCLKInput.ucPpll = (uint8_t) atom_pll_id; in program_clock_v5()
2150 uint32_t atom_pll_id; in program_clock_v6() local
2155 bp_params->pll_id, &atom_pll_id)) { in program_clock_v6()
2161 params.sPCLKInput.ucPpll = (uint8_t)atom_pll_id; in program_clock_v6()
2394 uint32_t atom_pll_id; in set_dce_clock_v2_1() local
2400 if (!cmd->clock_source_id_to_atom(bp_params->pll_id, &atom_pll_id) || in set_dce_clock_v2_1()
2404 params.asParam.ucDCEClkSrc = atom_pll_id; in set_dce_clock_v2_1()
Dcommand_table2.c890 uint32_t atom_pll_id; in set_dce_clock_v2_1() local
896 if (!cmd->clock_source_id_to_atom(bp_params->pll_id, &atom_pll_id) || in set_dce_clock_v2_1()
901 params.param.dceclksrc = atom_pll_id; in set_dce_clock_v2_1()