PROTOCOLS
ClockImpl
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Each method in this protocol has a corresponding method in clock.fidl with an additional ID parameter. The ID parameter in each method below designates the clock in the system that the call is intended to target. Conversely, each instance of ZX_PROTOCOL_CLOCK pertains to only one clock in the system. See clock.fidl for documentation for each method.
Disable
Request
Name | Type |
---|---|
id |
uint32
|
Response
Name | Type |
---|---|
payload |
ClockImpl_Disable_Result
|
Enable
Clock Gating Control.
Request
Name | Type |
---|---|
id |
uint32
|
Response
Name | Type |
---|---|
payload |
ClockImpl_Enable_Result
|
GetInput
Request
Name | Type |
---|---|
id |
uint32
|
Response
Name | Type |
---|---|
payload |
ClockImpl_GetInput_Result
|
GetNumInputs
Request
Name | Type |
---|---|
id |
uint32
|
Response
Name | Type |
---|---|
payload |
ClockImpl_GetNumInputs_Result
|
GetRate
Request
Name | Type |
---|---|
id |
uint32
|
Response
Name | Type |
---|---|
payload |
ClockImpl_GetRate_Result
|
IsEnabled
Request
Name | Type |
---|---|
id |
uint32
|
Response
Name | Type |
---|---|
payload |
ClockImpl_IsEnabled_Result
|
QuerySupportedRate
Request
Name | Type |
---|---|
id |
uint32
|
hz |
uint64
|
Response
Name | Type |
---|---|
payload |
ClockImpl_QuerySupportedRate_Result
|
SetInput
Clock input control.
Request
Name | Type |
---|---|
id |
uint32
|
idx |
uint32
|
Response
Name | Type |
---|---|
payload |
ClockImpl_SetInput_Result
|
SetRate
Clock Frequency Scaling Control.
Request
Name | Type |
---|---|
id |
uint32
|
hz |
uint64
|
Response
Name | Type |
---|---|
payload |
ClockImpl_SetRate_Result
|
STRUCTS
ClockImpl_Disable_Response
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
<EMPTY>
ClockImpl_Enable_Response
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
<EMPTY>
ClockImpl_GetInput_Response
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Field | Type | Description | Default |
---|---|---|---|
index |
uint32
|
No default |
ClockImpl_GetNumInputs_Response
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Field | Type | Description | Default |
---|---|---|---|
n |
uint32
|
No default |
ClockImpl_GetRate_Response
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Field | Type | Description | Default |
---|---|---|---|
hz |
uint64
|
No default |
ClockImpl_IsEnabled_Response
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Field | Type | Description | Default |
---|---|---|---|
enabled |
bool
|
No default |
ClockImpl_QuerySupportedRate_Response
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Field | Type | Description | Default |
---|---|---|---|
hz |
uint64
|
No default |
ClockImpl_SetInput_Response
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
<EMPTY>
ClockImpl_SetRate_Response
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
<EMPTY>
DisableType
Defined in fuchsia.hardware.clockimpl/init.fidl
<EMPTY>
EnableType
Defined in fuchsia.hardware.clockimpl/init.fidl
<EMPTY>
InitMetadata
Defined in fuchsia.hardware.clockimpl/init.fidl
Passed to the clock core driver in metadata as DEVICE_METADATA_CLOCK_INIT. Steps are processed sequentially in the order that they appear in the vector. Processing occurs once during the clock core driver's bind hook.
Field | Type | Description | Default |
---|---|---|---|
steps |
vector<InitStep>
|
No default |
TABLES
InitStep
Defined in fuchsia.hardware.clockimpl/init.fidl
A single init step to be performed by the clock core driver.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
id |
uint32
|
The platform-specific clock ID that this step operates on.
This must be unset if |
2 |
call |
InitCall
|
A call to make on this clock. This must be set. |
UNIONS
ClockImpl_Disable_Result strict
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ClockImpl_Disable_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
ClockImpl_Enable_Result strict
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ClockImpl_Enable_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
ClockImpl_GetInput_Result strict
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ClockImpl_GetInput_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
ClockImpl_GetNumInputs_Result strict
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ClockImpl_GetNumInputs_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
ClockImpl_GetRate_Result strict
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ClockImpl_GetRate_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
ClockImpl_IsEnabled_Result strict
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ClockImpl_IsEnabled_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
ClockImpl_QuerySupportedRate_Result strict
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ClockImpl_QuerySupportedRate_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
ClockImpl_SetInput_Result strict
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ClockImpl_SetInput_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
ClockImpl_SetRate_Result strict
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ClockImpl_SetRate_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
InitCall flexible
Defined in fuchsia.hardware.clockimpl/init.fidl
A fuchsia.hardware.clock.Clock call to make as part of an InitStep
.
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
enable |
EnableType
|
If set, the clock core driver will call |
2 |
disable |
DisableType
|
If set, the clock core driver will call |
3 |
rate_hz |
uint64
|
If set, the clock core driver will call |
4 |
input_idx |
uint32
|
If set, the clock core driver will call |
5 |
delay |
zx/Duration
|
If set, the clock core driver will delay for this long before processing the next step. |
SERVICES
Service
Defined in fuchsia.hardware.clockimpl/clock-impl.fidl
Name | Type | Transport |
---|---|---|
device |
fuchsia.hardware.clockimpl/ClockImpl
|
Driver |