Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/usb/renesas_usbhs/fifo.c
- drivers/usb/renesas_usbhs/mod_gadget.c, line 745
- drivers/usb/renesas_usbhs/mod_host.c, line 279
- drivers/usb/renesas_usbhs/pipe.c
Smatch caller information:
drivers/usb/renesas_usbhs/mod_gadget.c __usbhsg_ep_set_halt_wedge() -> usbhs_pipe_is_dir_in()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_malloc() -> usbhs_pipe_is_dir_in()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->flags | 1,3,5,7 |
| CAPPED_DATA | 0 | pipe | 1 |
| CAPPED_DATA | 0 | pipe->pipe_type | 1 |
| DATA_SOURCE | 0 | pipe | r usbhsp_get_pipe |
| PARAM_COMPARE | 0 | pipe | != $0->priv->pipe_info.pipe |
| PARAM_COMPARE | 0 | pipe | != $0->priv->pipe_info.pipe |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->lock |
drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_set_trans_count_if_bulk() -> usbhs_pipe_is_dir_in()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| CAPPED_DATA | 0 | pipe | 1 |
| DATA_SOURCE | 0 | pipe | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/fifo.c usbhs_pkt_pop() -> usbhs_pipe_is_dir_in()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| DATA_SOURCE | 0 | pipe | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &uep->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/fifo.c usbhsf_dma_xfer_preparing() -> usbhs_pipe_is_dir_in()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| LOCK2 | &priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_clear() -> usbhs_pipe_is_dir_in()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| CAPPED_DATA | 0 | pipe | 1 |
| DATA_SOURCE | 0 | pipe | $0 |
| PARAM_COMPARE | 0 | pipe | != $0->priv->pipe_info.pipe |
| PARAM_COMPARE | 0 | pipe | != $0->priv->pipe_info.pipe |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/mod_host.c usbhsh_pipe_attach() -> usbhs_pipe_is_dir_in()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| CAPPED_DATA | 0 | pipe->pipe_type | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &priv->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |