Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/i2c/busses/i2c-mlxbf.c mlxbf_i2c_calculate_corepll_freq() -> mlxbf_i2c_get_shared_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 0 |
| PARAM_VALUE | 1 | type | 7 |
| BUF_SIZE | 0 | priv | 2552 |
| BUF_SIZE | 0 | priv->mst | (-1),32 |
| BUF_SIZE | 0 | priv->slv | (-1),32 |
| BUF_SIZE | 0 | priv->timer | (-1),32 |
| DATA_SOURCE | 0 | priv | $1 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv->bus | 0 |
drivers/i2c/busses/i2c-mlxbf.c mlxbf_i2c_get_corepll() -> mlxbf_i2c_get_shared_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 7 |
| BUF_SIZE | 0 | priv | 2552 |
| BUF_SIZE | 0 | priv->mst | (-1),32 |
| BUF_SIZE | 0 | priv->slv | (-1),32 |
| BUF_SIZE | 0 | priv->timer | (-1),32 |
| DATA_SOURCE | 0 | priv | $1 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv->bus | 0 |
| NO_OVERFLOW_SIMPLE | 0 | priv->bus | |
| LOCK2 | corepll_res->lock |
drivers/i2c/busses/i2c-mlxbf.c mlxbf_i2c_get_gpio() -> mlxbf_i2c_get_shared_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 8 |
| BUF_SIZE | 0 | priv | 2552 |
| BUF_SIZE | 0 | priv->mst | (-1),32 |
| BUF_SIZE | 0 | priv->slv | (-1),32 |
| BUF_SIZE | 0 | priv->timer | (-1),32 |
| DATA_SOURCE | 0 | priv | $1 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv->bus | 0 |
| NO_OVERFLOW_SIMPLE | 0 | priv->bus | |
| LOCK2 | gpio_res->lock |
drivers/i2c/busses/i2c-mlxbf.c mlxbf_i2c_init_coalesce() -> mlxbf_i2c_get_shared_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 3 |
| BUF_SIZE | 0 | priv | 2552 |
| BUF_SIZE | 0 | priv->mst | (-1),32 |
| BUF_SIZE | 0 | priv->slv | (-1),32 |
| BUF_SIZE | 0 | priv->timer | (-1),32 |
| DATA_SOURCE | 0 | priv | $1 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv->bus | 0 |
| NO_OVERFLOW_SIMPLE | 0 | priv->bus |
drivers/i2c/busses/i2c-mlxbf.c mlxbf_i2c_init_master() -> mlxbf_i2c_get_shared_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 8 |
| BUF_SIZE | 0 | priv | 2552 |
| BUF_SIZE | 0 | priv->mst | (-1),32 |
| BUF_SIZE | 0 | priv->slv | (-1),32 |
| BUF_SIZE | 0 | priv->timer | (-1),32 |
| DATA_SOURCE | 0 | priv | $1 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv->bus | 0 |
drivers/i2c/busses/i2c-mlxbf.c mlxbf_i2c_release_corepll() -> mlxbf_i2c_get_shared_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 7 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | priv->coalesce->io | 1 |
| DATA_SOURCE | 0 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &_dev->mutex | ||
| LOCK2 | global &mlxbf_i2c_bus_lock | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/i2c/busses/i2c-mlxbf.c mlxbf_i2c_release_gpio() -> mlxbf_i2c_get_shared_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 8 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | priv->coalesce->io | 1 |
| DATA_SOURCE | 0 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &_dev->mutex | ||
| LOCK2 | global &mlxbf_i2c_bus_lock | ||
| TYPE_LOCK | (struct device)->mutex |