Name
of_property_read_u64 —
read a 64 bit integer from a property
Synopsis
int of_property_read_u64 ( | const struct device_node * np, |
| const char * propname, |
| u64 * out_value) ; |
Arguments
np
Pointer to node containing the property
propname
Name of the property to be searched
out_value
Pointer used to return the value
Description
Search for a property in a device node and read a 64-bit value 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.