PROTOCOLS
Scpi
Defined in fuchsia.hardware.scpi/scpi.banjo
GetDvfsIdx
Request
Name | Type |
---|---|
power_domain |
uint8
|
Response
Name | Type |
---|---|
s |
zx/status
|
index |
uint16
|
GetDvfsInfo
Request
Name | Type |
---|---|
power_domain |
uint8
|
Response
Name | Type |
---|---|
s |
zx/status
|
opps |
ScpiOpp
|
GetSensor
Request
Name | Type |
---|---|
name |
string
|
Response
Name | Type |
---|---|
s |
zx/status
|
sensor_id |
uint32
|
GetSensorValue
Request
Name | Type |
---|---|
sensor_id |
uint32
|
Response
Name | Type |
---|---|
s |
zx/status
|
sensor_value |
uint32
|
SetDvfsIdx
Request
Name | Type |
---|---|
power_domain |
uint8
|
index |
uint16
|
Response
Name | Type |
---|---|
s |
zx/status
|
STRUCTS
ScpiOpp
Defined in fuchsia.hardware.scpi/scpi.banjo
Name | Type | Description | Default |
---|---|---|---|
opp |
[16]
|
The device's operating points. |
No default |
latency |
uint32
|
In microseconds. |
No default |
count |
uint32
|
The number of operating points in opp. |
No default |
ScpiOppEntry
Defined in fuchsia.hardware.scpi/scpi.banjo
Name | Type | Description | Default |
---|---|---|---|
freq_hz |
uint32
|
The operating point frequency in Hz. |
No default |
volt_uv |
uint32
|
The operating point voltage in microvolts. |
No default |
CONSTANTS
Name | Value | Type | Description |
---|---|---|---|
MAX_DVFS_OPPS |
16
|
uint32 |