Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/soc/fsl/qbman/qman.c qman_create_cgr() -> qm_modify_cgr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgr | 4096-ptr_max |
| PARAM_VALUE | 0 | cgr->cgrid | 0-255 |
| PARAM_VALUE | 1 | flags | 1 |
| PARAM_VALUE | 2 | opts | 6802750719236726784 |
| PARAM_VALUE | 2 | opts->cgr.cs_thres.word | 0-8191 |
| PARAM_VALUE | 2 | opts->cgr.cscn_en | 1 |
| PARAM_VALUE | 2 | opts->cgr.cstd_en | 0-1 |
| PARAM_VALUE | 2 | opts->cgr.mode | 0-1 |
| PARAM_VALUE | 2 | opts->we_mask | 14,27,30 |
| DATA_SOURCE | 0 | cgr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &p->cgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct qman_portal)->cgr_lock |
drivers/soc/fsl/qbman/qman.c qman_create_cgr() -> qm_modify_cgr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgr | 4096-ptr_max |
| PARAM_VALUE | 0 | cgr->cgrid | 0-255 |
| PARAM_VALUE | 1 | flags | 0 |
| PARAM_VALUE | 2 | opts | 6802750719236726784 |
| PARAM_VALUE | 2 | opts->cgr.cs_thres.word | 0-8191 |
| PARAM_VALUE | 2 | opts->cgr.cscn_en | 1 |
| PARAM_VALUE | 2 | opts->cgr.cstd_en | 0-1 |
| PARAM_VALUE | 2 | opts->cgr.mode | 0-1 |
| PARAM_VALUE | 2 | opts->we_mask | 14,27,30 |
| DATA_SOURCE | 0 | cgr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &p->cgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct qman_portal)->cgr_lock |
drivers/soc/fsl/qbman/qman.c qman_delete_cgr() -> qm_modify_cgr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgr | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| PARAM_VALUE | 2 | opts | 8312566639711035392 |
| PARAM_VALUE | 2 | opts->we_mask | 8 |
| BUF_SIZE | 0 | cgr->clk | (-1),1-s32max |
| BUF_SIZE | 0 | cgr->clk_bus | (-1),1-s32max |
| BUF_SIZE | 0 | cgr->pages | (-1)-s32max |
| BUF_SIZE | 0 | cgr->phylink | (-1),816 |
| BUF_SIZE | 0 | cgr->phylink_config.dev | (-1),1616 |
| BUF_SIZE | 0 | cgr->phylink_pcs.ops | (-1),104 |
| BUF_SIZE | 0 | cgr->ports | (-1),576 |
| BUF_SIZE | 0 | cgr->reg | (-1),15 |
| BUF_SIZE | 0 | cgr->stats | (-1),120 |
| BUF_SIZE | 0 | cgr->vaddr | (-1),8,800 |
| CAPPED_DATA | 0 | cgr->chan | 1 |
| DATA_SOURCE | 0 | cgr | $0 |
| MEM_ZERO | 2 | opts | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &p->cgr_lock | ||
| LOCK2 | irqflags | ||
| TYPE_LOCK | (struct qman_portal)->cgr_lock |
drivers/soc/fsl/qbman/qman.c qman_init_cgr_all() -> qm_modify_cgr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgr | 5167541532283346944 |
| PARAM_VALUE | 0 | cgr->cgrid | 0-255 |
| PARAM_VALUE | 1 | flags | 1 |
| PARAM_VALUE | 2 | opts | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &qman_lock |
drivers/soc/fsl/qbman/qman.c qman_update_cgr() -> qm_modify_cgr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgr | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| PARAM_VALUE | 2 | opts->we_mask | 0,2,6,8,14,18-19,22,27,30 |
| CAPPED_DATA | 0 | cgr->chan | 1 |
| DATA_SOURCE | 0 | cgr | $0 |
| DATA_SOURCE | 2 | opts | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &p->cgr_lock | ||
| LOCK2 | irqflags | ||
| HALF_LOCKED2 | &pl->phydev_mutex | ||
| HALF_LOCKED2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct qman_portal)->cgr_lock |