Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_net.c ocelot_netdevice_bridge_join() -> ocelot_port_bridge_join()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 1 port 0-255
PARAM_VALUE 2 bridge 4096-ptr_max
PARAM_VALUE 2 bridge->priv_flags 2-u32max
PARAM_VALUE 3 bridge_num 0-s32max
CAPPED_DATA 0 ocelot->num_phys_ports 1
CAPPED_DATA 2 bridge 1
CAPPED_DATA 3 bridge_num 1
DATA_SOURCE 2 bridge $2
DATA_SOURCE 3 bridge_num r ocelot_bridge_num_get
DATA_SOURCE 4 extack $3
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size
UNITS 2 bridge unit_byte

drivers/net/dsa/ocelot/felix.c felix_bridge_join() -> ocelot_port_bridge_join()

Type Parameter Key Value
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 1 port $1
DATA_SOURCE 4 extack $4
UNITS 0 ocelot unit_byte
UNITS 2 bridge unit_byte