Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/net/ethernet/smsc/smsc911x.c smsc911x_probe_config() -> device_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
DATA_SOURCE 0 dev $1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/apm/xgene-v2/main.c xge_get_resources() -> device_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/broadcom/genet/bcmmii.c bcmgenet_phy_interface_init() -> device_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c loongson_dwmac_dt_config() -> device_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->of_node 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

drivers/net/ethernet/apm/xgene/xgene_enet_main.c xgene_enet_get_resources() -> device_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->of_node 0,4096-ptr_max
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_probe() -> device_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_mask 4096-ptr_max
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->of_node 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING