Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/usb/dwc2/hcd_ddma.c dwc2_calc_starting_frame() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 1 inc 16
DATA_SOURCE 0 frame r dwc2_hcd_get_frame_number
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_ddma.c dwc2_calc_starting_frame() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 1 inc 8
DATA_SOURCE 0 frame r dwc2_hcd_get_frame_number
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_ddma.c dwc2_calc_starting_frame() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 1 inc 2
DATA_SOURCE 0 frame r dwc2_hcd_get_frame_number
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_queue.c dwc2_next_for_periodic_split() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 1 inc 1-2
FUZZY_MAX 1 inc 2
HARD_MAX 1 inc 2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_queue.c dwc2_next_periodic_start() -> dwc2_frame_num_inc()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 inc unit_array_size
LOCK2 &hsotg->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_queue.c dwc2_next_periodic_start() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 0 frame 0-16383
CAPPED_DATA 0 frame 1
DATA_SOURCE 0 frame r dwc2_frame_num_inc
DATA_SOURCE 1 inc r gcd
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 inc unit_array_size
LOCK2 &hsotg->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_queue.c dwc2_pick_first_frame() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 1 inc 1
DATA_SOURCE 0 frame r dwc2_hcd_get_frame_number
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_queue.c dwc2_pick_first_frame() -> dwc2_frame_num_inc()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_queue.c dwc2_pick_first_frame() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 0 frame 0-16383
CAPPED_DATA 0 frame 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd.c dwc2_hc_set_even_odd_frame() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 1 inc 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd.c dwc2_hcd_get_future_frame_number() -> dwc2_frame_num_inc()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 frame 0-u16max[c]
LOCK2 &hsotg->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_intr.c dwc2_hc_nyet_intr() -> dwc2_frame_num_inc()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_intr.c dwc2_hc_nyet_intr() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 0 frame 0-16383
PARAM_VALUE 1 inc 1
DATA_SOURCE 0 frame r dwc2_frame_num_inc
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd_intr.c dwc2_track_missed_sofs() -> dwc2_frame_num_inc()

Type Parameter Key Value
PARAM_VALUE 1 inc 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hsotg->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct dwc2_hsotg)->lock