Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/dsa/microchip/ksz_common.c ksz_queue_set_strict() -> ksz_setup_tc_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops->get_port_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info | 4096-ptr_max |
| PARAM_VALUE | 2 | scheduler | 0 |
| PARAM_VALUE | 3 | shaper | 0 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dev->info->num_tx_queues | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/net/dsa/microchip/ksz_common.c ksz_queue_set_wrr() -> ksz_setup_tc_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops->get_port_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->num_tx_queues | 1-255 |
| PARAM_VALUE | 2 | scheduler | 2 |
| PARAM_VALUE | 3 | shaper | 0 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/net/dsa/microchip/ksz_common.c ksz_setup_tc_cbs() -> ksz_setup_tc_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops->get_port_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->tc_cbs_supported | 1 |
| PARAM_VALUE | 2 | scheduler | 2 |
| PARAM_VALUE | 3 | shaper | 0 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/net/dsa/microchip/ksz_common.c ksz_setup_tc_cbs() -> ksz_setup_tc_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops->get_port_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_ops->tc_cbs_set_cinc | 0,1282080737320615936,3197110574383955968 |
| PARAM_VALUE | 0 | dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->tc_cbs_supported | 1 |
| PARAM_VALUE | 2 | scheduler | 0 |
| PARAM_VALUE | 3 | shaper | 1 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |