Defined in 3 files as a function:
- drivers/usb/gadget/udc/m66592-udc.c, line 474 (as a function)
- drivers/usb/gadget/udc/r8a66597-udc.c, line 548 (as a function)
- drivers/usb/host/r8a66597-hcd.c, line 969 (as a function)
Referenced in 3 files:
- drivers/usb/gadget/udc/m66592-udc.c
- drivers/usb/gadget/udc/r8a66597-udc.c
- drivers/usb/host/r8a66597-hcd.c
Smatch caller information:
drivers/usb/gadget/udc/m66592-udc.c irq_packet_write() -> pipe_irq_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->reg | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m66592->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/m66592-udc.c start_packet_read() -> pipe_irq_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 1 | pipenum | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ep->m66592->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/m66592-udc.c start_packet_read() -> pipe_irq_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipenum | 1-u16max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ep->m66592->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/m66592-udc.c start_packet_write() -> pipe_irq_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ep->m66592->lock | ||
| HALF_LOCKED2 | &m66592->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/host/r8a66597-hcd.c packet_write() -> pipe_irq_enable()
| 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 | pipenum | 4096-ptr_max |
| PARAM_VALUE | 1 | pipenum->actual_length | 0-4294967294 |
| PARAM_VALUE | 1 | pipenum->transfer_buffer_length | 1-u32max |
| CAPPED_DATA | 1 | pipenum->actual_length | 1 |
| DATA_SOURCE | 0 | r8a66597 | $0 |
| DATA_SOURCE | 2 | pipenum | $1 |
| PARAM_COMPARE | 1 | pipenum->actual_length | < $1->transfer_buffer_length |
| CONSTRAINT | 1 | pipenum->actual_length | <624 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &r8a66597->lock |
drivers/usb/host/r8a66597-hcd.c prepare_packet_read() -> pipe_irq_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->reg | 4096-ptr_max |
| PARAM_VALUE | 1 | pipenum | 4096-ptr_max |
| DATA_SOURCE | 0 | r8a66597 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | pipenum->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | pipenum->transfer_buffer_length | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &r8a66597->lock |
drivers/usb/host/r8a66597-hcd.c prepare_packet_read() -> pipe_irq_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->reg | 4096-ptr_max |
| PARAM_VALUE | 1 | pipenum | 4096-ptr_max |
| PARAM_VALUE | 1 | pipenum->actual_length | 0 |
| DATA_SOURCE | 0 | r8a66597 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | pipenum->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | pipenum->transfer_buffer_length | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &r8a66597->lock |
drivers/usb/host/r8a66597-hcd.c prepare_packet_write() -> pipe_irq_enable()
| 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 | pipenum | 4096-ptr_max |
| DATA_SOURCE | 0 | r8a66597 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | pipenum->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | pipenum->transfer_buffer_length | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &r8a66597->lock |
drivers/usb/gadget/udc/r8a66597-udc.c irq_packet_write() -> pipe_irq_enable()
| 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &r8a66597->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c start_packet_read() -> pipe_irq_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 1 | pipenum | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ep->r8a66597->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c start_packet_read() -> pipe_irq_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->gadget.dev.parent->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | r8a66597->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | r8a66597->reg | 4096-ptr_max |
| PARAM_VALUE | 1 | pipenum | 1-u16max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ep->r8a66597->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c start_packet_write() -> pipe_irq_enable()
| 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ep->r8a66597->lock | ||
| HALF_LOCKED2 | &r8a66597->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |