MCPcopy Create free account
hub / github.com/F-Stack/f-stack / of_get_mac_addr

Function of_get_mac_addr

dpdk/drivers/common/dpaax/dpaa_of.c:552–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550}
551
552static const void *of_get_mac_addr(const struct device_node *np,
553 const char *name)
554{
555 return of_get_property(np, name, NULL);
556}
557
558/**
559 * Search the device tree for the best MAC address to use. 'mac-address' is

Callers 1

of_get_mac_addressFunction · 0.85

Calls 1

of_get_propertyFunction · 0.85

Tested by

no test coverage detected