/linux/net/core/ |
H A D | of_net.c | 126 int of_get_mac_address(struct device_node *np, u8 *addr) in of_get_mac_address() function 147 EXPORT_SYMBOL(of_get_mac_address); 167 ret = of_get_mac_address(np, addr); in of_get_ethdev_address()
|
/linux/include/linux/ |
H A D | of_net.h | 16 extern int of_get_mac_address(struct device_node *np, u8 *mac); 27 static inline int of_get_mac_address(struct device_node *np, u8 *mac) in of_get_mac_address() function
|
/linux/arch/powerpc/sysdev/ |
H A D | tsi108_dev.c | 103 of_get_mac_address(np, tsi_eth_data.mac_addr); in tsi108_eth_of_init()
|
/linux/arch/arm/mach-mvebu/ |
H A D | kirkwood.c | 95 !of_get_mac_address(np, tmpmac)) in kirkwood_dt_eth_fixup()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | eeprom.c | 168 of_get_mac_address(np, phy->macaddr); in mt76_eeprom_override()
|
/linux/net/ethernet/ |
H A D | eth.c | 492 ret = of_get_mac_address(dev->of_node, mac_addr); in eth_platform_get_mac_address()
|
/linux/drivers/net/ethernet/wiznet/ |
H A D | w5100-spi.c | 430 ret = of_get_mac_address(spi->dev.of_node, tmpmac); in w5100_spi_probe()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.c | 430 rc = of_get_mac_address(np, mac); in stmmac_probe_config_dt()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_main.c | 936 if (of_get_mac_address(np, sparx5->base_mac)) { in mchp_sparx5_probe()
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00dev.c | 993 of_get_mac_address(rt2x00dev->dev->of_node, eeprom_mac_addr); in rt2x00lib_set_mac_address()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_main.c | 861 ret = of_get_mac_address(sw->np, sw->base_mac); in prestera_switch_set_base_mac_addr()
|
/linux/drivers/net/ethernet/renesas/ |
H A D | rtsn.c | 988 if (!of_get_mac_address(np, addr)) { in rtsn_parse_mac_address()
|
/linux/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 1455 err = of_get_mac_address(ofdev->dev.of_node, addr); in greth_of_probe()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 1486 of_get_mac_address(node, bgx->lmac[lmac].mac); in bgx_init_of_phy()
|
/linux/drivers/net/ethernet/xscale/ |
H A D | ixp4xx_eth.c | 1490 ret = of_get_mac_address(np, mac); in ixp4xx_of_get_platdata()
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_new.c | 1318 ret = of_get_mac_address(port_np, slave_data->mac_addr); in cpsw_probe_dt()
|
H A D | am65-cpsw-nuss.c | 2713 ret = of_get_mac_address(port_np, port->slave.mac_addr); in am65_cpsw_nuss_init_slave_ports()
|
/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 2837 ret = of_get_mac_address(pdev->dev.of_node, mac_addr); in axienet_probe()
|
/linux/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 2757 ret = of_get_mac_address(pnp, ppd.mac_addr); in mv643xx_eth_shared_of_add_port()
|
/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.c | 3630 of_get_mac_address(pdev->dev.of_node, adapter->mac_address); in lan743x_pcidev_probe()
|
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 1980 ret = of_get_mac_address(np, tmpaddr); in fec_get_mac()
|