Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/core/hub.c check_port_resume_type() -> hub_port_warm_reset_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | port1 | 0-255 |
| BUF_SIZE | 0 | hub | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hub | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hub | $1 |
| DATA_SOURCE | 1 | port1 | $2 |
| DATA_SOURCE | 2 | portstatus | $5 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port1 | unit_array_size |
| LOCK2 | &port_dev->status_lock | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_activate() -> hub_port_warm_reset_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | port1 | 1-s32max |
| BUF_SIZE | 0 | hub | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hub | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | port1 | 1 |
| DATA_SOURCE | 0 | hub | $0 |
| CONSTRAINT | 1 | port1 | <=3318 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hub | unit_byte |
| UNITS | 1 | port1 | unit_array_size |
drivers/usb/core/hub.c hub_port_reset() -> hub_port_warm_reset_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev->descriptor.bDeviceProtocol | 3 |
| PARAM_VALUE | 1 | port1 | 1-s32max |
| CAPPED_DATA | 1 | port1 | 1 |
| DATA_SOURCE | 0 | hub | $0 |
| DATA_SOURCE | 1 | port1 | $1 |
| CONSTRAINT | 1 | port1 | <=3318 |
| UNITS | 1 | port1 | unit_array_size |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_port_reset() -> hub_port_warm_reset_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev->descriptor.bDeviceProtocol | 3 |
| PARAM_VALUE | 0 | hub->warm_reset_bits | 4096-ptr_max |
| PARAM_VALUE | 1 | port1 | 1-s32max |
| CAPPED_DATA | 1 | port1 | 1 |
| DATA_SOURCE | 0 | hub | $0 |
| DATA_SOURCE | 1 | port1 | $1 |
| CONSTRAINT | 1 | port1 | <=3318 |
| UNITS | 1 | port1 | unit_array_size |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &ehci_cf_port_reset_rwsem | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_port_wait_reset() -> hub_port_warm_reset_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev->descriptor.bDeviceProtocol | 3 |
| PARAM_VALUE | 0 | hub->warm_reset_bits | 4096-ptr_max |
| PARAM_VALUE | 1 | port1 | 1-s32max |
| CAPPED_DATA | 0 | hub->hdev->maxchild | 1 |
| CAPPED_DATA | 1 | port1 | 1 |
| DATA_SOURCE | 0 | hub | $0 |
| DATA_SOURCE | 1 | port1 | $1 |
| CONSTRAINT | 1 | port1 | <=3318 |
| BIT_INFO | 2 | portstatus | 0x0,0xffef |
| UNITS | 1 | port1 | unit_array_size |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &ehci_cf_port_reset_rwsem | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c port_event() -> hub_port_warm_reset_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | port1 | 1-s32max |
| CAPPED_DATA | 1 | port1 | 1 |
| DATA_SOURCE | 0 | hub | $0 |
| DATA_SOURCE | 1 | port1 | $1 |
| CONSTRAINT | 1 | port1 | <=3318 |
| UNITS | 1 | port1 | unit_array_size |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c port_event() -> hub_port_warm_reset_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev->descriptor.bDeviceProtocol | 3 |
| PARAM_VALUE | 1 | port1 | 1-s32max |
| CAPPED_DATA | 1 | port1 | 1 |
| DATA_SOURCE | 0 | hub | $0 |
| DATA_SOURCE | 1 | port1 | $1 |
| CONSTRAINT | 1 | port1 | <=3318 |
| UNITS | 1 | port1 | unit_array_size |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |