Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/dsa/bcm_sf2.c bcm_sf2_port_setup() -> b53_enable_port()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->dst 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
PARAM_VALUE 0 ds->priv 4096-ptr_max
PARAM_VALUE 0 ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ds->user_mii_bus->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 2 phy->drv->soft_reset 0,4096-ptr_max
CAPPED_DATA 0 ds 1
CAPPED_DATA 0 ds->num_ports 1
DATA_SOURCE 0 ds $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 phy $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dsa2_mutex

net/dsa/port.c dsa_port_enable_rt() -> (struct dsa_switch_ops)->port_enable()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
PARAM_VALUE 0 ds->ops->port_enable 1-u64max
DATA_SOURCE 2 phy $1
CONTAINER 0 -320-72+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dsa2_mutex
HALF_LOCKED2 global &rtnl_mutex