Name
of_property_read_u64_array —
read an array of 64 bit integers from a property
Synopsis
int of_property_read_u64_array ( | const struct device_node * np, |
| const char * propname, |
| u64 * out_values, |
| size_t sz) ; |
Arguments
np
Pointer to node containing the property
propname
Name of the property to be searched
out_values
Pointer used to return the values
sz
Number of array elements to read
Description
Search for a property in a device node and read 64-bit value(s) from
it.
Return
0 on success, -EINVAL
if the property does not exist,
-ENODATA
if property does not have a value, and -EOVERFLOW
if the
property data is not large enough.