of_device_is_big_endian — check if a device has BE registers
bool of_device_is_big_endian ( | const struct device_node * device) ; |
Check if the node device
has big endian registers.
Callers would normally use ioread32be/iowrite32be if
of_device_is_big_endian
== true, or readl/writel otherwise.