Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/ti/davinci_cpdma.c cpdma_chan_set_chan_shaper() -> _cpdma_control_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->state | 0-2 |
| PARAM_VALUE | 1 | control | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctlr->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct cpdma_ctlr)->lock |
drivers/net/ethernet/ti/davinci_cpdma.c cpdma_chan_set_rate() -> _cpdma_control_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 1 | control | 0 |
| CAPABLE | 0 | 12 | |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &ctlr->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpdma_ctlr)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/ti/davinci_cpdma.c cpdma_chan_set_rate() -> _cpdma_control_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->state | 0-2 |
| PARAM_VALUE | 1 | control | 5 |
| PARAM_VALUE | 2 | value | 0-1 |
| CAPABLE | 0 | 12 | |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &ctlr->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpdma_ctlr)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/ti/davinci_cpdma.c cpdma_control_set() -> _cpdma_control_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ctlr | $0 |
| DATA_SOURCE | 1 | control | $1 |
| DATA_SOURCE | 2 | value | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ctlr->lock | |
| TYPE_LOCK | (struct cpdma_ctlr)->lock |
drivers/net/ethernet/ti/davinci_cpdma.c cpdma_ctlr_start() -> _cpdma_control_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->state | 1 |
| PARAM_VALUE | 1 | control | 5 |
| PARAM_VALUE | 2 | value | 0-1 |
| CAPPED_DATA | 0 | ctlr->params.num_chan | 1 |
| DATA_SOURCE | 0 | ctlr | $0 |
| FUZZY_MAX | 2 | value | 1 |
| HARD_MAX | 2 | value | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ctlr->lock | |
| TYPE_LOCK | (struct cpdma_ctlr)->lock |
drivers/net/ethernet/ti/davinci_cpdma.c cpdma_ctlr_start() -> _cpdma_control_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->state | 1 |
| PARAM_VALUE | 1 | control | 11 |
| PARAM_VALUE | 2 | value | 0 |
| CAPPED_DATA | 0 | ctlr->params.num_chan | 1 |
| DATA_SOURCE | 0 | ctlr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ctlr->lock | |
| TYPE_LOCK | (struct cpdma_ctlr)->lock |