Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-aspeed-smc.c aspeed_spi_do_calibration() -> (struct aspeed_spi_data)->get_clk_div()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->aspi | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->aspi->data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ctl_val | 4096-ptr_max |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &mem->spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-aspeed-smc.c aspeed_spi_do_calibration() -> (struct aspeed_spi_data)->get_clk_div()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->aspi | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->aspi->data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ctl_val | 4096-ptr_max |
| PARAM_VALUE | 1 | max_hz | 1-u32max |
| CAPPED_DATA | 1 | max_hz | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &mem->spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-aspeed-smc.c aspeed_spi_user_prepare_msg() -> (struct aspeed_spi_data)->get_clk_div()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctlr->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |