fuchsia.scpi

System Control Power Interface

PROTOCOLS

SystemController

Defined in fuchsia.scpi/scpi.fidl

GetDvfsInfo

Request

NameType
power_domain uint32

Response

NameType
err Status
opps vector<DvfsOpp>

GetSystemStatus

Request

NameType

Response

NameType
err Status
sys_status SystemStatus

STRUCTS

DvfsOpp

Defined in fuchsia.scpi/scpi.fidl

NameTypeDescriptionDefault
freq_hz uint32 No default
volt_uv uint32 No default

SystemStatus

Defined in fuchsia.scpi/scpi.fidl

NameTypeDescriptionDefault
big_cluster_op_index uint32

operating point index for big cluster

No default
small_cluster_op_index uint32

operating point index for small cluster

No default
temperature_celsius float32

current CPU temperature in degrees Celsius

No default
fan_level uint32

current Fan Level

No default
cpu_utilization uint32

current CPU utilization

No default
memory_utilization uint32

current Memory usage

No default

ENUMS

Status

Type: uint32

Defined in fuchsia.scpi/scpi.fidl

NameValueDescription
OK 0

the call completed successfully

ERR_DVFS_INFO 1

failed to get the DVFS operating points information

ERR_DVFS_OPP_IDX 2

failed to get the dvfs opp index which is set currently

ERR_TEMPERATURE 3

failed to get the temperature

ERR_FAN_LEVEL 4

failed to get the fan level

ERR_CPU_STATS 5

failed to get cpu stats info

ERR_MEM_STATS 6

failed to get memory stat info

CONSTANTS

NameValueTypeDescription
MAX_DVFS_OPPS 16 uint32