Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dma/switchtec_dma.c halt_channel() -> wait_for_chan_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan_hw | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 1024 |
| PARAM_VALUE | 2 | set | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &swdma_chan->hw_ctrl_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct switchtec_dma_chan)->hw_ctrl_lock |
drivers/dma/switchtec_dma.c switchtec_dma_pause() -> wait_for_chan_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan_hw | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 512 |
| PARAM_VALUE | 2 | set | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &swdma_chan->hw_ctrl_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &host->io_mutex | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &priv->rx_dma_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct switchtec_dma_chan)->hw_ctrl_lock |
drivers/dma/switchtec_dma.c switchtec_dma_resume() -> wait_for_chan_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan_hw | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 512 |
| PARAM_VALUE | 2 | set | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &swdma_chan->hw_ctrl_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct switchtec_dma_chan)->hw_ctrl_lock |
drivers/dma/switchtec_dma.c unhalt_channel() -> wait_for_chan_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan_hw | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 1024 |
| PARAM_VALUE | 2 | set | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &swdma_chan->hw_ctrl_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &dma_list_mutex | ||
| TYPE_LOCK | (struct switchtec_dma_chan)->hw_ctrl_lock |