Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/dwc2/core.h, line 1463 (as a function)
- drivers/usb/dwc2/gadget.c, line 1597 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/dwc2/gadget.c dwc2_hsotg_complete_in() -> dwc2_hsotg_set_test_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->ep0_state | 3 |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->test_mode | 1-255 |
| PARAM_VALUE | 1 | testmode | 1-255 |
| DATA_SOURCE | 0 | hsotg | $0 |
drivers/usb/dwc2/debugfs.c testmode_write() -> dwc2_hsotg_set_test_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | testmode | 0-5 |
| BUF_SIZE | 0 | hsotg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsotg | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 0 | hsotg | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | 0 | &hsotg->lock | |
| TYPE_LOCK | (struct dwc2_hsotg)->lock |