Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_address_device() -> bdc_submit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->bdc_ep_array | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdc->num_eps | 1-u32max |
| PARAM_VALUE | 0 | bdc->sr_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->srr.sr_bds | 4096-ptr_max |
| PARAM_VALUE | 0 | *bdc->ep0_response_buff | 0-u16max |
| PARAM_VALUE | 1 | cmd_sc | 131073 |
| PARAM_VALUE | 2 | param0 | 0 |
| PARAM_VALUE | 3 | param1 | 0 |
| PARAM_VALUE | 4 | param2 | 0-127 |
| DATA_SOURCE | 0 | bdc | $0 |
| BIT_INFO | 0 | bdc->devstatus | 0x0,0xfffbffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &bdc->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bdc)->lock |
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_config_ep() -> bdc_submit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->gadget.speed | 1-3,5 |
| PARAM_VALUE | 0 | *bdc->ep0_response_buff | 0-u16max |
| PARAM_VALUE | 1 | cmd_sc | 131074,132098-162818 |
| DATA_SOURCE | 0 | bdc | $0 |
| BIT_INFO | 1 | cmd_sc | 0x20002,0x27c02 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | param2 | 0-u32max[u] |
| HALF_LOCKED2 | 0 | &bdc->lock |
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_dconfig_ep() -> bdc_submit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->bdc_ep_array | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_sc | 262146,263170-293890 |
| PARAM_VALUE | 2 | param0 | 0 |
| PARAM_VALUE | 3 | param1 | 0 |
| PARAM_VALUE | 4 | param2 | 0 |
| DATA_SOURCE | 0 | bdc | $0 |
| BIT_INFO | 1 | cmd_sc | 0x40002,0x47c02 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdc->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bdc)->lock |
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_ep_bla() -> bdc_submit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->bdc_ep_array | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->gadget.speed | 1-u32max |
| PARAM_VALUE | 1 | cmd_sc | 3,1027-31747 |
| PARAM_VALUE | 4 | param2 | 0 |
| DATA_SOURCE | 0 | bdc | $0 |
| BIT_INFO | 1 | cmd_sc | 0x3,0x7c03 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ctx->ctx_lock | ||
| HALF_LOCKED2 | &epdata->dev->lock | ||
| HALF_LOCKED2 | &epdata->lock | ||
| HALF_LOCKED2 | &epfile->dmabufs_mutex | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &ffs->eps_lock | ||
| HALF_LOCKED2 | &port->port_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct bdc)->lock |
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_ep_clear_stall() -> bdc_submit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->bdc_ep_array | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_sc | 131076,132100-162820,196612,197636-228356 |
| PARAM_VALUE | 2 | param0 | 0 |
| PARAM_VALUE | 3 | param1 | 0 |
| PARAM_VALUE | 4 | param2 | 0 |
| DATA_SOURCE | 0 | bdc | $0 |
| BIT_INFO | 1 | cmd_sc | 0x20004,0x37c04 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdc->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bdc)->lock |
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_ep_set_stall() -> bdc_submit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd_sc | 524292,525316-556036 |
| PARAM_VALUE | 2 | param0 | 0 |
| PARAM_VALUE | 3 | param1 | 0 |
| PARAM_VALUE | 4 | param2 | 0 |
| DATA_SOURCE | 0 | bdc | $0 |
| BIT_INFO | 1 | cmd_sc | 0x80004,0x87c04 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdc->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bdc)->lock |
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_function_wake() -> bdc_submit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd_sc | 524294 |
| PARAM_VALUE | 2 | param0 | 0 |
| PARAM_VALUE | 3 | param1 | 0 |
| PARAM_VALUE | 4 | param2 | 0-255 |
| DATA_SOURCE | 0 | bdc | $0 |
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_function_wake_fh() -> bdc_submit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | *bdc->ep0_response_buff | 0-u16max |
| PARAM_VALUE | 1 | cmd_sc | 14 |
| PARAM_VALUE | 2 | param0 | 4,33554436-4261412868 |
| PARAM_VALUE | 3 | param1 | 22 |
| PARAM_VALUE | 4 | param2 | 0 |
| DATA_SOURCE | 0 | bdc | $0 |
| BIT_INFO | 2 | param0 | 0x4,0xfe000004 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &bdc->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bdc)->lock |
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_stop_ep() -> bdc_submit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->bdc_ep_array | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_sc | 327684,328708-359428 |
| PARAM_VALUE | 2 | param0 | 0 |
| PARAM_VALUE | 3 | param1 | 0 |
| PARAM_VALUE | 4 | param2 | 0 |
| DATA_SOURCE | 0 | bdc | $0 |
| BIT_INFO | 1 | cmd_sc | 0x50004,0x57c04 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdc->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bdc)->lock |