Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/udc/net2280.c defect7374_enable_data_eps_zero() -> get_idx_reg()

Type Parameter Key Value
PARAM_VALUE 0 regs 4096-ptr_max
PARAM_VALUE 1 index 11
RX_PATH
TASK_NOT_RUNNING
LOCK2 &udc->connect_lock
HALF_LOCKED2 &_gadget->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/usb/gadget/udc/net2280.c defect7374_workaround() -> get_idx_reg()

Type Parameter Key Value
PARAM_VALUE 0 regs 4096-ptr_max
PARAM_VALUE 1 index 11
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct net2280)->lock

drivers/usb/gadget/udc/net2280.c net2280_get_frame() -> get_idx_reg()

Type Parameter Key Value
PARAM_VALUE 1 index 2
PREEMPT_ADD <- disables preempt
LOCK2 &dev->lock
LOCK2 &pool->lock
LOCK2 &queue->irqlock
LOCK2 flags
LOCK2 flags
TYPE_LOCK (struct net2280)->lock
TYPE_LOCK (struct uvc_video_queue)->irqlock

drivers/usb/gadget/udc/net2280.c net2280_probe() -> get_idx_reg()

Type Parameter Key Value
PARAM_VALUE 0 regs 4096-ptr_max
PARAM_VALUE 1 index 11
RX_PATH
TASK_NOT_RUNNING

drivers/usb/gadget/udc/net2280.c net2280_probe() -> get_idx_reg()

Type Parameter Key Value
PARAM_VALUE 0 regs 4096-ptr_max
PARAM_VALUE 1 index 3
RX_PATH
TASK_NOT_RUNNING