Lines Matching +full:string +full:- +full:array +full:- +full:property
22 * /proc/device-tree directory and return the corresponding binary blob
30 * name and compat string
33 * @compat: compatibility string
36 * returns a newly allocated NULL-terminated array of node paths.
38 * array contains the path of each node and the last element equals to
40 * returned array contains a single element equal to NULL. If an error
51 * node-name, ie. node-name and node-name@unit-address
56 * returns a newly allocated NULL-terminated array of node paths.
58 * array contains the path of each node and the last element equals to
60 * returned array contains a single element equal to NULL. If an error
66 const char *property, const void *val, int size);
68 const char *property, uint32_t val);
70 const char *property, uint64_t val);
72 const char *property, const char *string);
75 * qemu_fdt_setprop_string_array: set a string array property
79 * @prop: property array
80 * @array: pointer to an array of string pointers
81 * @len: length of array
83 * assigns a string array to a property. This function converts and
84 * array of strings to a sequential string with \0 separators before
85 * setting the property.
88 const char *prop, char **array, int len);
91 const char *property,
94 * qemu_fdt_getprop: retrieve the value of a given property
97 * @property: name of the property to find
98 * @lenp: fdt error if any or length of the property on success
101 * returns a pointer to the property on success and NULL on failure
104 const char *property, int *lenp,
107 * qemu_fdt_getprop_cell: retrieve the value of a given 4 byte property
110 * @property: name of the property to find
111 * @lenp: fdt error if any or -EINVAL if the property size is different from
112 * 4 bytes, or 4 (expected length of the property) upon success.
115 * returns the property value on success
118 const char *property, int *lenp,
126 #define qemu_fdt_setprop_cells(fdt, node_path, property, ...) \ argument
132 qemu_fdt_setprop(fdt, node_path, property, qdt_tmp, \
139 * @node_path: node to set property on
140 * @property: property to set
142 * @values: array of number-of-cells, value pairs
144 * Set the specified property on the specified node in the device tree
145 * to be an array of cells. The values of the cells are specified via
148 * number-of-cells must be either 1 or 2 (other values will result in
155 * #address-cells and #size-cells properties of their parent node.
158 * array programmatically, qemu_fdt_setprop_sized_cells may be more
165 const char *property,
172 * @node_path: node to set property on
173 * @property: property to set
174 * @...: list of number-of-cells, value pairs
176 * Set the specified property on the specified node in the device tree
177 * to be an array of cells. The values of the cells are specified via
186 #define qemu_fdt_setprop_sized_cells(fdt, node_path, property, ...) \ argument
190 property, \
200 * Re-randomize all "rng-seed" properties with new seeds.