Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/dwc2/gadget.c dwc2_hsotg_ep_enable() -> dwc2_hsotg_set_ep_maxpacket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | ep | 1-255 |
| PARAM_VALUE | 2 | mps | 0-2047 |
| PARAM_VALUE | 3 | mc | 1-4 |
| PARAM_VALUE | 4 | dir_in | 0-1 |
| CAPPED_DATA | 4 | dir_in | 1 |
| DATA_SOURCE | 2 | mps | r usb_endpoint_maxp |
| DATA_SOURCE | 3 | mc | r usb_endpoint_maxp_mult |
| FUZZY_MAX | 4 | dir_in | 1 |
| HARD_MAX | 4 | dir_in | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | mps | 0-2047[c] |
| USER_DATA | 3 | mc | 1-4[c] |
| LOCK2 | flags | ||
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/gadget.c dwc2_hsotg_irq_enumdone() -> dwc2_hsotg_set_ep_maxpacket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->gadget.speed | 1-3 |
| PARAM_VALUE | 1 | ep | 0 |
| PARAM_VALUE | 2 | mps | 8,64 |
| PARAM_VALUE | 3 | mc | 0 |
| PARAM_VALUE | 4 | dir_in | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| FUZZY_MAX | 0 | hsotg->gadget.speed | 3 |
| BIT_INFO | 2 | mps | 0x0,0x48 |
| HARD_MAX | 0 | hsotg->gadget.speed | 3 |
| NOCHECK_CALL |
drivers/usb/dwc2/gadget.c dwc2_hsotg_irq_enumdone() -> dwc2_hsotg_set_ep_maxpacket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->gadget.speed | 1-3 |
| PARAM_VALUE | 1 | ep | 0 |
| PARAM_VALUE | 2 | mps | 8,64 |
| PARAM_VALUE | 3 | mc | 0 |
| PARAM_VALUE | 4 | dir_in | 0 |
| DATA_SOURCE | 0 | hsotg | $0 |
| FUZZY_MAX | 0 | hsotg->gadget.speed | 3 |
| BIT_INFO | 2 | mps | 0x0,0x48 |
| HARD_MAX | 0 | hsotg->gadget.speed | 3 |
| NOCHECK_CALL |
drivers/usb/dwc2/gadget.c dwc2_hsotg_irq_enumdone() -> dwc2_hsotg_set_ep_maxpacket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->eps_in | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->gadget.speed | 1-3 |
| PARAM_VALUE | 0 | hsotg->num_of_eps | 2-255 |
| PARAM_VALUE | 1 | ep | 1-254 |
| PARAM_VALUE | 2 | mps | 8,1023-1024 |
| PARAM_VALUE | 3 | mc | 0 |
| PARAM_VALUE | 4 | dir_in | 1 |
| CAPPED_DATA | 1 | ep | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| FUZZY_MAX | 0 | hsotg->gadget.speed | 3 |
| PARAM_COMPARE | 0 | hsotg->num_of_eps | > $1 |
| PARAM_COMPARE | 1 | ep | < $0->num_of_eps |
| HARD_MAX | 0 | hsotg->gadget.speed | 3 |
| NOCHECK_CALL |
drivers/usb/dwc2/gadget.c dwc2_hsotg_irq_enumdone() -> dwc2_hsotg_set_ep_maxpacket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->eps_in | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->eps_out | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->gadget.speed | 1-3 |
| PARAM_VALUE | 0 | hsotg->num_of_eps | 2-255 |
| PARAM_VALUE | 1 | ep | 1-254 |
| PARAM_VALUE | 2 | mps | 8,1023-1024 |
| PARAM_VALUE | 3 | mc | 0 |
| PARAM_VALUE | 4 | dir_in | 0 |
| CAPPED_DATA | 1 | ep | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| FUZZY_MAX | 0 | hsotg->gadget.speed | 3 |
| PARAM_COMPARE | 0 | hsotg->num_of_eps | > $1 |
| PARAM_COMPARE | 1 | ep | < $0->num_of_eps |
| HARD_MAX | 0 | hsotg->gadget.speed | 3 |
| NOCHECK_CALL |