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_vsc7514.c mscc_ocelot_init_ports() -> ocelot_regmap_init()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->devlink_ports 1-u64max
PARAM_VALUE 0 ocelot->num_phys_ports 1-255
PARAM_VALUE 0 ocelot->ports 1-u64max
PARAM_VALUE 1 res 0,4096-ptr_max
PARAM_VALUE 1 res->name 1-u64max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot->devlink_ports 0-120360
BUF_SIZE 0 ocelot->ports 0-2040
DATA_SOURCE 1 res r platform_get_resource_byname
MEM_ZERO 0 ocelot->devlink_ports
MEM_ZERO 0 ocelot->ports
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ocelot->num_phys_ports
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_vsc7514.c mscc_ocelot_probe() -> ocelot_regmap_init()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->dev 4096-ptr_max
PARAM_VALUE 0 ocelot->devlink 4096-ptr_max
PARAM_VALUE 1 res 0,4096-ptr_max
PARAM_VALUE 1 res->name 1-u64max
BUF_SIZE 0 ocelot->dev 1616
DATA_SOURCE 0 ocelot r devlink_priv
DATA_SOURCE 1 res r platform_get_resource_byname
RX_PATH
TASK_NOT_RUNNING

drivers/net/dsa/ocelot/felix.c felix_request_regmap_by_name() -> ocelot_regmap_init()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->dev 4096-ptr_max
PARAM_VALUE 0 ocelot->map 4608671350074564608,4661994159439331328,6026074135380606976
PARAM_VALUE 0 ocelot->npi_inj_prefix 2
PARAM_VALUE 0 ocelot->npi_xtr_prefix 2
PARAM_VALUE 0 ocelot->num_mact_rows 1024,2048
PARAM_VALUE 0 ocelot->ops 1009613950828797952,2896310795488022528,7418713899979173888
PARAM_VALUE 0 ocelot->vcap 1110965217243242496,2840348744479522816,4507694224112504832
PARAM_VALUE 0 ocelot->vcap_pol.base 0,11,63
PARAM_VALUE 0 ocelot->vcap_pol.base2 0,120
PARAM_VALUE 0 ocelot->vcap_pol.max 0,31,383
PARAM_VALUE 0 ocelot->vcap_pol.max2 0,161
PARAM_VALUE 1 res 1248664073177010176
BUF_SIZE 0 ocelot 2792
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dsa2_mutex