Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/dsa/microchip/ksz9477.c ksz9477_config_cpu_port() -> ksz9477_get_interface()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cpu_port | 0-s32max |
| PARAM_VALUE | 0 | dev->dev_ops->get_port_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops->pme_pread8 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->port_cnt | 1-s32max |
| PARAM_VALUE | 0 | dev->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 0-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dev->cpu_port | 1 |
| CAPPED_DATA | 1 | port | 1 |
| PARAM_COMPARE | 0 | dev->info->port_cnt | > $1 |
| PARAM_COMPARE | 1 | port | < $0->info->port_cnt |
| CONSTRAINT | 1 | port | <984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |