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_probe() -> ocelot_init()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->dev 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->cma_area->available_count 0-s64max
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 4096-ptr_max
PARAM_VALUE 0 ocelot->map 6026074135380606976
PARAM_VALUE 0 ocelot->npi (-1)
PARAM_VALUE 0 ocelot->num_flooding_pgids 1
PARAM_VALUE 0 ocelot->num_mact_rows 1024
PARAM_VALUE 0 ocelot->ops 6258417569307836416
PARAM_VALUE 0 ocelot->ops->cut_through_fwd 0
PARAM_VALUE 0 ocelot->ops->netdev_to_port 2603890120038211584
PARAM_VALUE 0 ocelot->ops->port_to_netdev 4068653960461438976
PARAM_VALUE 0 ocelot->ops->psfp_filter_add 0
PARAM_VALUE 0 ocelot->ops->psfp_filter_del 0
PARAM_VALUE 0 ocelot->ops->psfp_init 0
PARAM_VALUE 0 ocelot->ops->psfp_stats_get 0
PARAM_VALUE 0 ocelot->ops->reset 9025871550166650880
PARAM_VALUE 0 ocelot->ops->tas_clock_adjust 0
PARAM_VALUE 0 ocelot->ops->tas_guard_bands_update 0
PARAM_VALUE 0 ocelot->ops->update_stats 0
PARAM_VALUE 0 ocelot->ops->wm_dec 6341601623281524736
PARAM_VALUE 0 ocelot->ops->wm_enc 7497006183106965504
PARAM_VALUE 0 ocelot->ops->wm_stat 7378957043723149312
PARAM_VALUE 0 ocelot->targets 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap 4507694224112504832
PARAM_VALUE 0 ocelot->vcap_pol.base 128
PARAM_VALUE 0 ocelot->vcap_pol.max 191
PARAM_VALUE 0 *ocelot->base_mac 0-255
BUF_SIZE 0 ocelot->dev 1616
BUF_SIZE 0 ocelot->vcap 168
DATA_SOURCE 0 ocelot r devlink_priv
RX_PATH
TASK_NOT_RUNNING

drivers/net/dsa/ocelot/felix.c felix_setup() -> ocelot_init()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->targets 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
HALF_LOCKED2 global &dsa2_mutex