Defined in 2 files as a function:
- drivers/usb/gadget/udc/r8a66597-udc.h, line 194 (as a function)
- drivers/usb/host/r8a66597.h, line 208 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/host/r8a66597-hcd.c packet_write() -> r8a66597_write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->reg | 4096-ptr_max |
| PARAM_VALUE | 1 | ep | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | s32min-u16max |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | r8a66597 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &r8a66597->lock |
drivers/usb/gadget/udc/r8a66597-udc.c irq_ep0_write() -> r8a66597_write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->reg | 4096-ptr_max |
| PARAM_VALUE | 1 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->r8a66597->pdata | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->r8a66597->reg | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1-4096 |
| BUF_SIZE | 1 | ep | (-1),960 |
| BUF_SIZE | 1 | ep | (-1),960 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 1 | ep | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | len | 2-4096[c] |
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &r8a66597->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 1 | &ep->r8a66597->lock | |
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c irq_packet_write() -> r8a66597_write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->reg | 4096-ptr_max |
| PARAM_VALUE | 1 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->ep.desc | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->ep.desc->bEndpointAddress | 128-255 |
| PARAM_VALUE | 1 | ep->r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->r8a66597->gadget.dev.parent->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 1 | ep->r8a66597->pdata | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->r8a66597->reg | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-4096 |
| BUF_SIZE | 1 | ep | (-1),960 |
| BUF_SIZE | 1 | ep | (-1),960 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 1 | ep | $0 |
| BIT_INFO | 1 | ep->ep.desc->bEndpointAddress | 0x80,0xff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | len | 1-4096[c] |
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &r8a66597->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 1 | &ep->r8a66597->lock | |
| TYPE_LOCK | (struct r8a66597)->lock |