Lines Matching refs:value

60  * @np:		device node from which the property value is to be read.
69 * the property does not have a value.
78 if (!prop->value)
94 * @np: device node from which the property value is to be read.
96 * @min: minimum allowed length of property value
97 * @max: maximum allowed length of property value (0 means unlimited)
102 * Return: The property value on success, -EINVAL if the property does not
103 * exist, -ENODATA if property does not have a value, and -EOVERFLOW if the
114 if (!prop->value)
124 return prop->value;
128 * of_property_read_u32_index - Find and read a u32 from a multi-value property.
130 * @np: device node from which the property value is to be read.
133 * @out_value: pointer to return value, modified only if no error.
135 * Search for a property in a device node and read nth 32-bit value from
139 * -ENODATA if property does not have a value, and -EOVERFLOW if the
142 * The out_value is modified only if a valid u32 value can be decoded.
162 * of_property_read_u64_index - Find and read a u64 from a multi-value property.
164 * @np: device node from which the property value is to be read.
167 * @out_value: pointer to return value, modified only if no error.
169 * Search for a property in a device node and read nth 64-bit value from
173 * -ENODATA if property does not have a value, and -EOVERFLOW if the
176 * The out_value is modified only if a valid u64 value can be decoded.
198 * @np: device node from which the property value is to be read.
206 * Search for a property in a device node and read 8-bit value(s) from
213 * does not exist, -ENODATA if property does not have a value, and -EOVERFLOW
216 * The out_values is modified only if a valid u8 value can be decoded.
248 * @np: device node from which the property value is to be read.
256 * Search for a property in a device node and read 16-bit value(s) from
263 * does not exist, -ENODATA if property does not have a value, and -EOVERFLOW
266 * The out_values is modified only if a valid u16 value can be decoded.
298 * @np: device node from which the property value is to be read.
306 * Search for a property in a device node and read 32-bit value(s) from
310 * does not exist, -ENODATA if property does not have a value, and -EOVERFLOW
313 * The out_values is modified only if a valid u32 value can be decoded.
343 * @np: device node from which the property value is to be read.
345 * @out_value: pointer to return value, modified only if return value is 0.
347 * Search for a property in a device node and read a 64-bit value from
351 * -ENODATA if property does not have a value, and -EOVERFLOW if the
354 * The out_value is modified only if a valid u64 value can be decoded.
376 * @np: device node from which the property value is to be read.
384 * Search for a property in a device node and read 64-bit value(s) from
388 * does not exist, -ENODATA if property does not have a value, and -EOVERFLOW
391 * The out_values is modified only if a valid u64 value can be decoded.
423 * @np: device node from which the property value is to be read.
426 * return value is 0.
429 * terminated string value (pointer to data, not a copy).
432 * property does not have a value, and -EILSEQ if the string is not
448 if (strnlen(prop->value, prop->length) >= prop->length)
450 *out_string = prop->value;
462 * of a specific string value.
474 if (!prop->value)
477 p = prop->value;
494 * @np: device node from which the property value is to be read.
513 if (!prop->value)
515 p = prop->value;
539 curv = prop->value;
544 if (curv >= prop->value + prop->length)
561 return prop->value;
564 if (curv >= prop->value + prop->length)
591 * If they don't then the default value 0 is used.
704 * @port_reg: identifier (value of reg property) of the parent port node
705 * @reg: identifier (value of reg property) of the endpoint node
831 * @port: identifier (value of reg property) of the parent port node
832 * @endpoint: identifier (value of reg property) of the endpoint node
1193 * @parse_prop.prop_name: Name of property holding a phandle value