Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/dwc3/gadget.c __dwc3_gadget_ep_enable() -> dwc3_trb_dma_offset()

Type Parameter Key Value
PARAM_VALUE 0 dep 4096-ptr_max
PARAM_VALUE 0 dep->trb_pool 4096-ptr_max
PARAM_VALUE 1 trb 4096-ptr_max
DATA_SOURCE 0 dep $0
BIT_INFO 0 dep->flags 0x1,0xffffffff
MEM_ZERO 0 dep->trb_pool
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dwc->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

drivers/usb/dwc3/gadget.c __dwc3_gadget_ep_enable() -> dwc3_trb_dma_offset()

Type Parameter Key Value
PARAM_VALUE 0 dep 4096-ptr_max
PARAM_VALUE 0 dep->trb_pool 4096-ptr_max
PARAM_VALUE 1 trb 4096-ptr_max
DATA_SOURCE 0 dep $0
BIT_INFO 0 dep->flags 0x1,0xffffffffffffffff
MEM_ZERO 0 dep->trb_pool
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dwc->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

drivers/usb/dwc3/gadget.c __dwc3_gadget_ep_enable() -> dwc3_trb_dma_offset()

Type Parameter Key Value
PARAM_VALUE 0 dep 4096-ptr_max
PARAM_VALUE 0 dep->trb_pool 4096-ptr_max
PARAM_VALUE 1 trb 4096-ptr_max
DATA_SOURCE 0 dep $0
BIT_INFO 0 dep->flags 0x1,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dwc->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

drivers/usb/dwc3/gadget.c dwc3_prepare_one_trb() -> dwc3_trb_dma_offset()

Type Parameter Key Value
PARAM_VALUE 0 dep 4096-ptr_max
PARAM_VALUE 0 dep->trb_pool 4096-ptr_max
DATA_SOURCE 0 dep $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dwc->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags