Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/memory/tegra/tegra210-emc-cc-r21021.c, line 816
- drivers/memory/tegra/tegra210-emc-core.c, line 802
Smatch caller information:
drivers/memory/tegra/tegra210-emc-cc-r21021.c tegra210_emc_r21021_set_clock() -> tegra210_emc_adjust_timing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emc | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->last | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->last->burst_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->next | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->next->burst_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->next->dram_timings | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->sequence | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->timings | 4096-ptr_max |
| PARAM_VALUE | 0 | *emc->next->ptfv_list | 0-4294967295 |
| PARAM_VALUE | 1 | timing | 4096-ptr_max |
| PARAM_VALUE | 1 | timing->burst_regs | 4096-ptr_max |
| PARAM_VALUE | 1 | timing->dram_timings | 4096-ptr_max |
| PARAM_VALUE | 1 | *timing->ptfv_list | 0-4294967295 |
| 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 | 0 | emc->num_timings | 1 |
| CAPPED_DATA | 1 | timing->num_burst | 1 |
| DATA_SOURCE | 0 | emc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &emc->lock | |
| TYPE_LOCK | (struct tegra210_emc)->lock |
drivers/memory/tegra/tegra210-emc-core.c tegra210_emc_set_refresh() -> tegra210_emc_adjust_timing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emc | 4096-ptr_max |
| PARAM_VALUE | 0 | emc->dram_type | 1-2 |
| PARAM_VALUE | 0 | emc->last | 1-u64max |
| PARAM_VALUE | 1 | timing | 1-u64max |
| CAPPED_DATA | 0 | emc->timings | 1 |
| DATA_SOURCE | 0 | emc | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &emc->lock | |
| TYPE_LOCK | (struct tegra210_emc)->lock |