Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/dsa/lantiq/lantiq_gswip_common.c gswip_add_single_port_br() -> dsa_cpu_ports()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dsa2_mutex

drivers/net/dsa/lantiq/lantiq_gswip_common.c gswip_setup() -> dsa_cpu_ports()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
CAPPED_DATA 0 ds 1
DATA_SOURCE 0 ds $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dsa2_mutex

drivers/net/dsa/lantiq/lantiq_gswip_common.c gswip_vlan_add() -> dsa_cpu_ports()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/dsa/lantiq/lantiq_gswip_common.c gswip_vlan_remove() -> dsa_cpu_ports()

Type Parameter Key Value

drivers/net/dsa/yt921x.c yt921x_chip_setup_dsa() -> dsa_cpu_ports()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
BUF_SIZE 0 ds 144
RX_PATH
TASK_NOT_RUNNING
LOCK2 &priv->reg_lock
HALF_LOCKED2 global &dsa2_mutex
TYPE_LOCK (struct yt921x_priv)->reg_lock

drivers/net/dsa/ocelot/felix.c felix_tag_8021q_get_host_fwd_mask() -> dsa_cpu_ports()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
CAPPED_DATA 0 ds 1
DATA_SOURCE 0 ds $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ds->num_ports

drivers/net/dsa/ocelot/felix.c felix_tag_8021q_vlan_add_tx() -> dsa_cpu_ports()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->dst 4096-ptr_max
CAPPED_DATA 0 ds 1
DATA_SOURCE 0 ds $0
UNITS 0 ds unit_byte