Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/spi/spi-dw-core.c, line 1389
- drivers/spi/spi-dw-mmio.c, line 434
- drivers/spi/spi-dw-pci.c, line 129
Smatch caller information:
drivers/spi/spi-dw-mmio.c dw_spi_mmio_probe() -> dw_spi_add_controller()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 1 | dws | 4096-ptr_max |
| PARAM_VALUE | 1 | dws->irq | 1-s32max |
| PARAM_VALUE | 1 | dws->reg_io_width | 0,4 |
| PARAM_VALUE | 1 | dws->regs | 4096-ptr_max |
| BUF_SIZE | 1 | dws | 696 |
| BUF_SIZE | 1 | dws->irq | s32min-(-1),1-s32max |
| FUZZY_MAX | 1 | dws->reg_io_width | 4 |
| HARD_MAX | 1 | dws->reg_io_width | 4 |
| MEM_ZERO | 1 | dws | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-dw-pci.c dw_spi_pci_probe() -> dw_spi_add_controller()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | dws | 4096-ptr_max |
| PARAM_VALUE | 1 | dws->bus_num | 0-1,u16max |
| PARAM_VALUE | 1 | dws->dma_ops | 0,857422658163093504 |
| PARAM_VALUE | 1 | dws->dma_ops->can_dma | 2843309497499529216 |
| PARAM_VALUE | 1 | dws->dma_ops->dma_exit | 9175558271167950848 |
| PARAM_VALUE | 1 | dws->dma_ops->dma_init | 4768873599615774720,6629875545388146688 |
| PARAM_VALUE | 1 | dws->dma_ops->dma_setup | 2492464816385597440 |
| PARAM_VALUE | 1 | dws->dma_ops->dma_stop | 1723165053594042368 |
| PARAM_VALUE | 1 | dws->dma_ops->dma_transfer | 2621918805698428928 |
| PARAM_VALUE | 1 | dws->irq | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | dws->max_freq | 0,100000000 |
| PARAM_VALUE | 1 | dws->num_cs | 2,5 |
| PARAM_VALUE | 1 | dws->regs | 4096-ptr_max |
| BUF_SIZE | 1 | dws | 696 |
| DATA_SOURCE | 1 | dws | r devm_kzalloc |
| BIT_INFO | 1 | dws->num_cs | 0x0,0xffff |
| MEM_ZERO | 1 | dws | |
| RX_PATH | |||
| TASK_NOT_RUNNING |