Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_net.c ocelot_port_obj_mrp_add() -> ocelot_mrp_add()

Type Parameter Key Value
PARAM_VALUE 1 port 0-255
PARAM_VALUE 2 mrp 4096-ptr_max
DATA_SOURCE 2 mrp $1
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/dsa/ocelot/felix.c felix_mrp_add() -> ocelot_mrp_add()

Type Parameter Key Value
PARAM_VALUE 2 mrp 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 1 port $1
DATA_SOURCE 2 mrp $2
UNITS 0 ocelot unit_byte

drivers/net/dsa/ocelot/felix.c felix_mrp_del() -> ocelot_mrp_add()

Type Parameter Key Value
PARAM_VALUE 2 mrp 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 1 port $1
DATA_SOURCE 2 mrp $2
UNITS 0 ocelot unit_byte