Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/memory/tegra/tegra210-emc-cc-r21021.c tegra210_emc_get_clktree_delay() -> tegra210_emc_mrr_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emc | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->last | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->num_devices | 1-u32max |
| PARAM_VALUE | 0 | emc->sequence | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->sequence->periodic_compensation | 2634603118880882688 |
| PARAM_VALUE | 2 | address | 19 |
| BUF_SIZE | 0 | emc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | emc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | emc->num_channels | 1 |
| CAPPED_DATA | 1 | chip | 1 |
| DATA_SOURCE | 0 | emc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &emc->lock | |
| TYPE_LOCK | (struct tegra210_emc)->lock |
drivers/memory/tegra/tegra210-emc-cc-r21021.c tegra210_emc_get_clktree_delay() -> tegra210_emc_mrr_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emc | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->last | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->num_devices | 1-u32max |
| PARAM_VALUE | 0 | emc->sequence | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->sequence->periodic_compensation | 2634603118880882688 |
| PARAM_VALUE | 2 | address | 18 |
| BUF_SIZE | 0 | emc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | emc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | emc->num_channels | 1 |
| CAPPED_DATA | 1 | chip | 1 |
| DATA_SOURCE | 0 | emc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &emc->lock | |
| TYPE_LOCK | (struct tegra210_emc)->lock |
drivers/memory/tegra/tegra210-emc-core.c tegra210_emc_get_temperature() -> tegra210_emc_mrr_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emc | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->debugfs.temperature | 0 |
| PARAM_VALUE | 0 | emc->num_devices | 1-u32max |
| PARAM_VALUE | 2 | address | 4 |
| BUF_SIZE | 0 | emc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | emc | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | chip | 1 |
| DATA_SOURCE | 0 | emc | $0 |
| PARAM_COMPARE | 0 | emc->num_devices | > $1 |
| PARAM_COMPARE | 1 | chip | < $0->num_devices |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &emc->lock | |
| HALF_LOCKED2 | &attr->mutex | ||
| TYPE_LOCK | (struct tegra210_emc)->lock |