Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 35 files:

Smatch caller information:

drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c brcmf_of_probe() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/wireless/realtek/rtw88/rtw8703b.c try_mac_from_devicetree() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
LOCK2 &rtwdev->mutex
TYPE_LOCK (struct rtw_dev)->mutex

net/dsa/dsa.c dsa_port_setup() -> of_get_mac_address()

Type Parameter Key Value
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 np unit_byte
LOCK2 global &dsa2_mutex

drivers/net/ethernet/ti/cpsw.c cpsw_probe_dt() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/marvell/mv643xx_eth.c mv643xx_eth_shared_of_add_port() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 addr 0
BUF_SIZE 1 addr 6
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_probe() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 addr 1942226238610075648
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/microchip/sparx5/sparx5_main.c mchp_sparx5_probe() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 addr 0
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/cortina/gemini.c gemini_ethernet_port_probe() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 1 addr 1526431714517016576
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

net/ethernet/eth.c eth_platform_get_mac_address() -> of_get_mac_address()

Type Parameter Key Value
BUF_SIZE 1 addr (-1),6,126
BUF_SIZE 1 addr (-1),6,126
DATA_SOURCE 1 addr $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/freescale/fman/mac.c mac_probe() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->parent 1-u64max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 addr 0
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

net/core/of_net.c of_get_ethdev_address() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 1 addr 1450264552912670720
BUF_SIZE 1 addr 6
DATA_SOURCE 0 np $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/engleder/tsnep_main.c tsnep_mac_init() -> of_get_mac_address()

Type Parameter Key Value
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/xilinx/ll_temac_main.c temac_probe() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 addr 7243845867230097408
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/ti/cpsw_new.c cpsw_probe_dt() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/davicom/dm9000.c dm9000_parse_dt() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 addr 0
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/wireless/silabs/wfx/main.c wfx_probe() -> of_get_mac_address()

Type Parameter Key Value
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/renesas/sh_eth.c sh_eth_parse_dt() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 addr 0
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 np unit_byte

drivers/net/ethernet/marvell/prestera/prestera_main.c prestera_switch_set_base_mac_addr() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/renesas/rtsn.c rtsn_parse_mac_address() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 1 addr 116863403066089472
BUF_SIZE 1 addr 6
DATA_SOURCE 0 np $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/wireless/mediatek/mt76/eeprom.c mt76_eeprom_override() -> of_get_mac_address()

Type Parameter Key Value
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/microchip/lan743x_main.c lan743x_pcidev_probe() -> of_get_mac_address()

Type Parameter Key Value
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 np unit_byte

drivers/net/ethernet/ti/davinci_emac.c davinci_emac_of_get_pdata() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 np unit_byte

drivers/net/ethernet/freescale/fec_main.c fec_get_mac() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 addr 1636011711986716672
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/cavium/thunder/thunder_bgx.c bgx_init_of_phy() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/freescale/enetc/enetc_pf_common.c enetc_setup_mac_address() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 addr 4096-ptr_max
BUF_SIZE 1 addr 6
DATA_SOURCE 0 np $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/wiznet/w5100-spi.c w5100_spi_probe() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 1 addr 9041530455721725952
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/spacemit/k1_emac.c emac_config_dt() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/wireless/ath/ath9k/init.c ath9k_of_init() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
BUF_SIZE 1 addr 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00lib_set_mac_address() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 1 addr 4096-ptr_max
DATA_SOURCE 1 addr $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c stmmac_probe_config_dt() -> of_get_mac_address()

Type Parameter Key Value
PARAM_VALUE 1 addr 0
BUF_SIZE 1 addr 6
BUF_SIZE 1 addr 6
DATA_SOURCE 1 addr $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte