Home
last modified time | relevance | path

Searched refs:of_get_mac_addr (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/of/
H A Dof_net.c48 static const void *of_get_mac_addr(struct device_node *np, const char *name) in of_get_mac_addr() function
107 addr = of_get_mac_addr(np, "mac-address"); in of_get_mac_address()
111 addr = of_get_mac_addr(np, "local-mac-address"); in of_get_mac_address()
115 addr = of_get_mac_addr(np, "address"); in of_get_mac_address()
/kernel/linux/linux-6.6/net/core/
H A Dof_net.c50 static int of_get_mac_addr(struct device_node *np, const char *name, u8 *addr) in of_get_mac_addr() function
133 ret = of_get_mac_addr(np, "mac-address", addr); in of_get_mac_address()
137 ret = of_get_mac_addr(np, "local-mac-address", addr); in of_get_mac_address()
141 ret = of_get_mac_addr(np, "address", addr); in of_get_mac_address()

Completed in 1 milliseconds