Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c socfpga_dwmac_fix_mac_speed() -> socfpga_get_plat_phymode()

Type Parameter Key Value
PARAM_VALUE 0 dwmac 4096-ptr_max
BUF_SIZE 0 dwmac 1-s32max
BUF_SIZE 0 dwmac 1-s32max
DATA_SOURCE 0 dwmac $0
LOCK2 &pl->phydev_mutex
LOCK2 &pl->state_mutex
HALF_LOCKED2 &phy->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct phylink)->phydev_mutex
TYPE_LOCK (struct phylink)->state_mutex

drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c socfpga_gen10_set_phy_mode() -> socfpga_get_plat_phymode()

Type Parameter Key Value
PARAM_VALUE 0 dwmac 4096-ptr_max
BUF_SIZE 0 dwmac (-1),8,16,24,32,40,48,56,64,72,80,104,120,792
BUF_SIZE 0 dwmac (-1),8,16,24,32,40,48,56,64,72,80,104,120,792
DATA_SOURCE 0 dwmac $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c socfpga_gen5_set_phy_mode() -> socfpga_get_plat_phymode()

Type Parameter Key Value
PARAM_VALUE 0 dwmac 4096-ptr_max
BUF_SIZE 0 dwmac (-1),8,16,24,32,40,48,56,64,72,80,104,120,792
BUF_SIZE 0 dwmac (-1),8,16,24,32,40,48,56,64,72,80,104,120,792
DATA_SOURCE 0 dwmac $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex