Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/udc/lpc32xx_udc.c lpc32xx_usb_lp_irq() -> udc_protocol_cmd_r()

Type Parameter Key Value
PARAM_VALUE 0 udc 4096-ptr_max
PARAM_VALUE 0 udc->board->conn_chgb 4096-ptr_max
PARAM_VALUE 0 udc->board->susp_chgb 4096-ptr_max
PARAM_VALUE 0 udc->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cmd 16450048
DATA_SOURCE 0 udc $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &udc->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct lpc32xx_udc)->lock

drivers/usb/gadget/udc/lpc32xx_udc.c udc_get_current_frame() -> udc_protocol_cmd_r()

Type Parameter Key Value
PARAM_VALUE 0 udc 4096-ptr_max
PARAM_VALUE 0 udc->clocked 1
PARAM_VALUE 1 cmd 16056832
DATA_SOURCE 0 udc $0
PREEMPT_ADD
LOCK2 &pool->lock
LOCK2 &queue->irqlock
LOCK2 flags
LOCK2 0 &udc->lock
TYPE_LOCK (struct lpc32xx_udc)->lock
TYPE_LOCK (struct uvc_video_queue)->irqlock

drivers/usb/gadget/udc/lpc32xx_udc.c udc_get_current_frame() -> udc_protocol_cmd_r()

Type Parameter Key Value
PARAM_VALUE 0 udc 4096-ptr_max
PARAM_VALUE 0 udc->clocked 1
PARAM_VALUE 1 cmd 16056832
DATA_SOURCE 0 udc $0
PREEMPT_ADD
LOCK2 &pool->lock
LOCK2 &queue->irqlock
LOCK2 flags
LOCK2 0 &udc->lock
TYPE_LOCK (struct lpc32xx_udc)->lock
TYPE_LOCK (struct uvc_video_queue)->irqlock

drivers/usb/gadget/udc/lpc32xx_udc.c udc_get_status() -> udc_protocol_cmd_r()

Type Parameter Key Value
PARAM_VALUE 0 udc 4096-ptr_max
PARAM_VALUE 0 udc->ep 4096-ptr_max
PARAM_VALUE 0 udc->ep0state 0
PARAM_VALUE 0 udc->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cmd 512,66048-4294902272
DATA_SOURCE 0 udc $0
BIT_INFO 1 cmd 0x200,0xffff0200
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &udc->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct lpc32xx_udc)->lock

drivers/usb/gadget/udc/lpc32xx_udc.c udc_handle_dev() -> udc_protocol_cmd_r()

Type Parameter Key Value
PARAM_VALUE 0 udc 4096-ptr_max
PARAM_VALUE 0 udc->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cmd 16646656
DATA_SOURCE 0 udc $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &udc->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct lpc32xx_udc)->lock

drivers/usb/gadget/udc/lpc32xx_udc.c udc_selep_clrint() -> udc_protocol_cmd_r()

Type Parameter Key Value
PARAM_VALUE 0 udc 4096-ptr_max
PARAM_VALUE 0 udc->board->rmwk_chgb 4096-ptr_max
PARAM_VALUE 0 udc->ep 4096-ptr_max
PARAM_VALUE 0 udc->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cmd 0,512-u32max
DATA_SOURCE 0 udc $0
BIT_INFO 1 cmd 0x400200,0xffff0200
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &udc->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct lpc32xx_udc)->lock