Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/usb/common/common.c, line 276
- drivers/usb/core/devices.c, line 176
- drivers/usb/core/endpoint.c, line 83
- drivers/usb/host/xhci-mtk-sch.c, line 82
Smatch caller information:
drivers/usb/host/xhci-mtk-sch.c decode_ep() -> usb_decode_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| PARAM_VALUE | 0 | epd->bmAttributes | 1-255 |
| BUF_SIZE | 0 | epd | 9 |
| DATA_SOURCE | 1 | speed | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | hcd->bandwidth_mutex | ||
| HALF_LOCKED2 | &udev->dev.mutex |
drivers/usb/core/endpoint.c interval_show() -> usb_decode_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/core/devices.c usb_dump_endpoint_descriptor() -> usb_decode_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| DATA_SOURCE | 0 | epd | $3 |
| DATA_SOURCE | 1 | speed | $0 |
| HALF_LOCKED2 | &(bus->root_hub)->dev.mutex | ||
| HALF_LOCKED2 | &dev->dev.mutex | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |