HAP_dcvs APIs
DSP Power & Performance Management
APIs to specify core/bus clock frequency level within target voltage corner

Functions

static int HAP_set_dcvs_v3_core_perf_mode (HAP_power_request_t *request, HAP_dcvs_clk_perf_mode_t perf_mode)
 
static int HAP_set_dcvs_v3_bus_perf_mode (HAP_power_request_t *request, HAP_dcvs_clk_perf_mode_t perf_mode)
 

Detailed Description

Function Documentation

◆ HAP_set_dcvs_v3_bus_perf_mode()

static int HAP_set_dcvs_v3_bus_perf_mode ( HAP_power_request_t *  request,
HAP_dcvs_clk_perf_mode_t  perf_mode 
)
inlinestatic

Method to specify bus clock frequency level corresponding to the target corner request in the request structure intended for HAP_power_set for request type set to HAP_power_set_DCVS_v3.

By default, the highest bus clock frequency available at the requested target_corner is selected. Using this API, user can select either the highest (HAP_DCVS_CLK_PERF_HIGH) or the lowest (HAP_DCVS_CLK_PERF_LOW) bus clock frequency at any given target_corner. If there is only one bus clock frequency available at the requested target_corner, both the high and low settings will select the same.

Note: Request type should be set to HAP_power_set_DCVS_v3.

Supported on latest chipsets(released after Palima).

Parameters
[in]requestPointer to request structure.
[in]perf_modePerf mode to specify bus clock frequency level within target voltage corner.
Returns
0 upon success.
Nonzero upon failure.
AEE_EVERSIONNOTSUPPORT if unsupported.

◆ HAP_set_dcvs_v3_core_perf_mode()

static int HAP_set_dcvs_v3_core_perf_mode ( HAP_power_request_t *  request,
HAP_dcvs_clk_perf_mode_t  perf_mode 
)
inlinestatic

Method to specify core clock frequency level corresponding to the target corner request in the request structure intended for HAP_power_set for request type set to HAP_power_set_DCVS_v3.

By default, the highest core clock frequency available at the requested target_corner is selected. Using this API, user can select either the highest (HAP_DCVS_CLK_PERF_HIGH) or the lowest (HAP_DCVS_CLK_PERF_LOW) core clock frequency at any given target_corner. If there is only one core clock frequency available at the requested target_corner, both the high and low settings will select the same.

Note: Request type should be set to HAP_power_set_DCVS_v3.

Supported on latest chipsets(released after Palima).

Parameters
[in]requestPointer to request structure.
[in]perf_modePerf mode to specify core clock frequency level within target voltage corner.
Returns
0 upon success.
Nonzero upon failure.
AEE_EVERSIONNOTSUPPORT if unsupported.