Home
last modified time | relevance | path

Searched refs:of_get_mac_address (Results 1 – 21 of 21) sorted by relevance

/linux/net/core/
H A Dof_net.c126 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 Dof_net.h16 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 Dtsi108_dev.c103 of_get_mac_address(np, tsi_eth_data.mac_addr); in tsi108_eth_of_init()
/linux/arch/arm/mach-mvebu/
H A Dkirkwood.c95 !of_get_mac_address(np, tmpmac)) in kirkwood_dt_eth_fixup()
/linux/drivers/net/wireless/mediatek/mt76/
H A Deeprom.c168 of_get_mac_address(np, phy->macaddr); in mt76_eeprom_override()
/linux/net/ethernet/
H A Deth.c492 ret = of_get_mac_address(dev->of_node, mac_addr); in eth_platform_get_mac_address()
/linux/drivers/net/ethernet/wiznet/
H A Dw5100-spi.c430 ret = of_get_mac_address(spi->dev.of_node, tmpmac); in w5100_spi_probe()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.c430 rc = of_get_mac_address(np, mac); in stmmac_probe_config_dt()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.c936 if (of_get_mac_address(np, sparx5->base_mac)) { in mchp_sparx5_probe()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dev.c993 of_get_mac_address(rt2x00dev->dev->of_node, eeprom_mac_addr); in rt2x00lib_set_mac_address()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_main.c861 ret = of_get_mac_address(sw->np, sw->base_mac); in prestera_switch_set_base_mac_addr()
/linux/drivers/net/ethernet/renesas/
H A Drtsn.c988 if (!of_get_mac_address(np, addr)) { in rtsn_parse_mac_address()
/linux/drivers/net/ethernet/aeroflex/
H A Dgreth.c1455 err = of_get_mac_address(ofdev->dev.of_node, addr); in greth_of_probe()
/linux/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c1486 of_get_mac_address(node, bgx->lmac[lmac].mac); in bgx_init_of_phy()
/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c1490 ret = of_get_mac_address(np, mac); in ixp4xx_of_get_platdata()
/linux/drivers/net/ethernet/ti/
H A Dcpsw_new.c1318 ret = of_get_mac_address(port_np, slave_data->mac_addr); in cpsw_probe_dt()
H A Dam65-cpsw-nuss.c2713 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 Dxilinx_axienet_main.c2837 ret = of_get_mac_address(pdev->dev.of_node, mac_addr); in axienet_probe()
/linux/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c2757 ret = of_get_mac_address(pnp, ppd.mac_addr); in mv643xx_eth_shared_of_add_port()
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c3630 of_get_mac_address(pdev->dev.of_node, adapter->mac_address); in lan743x_pcidev_probe()
/linux/drivers/net/ethernet/freescale/
H A Dfec_main.c1980 ret = of_get_mac_address(np, tmpaddr); in fec_get_mac()