STRUCTS
BindInstruction
Defined in fuchsia.driver.legacy/legacy_types.fidl
Field | Type | Description | Default |
---|---|---|---|
op |
uint32
|
bitfield that encodes the operation and execution conditions |
No default |
arg |
uint32
|
bitfield that encodes the arguments |
No default |
debug |
uint32
|
bitfield that encodes debugging information |
No default |
DeviceProperty
Defined in fuchsia.driver.legacy/legacy_types.fidl
This has the same structure as zx_device_prop_t.
Field | Type | Description | Default |
---|---|---|---|
id |
uint16
|
No default | |
reserved |
uint16
|
No default | |
value |
uint32
|
No default |
DevicePropertyList
Defined in fuchsia.driver.legacy/legacy_types.fidl
Field | Type | Description | Default |
---|---|---|---|
props |
vector<DeviceProperty>[256]
|
No default | |
str_props |
vector<DeviceStrProperty>[256]
|
No default |
DeviceStrProperty
Defined in fuchsia.driver.legacy/legacy_types.fidl
Field | Type | Description | Default |
---|---|---|---|
key |
string[255]
|
No default | |
value |
PropertyValue
|
No default |
TABLES
CompositeFragmentInfo
Defined in fuchsia.driver.legacy/legacy_types.fidl
Information for a composite node's fragment in DFv1.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
name |
string
|
|
2 |
bind_rules |
vector<BindInstruction>[256]
|
CompositeInfo
Defined in fuchsia.driver.legacy/legacy_types.fidl
Information for a legacy composite in DFv1.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
name |
string
|
The name of the composite node. |
2 |
fragments |
vector<CompositeFragmentInfo>
|
A list of composite fragment information. |
3 |
properties |
vector<fuchsia.driver.framework/NodeProperty>[64]
|
The node properties in the composite node. |
4 |
matched_driver |
fuchsia.driver.framework/DriverInfo
|
Information about the driver matched to the legacy composite node. |
5 |
primary_fragment_index |
uint32
|
This is the primary fragment. If it is unavailable the first fragment at index 0 is the primary fragment. |
CompositeParent
Defined in fuchsia.driver.legacy/legacy_types.fidl
A parent to a composite that is defined by a legacy composite.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
composite |
CompositeInfo
|
Information about the legacy composite node that this is a parent of. |
2 |
index |
uint32
|
The index of this parent in the fragments. |
UNIONS
PropertyValue strict
Defined in fuchsia.driver.legacy/legacy_types.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
int_value |
uint32
|
|
2 |
str_value |
string[255]
|
|
3 |
bool_value |
bool
|
|
4 |
enum_value |
string[255]
|
BITS
DeviceFlags strict
Type: uint32
Defined in fuchsia.driver.legacy/legacy_types.fidl
Name | Value | Description |
---|---|---|
IMMORTAL |
1 | |
MUST_ISOLATE |
2 | This device requires that children are created in a new driver_host attached to a proxy device |
BOUND |
8 | This device is bound and not eligible for binding again until unbound. Not allowed on ALLOW_MULTI_COMPOSITE ctx. |
DEAD |
16 | Device has been remove()'d |
ALLOW_MULTI_COMPOSITE |
32 | This device is a fragment of a composite device and can be part of multiple composite devices. |
PROXY |
64 | Device is a proxy -- its "parent" is the device it's a proxy to. |
INVISIBLE |
128 | Device is not visible in devfs or bindable. Devices may be created in this state, but may not return to this state once made visible. |
SKIP_AUTOBIND |
256 | Device should not go through auto-bind process. |
CONSTANTS
Name | Value | Type | Description |
---|---|---|---|
BIND_RULES_INSTRUCTIONS_MAX |
256
|
uint32 |
|
DEVICE_PATH_MAX |
1024
|
uint32 |
Maximum number of bytes in a path |
PROPERTIES_MAX |
256
|
uint32 |
Maximum number of properties that can be attached to a device |
STR_LENGTH_MAX |
255
|
uint32 |
Maximum length of a string property key and value. |
STR_PROPERTIES_MAX |
256
|
uint32 |
Maximum number of string properties that can be attached to a device |