pmf.h (c5258d39fc4cbed37e20945715e7eb102f26d65b) | pmf.h (16909aa8c9cc284085f1202c6403ecb9814af812) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * AMD Platform Management Framework Driver 4 * 5 * Copyright (c) 2022, Advanced Micro Devices, Inc. 6 * All Rights Reserved. 7 * 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> --- 377 unchanged lines hidden (view full) --- 386/* SPS Layer */ 387int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf); 388void amd_pmf_update_slider(struct amd_pmf_dev *dev, bool op, int idx, 389 struct amd_pmf_static_slider_granular *table); 390int amd_pmf_init_sps(struct amd_pmf_dev *dev); 391void amd_pmf_deinit_sps(struct amd_pmf_dev *dev); 392int apmf_get_static_slider_granular(struct amd_pmf_dev *pdev, 393 struct apmf_static_slider_granular_output *output); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * AMD Platform Management Framework Driver 4 * 5 * Copyright (c) 2022, Advanced Micro Devices, Inc. 6 * All Rights Reserved. 7 * 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> --- 377 unchanged lines hidden (view full) --- 386/* SPS Layer */ 387int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf); 388void amd_pmf_update_slider(struct amd_pmf_dev *dev, bool op, int idx, 389 struct amd_pmf_static_slider_granular *table); 390int amd_pmf_init_sps(struct amd_pmf_dev *dev); 391void amd_pmf_deinit_sps(struct amd_pmf_dev *dev); 392int apmf_get_static_slider_granular(struct amd_pmf_dev *pdev, 393 struct apmf_static_slider_granular_output *output); |
394bool is_pprof_balanced(struct amd_pmf_dev *pmf); |
|
394 395 396int apmf_update_fan_idx(struct amd_pmf_dev *pdev, bool manual, u32 idx); 397int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf); 398 399/* Auto Mode Layer */ 400int apmf_get_auto_mode_def(struct amd_pmf_dev *pdev, struct apmf_auto_mode *data); 401void amd_pmf_init_auto_mode(struct amd_pmf_dev *dev); --- 17 unchanged lines hidden --- | 395 396 397int apmf_update_fan_idx(struct amd_pmf_dev *pdev, bool manual, u32 idx); 398int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf); 399 400/* Auto Mode Layer */ 401int apmf_get_auto_mode_def(struct amd_pmf_dev *pdev, struct apmf_auto_mode *data); 402void amd_pmf_init_auto_mode(struct amd_pmf_dev *dev); --- 17 unchanged lines hidden --- |