Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlxsw/core.c
- drivers/net/ethernet/mellanox/mlxsw/i2c.c, line 722
- drivers/net/ethernet/mellanox/mlxsw/pci.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_probe() -> mlxsw_core_bus_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_bus_info | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_bus_info->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_bus_info->read_clock_capable | 1 |
| PARAM_VALUE | 1 | mlxsw_bus | 4913768392270798848 |
| PARAM_VALUE | 2 | bus_priv | 4096-ptr_max |
| PARAM_VALUE | 3 | reload | 0 |
| PARAM_VALUE | 4 | devlink | 0 |
| PARAM_VALUE | 5 | extack | 0 |
| BUF_SIZE | 2 | bus_priv | 656 |
| DATA_SOURCE | 2 | bus_priv | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_reset_done() -> mlxsw_core_bus_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_bus_info | 4096-ptr_max |
| PARAM_VALUE | 1 | mlxsw_bus | 4913768392270798848 |
| PARAM_VALUE | 2 | bus_priv | 4096-ptr_max |
| PARAM_VALUE | 3 | reload | 0 |
| PARAM_VALUE | 4 | devlink | 0 |
| PARAM_VALUE | 5 | extack | 0 |
| BUF_SIZE | 2 | bus_priv | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | bus_priv | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_devlink_core_bus_device_reload_up() -> mlxsw_core_bus_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | reload | 1 |
| PARAM_VALUE | 4 | devlink | 4096-ptr_max |
| PARAM_VALUE | 5 | extack | 0,4971238048455385088 |
| BUF_SIZE | 2 | bus_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 4 | devlink | 1 |
| DATA_SOURCE | 4 | devlink | $0 |
| DATA_SOURCE | 5 | extack | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | bus_priv | unit_byte |
| HALF_LOCKED2 | &bp->dev->lock | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 4 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c_probe() -> mlxsw_core_bus_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_bus_info | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_bus_info->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_bus_info->low_frequency | 1 |
| PARAM_VALUE | 1 | mlxsw_bus | 1386624778453893120 |
| PARAM_VALUE | 2 | bus_priv | 4096-ptr_max |
| PARAM_VALUE | 3 | reload | 0 |
| PARAM_VALUE | 4 | devlink | 0 |
| PARAM_VALUE | 5 | extack | 0 |
| BUF_SIZE | 2 | bus_priv | 552 |
| DATA_SOURCE | 2 | bus_priv | r devm_kzalloc |
| MEM_ZERO | 0 | mlxsw_bus_info | |
| RX_PATH | |||
| TASK_NOT_RUNNING |