Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dma/sh/usb-dmac.c usb_dmac_chan_halt() -> usb_dmac_chan_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 20 |
| DATA_SOURCE | 0 | chan | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &chan->vc.lock |
drivers/dma/sh/usb-dmac.c usb_dmac_chan_is_busy() -> usb_dmac_chan_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 20 |
| DATA_SOURCE | 0 | chan | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &chan->vc.lock |
drivers/dma/sh/usb-dmac.c usb_dmac_get_current_residue() -> usb_dmac_chan_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| DATA_SOURCE | 0 | chan | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &chan->vc.lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct virt_dma_chan)->lock |
drivers/dma/sh/usb-dmac.c usb_dmac_get_current_residue() -> usb_dmac_chan_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| DATA_SOURCE | 0 | chan | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &chan->vc.lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct virt_dma_chan)->lock |
drivers/dma/sh/usb-dmac.c usb_dmac_isr_channel() -> usb_dmac_chan_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 20 |
| DATA_SOURCE | 0 | chan | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &chan->vc.lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct virt_dma_chan)->lock |