Lines Matching defs:functions
40 struct amdgpu_atpx_functions functions;
58 u32 function_bits; /* supported functions bit vector */
84 return amdgpu_atpx_priv.atpx.functions.power_cntl;
152 * amdgpu_atpx_parse_functions - parse supported functions
154 * @f: supported functions struct
155 * @mask: supported functions mask from ATPX
157 * Use the supported functions mask from ATPX function
158 * ATPX_FUNCTION_VERIFY_INTERFACE to determine what functions
174 * amdgpu_atpx_validate - validate ATPX functions
178 * Validate that required functions are enabled (all asics).
185 if (atpx->functions.px_params) {
213 atpx->functions.i2c_mux_cntl = true;
214 atpx->functions.disp_mux_cntl = true;
220 atpx->functions.disp_mux_cntl = true;
226 atpx->functions.power_cntl = true;
232 atpx->functions.power_cntl = true;
240 atpx->functions.power_cntl = !amdgpu_atpx_priv.bridge_pm_usable;
286 pr_notice("ATPX version %u, functions 0x%08x\n",
289 amdgpu_atpx_parse_functions(&atpx->functions, output.function_bits);
312 if (atpx->functions.power_cntl) {
348 if (atpx->functions.disp_mux_cntl) {
380 if (atpx->functions.i2c_mux_cntl) {
412 if (atpx->functions.switch_start) {
444 if (atpx->functions.switch_end) {
464 * Execute the necessary ATPX functions to switch between the discrete GPU and