Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/usb/musb/musb_gadget.c, line 767
- drivers/usb/musb/musb_gadget_ep0.c
- drivers/usb/musb/musb_host.c
- drivers/usb/musb/tusb6010_omap.c, line 148
Smatch caller information:
drivers/usb/musb/musb_gadget_ep0.c ep0_rxstate() -> musb_read_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw_ep | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 1-255 |
| PARAM_VALUE | 2 | dst | 4096-ptr_max |
| BUF_SIZE | 0 | hw_ep | 6528 |
| CAPPED_DATA | 1 | len | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| UNITS | 2 | dst | unit_byte |
| LOCK2 | &musb->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct musb)->lock |
drivers/usb/musb/musb_gadget_ep0.c musb_read_setup() -> musb_read_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw_ep | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 8 |
| PARAM_VALUE | 2 | dst | 7495369446054739968 |
| BUF_SIZE | 0 | hw_ep | 6528 |
| DATA_SOURCE | 2 | dst | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| LOCK2 | &musb->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct musb)->lock |
drivers/usb/musb/musb_host.c musb_h_ep0_continue() -> musb_read_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw_ep | 4096-ptr_max |
| PARAM_VALUE | 0 | hw_ep->ep_in.current_epnum | 0-254 |
| PARAM_VALUE | 0 | hw_ep->ep_in.dma | 0 |
| PARAM_VALUE | 0 | hw_ep->ep_in.hw_ep | 0-254 |
| PARAM_VALUE | 0 | hw_ep->ep_in.is_in | 0-1 |
| PARAM_VALUE | 0 | hw_ep->ep_in.packet_sz | 0-2047 |
| PARAM_VALUE | 0 | hw_ep->ep_in.type | 0-3 |
| PARAM_VALUE | 0 | hw_ep->ep_in.wedged | 0-1 |
| PARAM_VALUE | 0 | hw_ep->ep_out.current_epnum | 0-254 |
| PARAM_VALUE | 0 | hw_ep->ep_out.dma | 0 |
| PARAM_VALUE | 0 | hw_ep->ep_out.hw_ep | 0-254 |
| PARAM_VALUE | 0 | hw_ep->ep_out.is_in | 0-1 |
| PARAM_VALUE | 0 | hw_ep->ep_out.packet_sz | 0-2047 |
| PARAM_VALUE | 0 | hw_ep->ep_out.type | 0-3 |
| PARAM_VALUE | 0 | hw_ep->ep_out.wedged | 0-1 |
| PARAM_VALUE | 0 | hw_ep->rx_channel | 0 |
| PARAM_VALUE | 0 | hw_ep->rx_reinit | 0-1 |
| PARAM_VALUE | 0 | hw_ep->tx_channel | 0 |
| PARAM_VALUE | 0 | hw_ep->tx_reinit | 1 |
| PARAM_VALUE | 1 | len | 0-255 |
| PARAM_VALUE | 2 | dst | 4096-ptr_max |
| BUF_SIZE | 0 | hw_ep | 6528 |
| BUF_SIZE | 0 | hw_ep | 6528 |
| CAPPED_DATA | 1 | len | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| UNITS | 2 | dst | unit_byte |
| LOCK2 | &musb->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct musb)->lock |
drivers/usb/musb/musb_host.c musb_host_packet_rx() -> musb_read_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw_ep | 4096-ptr_max |
| PARAM_VALUE | 0 | hw_ep->in_qh | 4096-ptr_max |
| PARAM_VALUE | 2 | dst | 4096-ptr_max |
| CAPPED_DATA | 1 | len | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| UNITS | 2 | dst | unit_byte |
| LOCK2 | &musb->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct musb)->lock |
drivers/usb/musb/musb_gadget.c rxstate() -> musb_read_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | dst | 4096-ptr_max |
| CAPPED_DATA | 1 | len | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| UNITS | 2 | dst | unit_byte |
| LOCK2 | &musb->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct musb)->lock |