Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_mac_link_down() -> bcm_sf2_sw_mac_link_set()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->priv 4096-ptr_max
PARAM_VALUE 3 link 0
DATA_SOURCE 2 interface $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ds unit_byte
HALF_LOCKED2 &pl->state_mutex
HALF_LOCKED2 global &dsa2_mutex

drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_mac_link_up() -> bcm_sf2_sw_mac_link_set()

Type Parameter Key Value
PARAM_VALUE 3 link 1
DATA_SOURCE 2 interface $3
NOCHECK_CALL
UNITS 0 ds unit_byte
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