Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/usb/dwc2/core_intr.c
- drivers/usb/dwc2/gadget.c
- drivers/usb/dwc2/hcd.c
- drivers/usb/dwc2/platform.c, line 326
Smatch caller information:
drivers/usb/dwc2/core_intr.c dwc2_handle_session_req_intr() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->hibernated | 0 |
| PARAM_VALUE | 0 | hsotg->in_ppd | 1 |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->lx_state | 1-u32max |
| PARAM_VALUE | 1 | rem_wakeup | 0 |
| PARAM_VALUE | 2 | restore | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hsotg->frame_number | 0-u16max[c] |
| LOCK2 | 0 | &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/core_intr.c dwc2_handle_wakeup_detected_intr() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->hibernated | 0 |
| PARAM_VALUE | 0 | hsotg->in_ppd | 1 |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->lx_state | 2 |
| PARAM_VALUE | 1 | rem_wakeup | 1 |
| PARAM_VALUE | 2 | restore | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hsotg->frame_number | 0-u16max[c] |
| LOCK2 | 0 | &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/core_intr.c dwc2_handle_wakeup_detected_intr() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->hibernated | 0 |
| PARAM_VALUE | 0 | hsotg->in_ppd | 1 |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->lx_state | 2 |
| PARAM_VALUE | 1 | rem_wakeup | 1 |
| PARAM_VALUE | 2 | restore | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hsotg->frame_number | 0-u16max[c] |
| LOCK2 | 0 | &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/gadget.c dwc2_hsotg_irq() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->in_ppd | 1 |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->lx_state | 2 |
| PARAM_VALUE | 1 | rem_wakeup | 0 |
| PARAM_VALUE | 2 | restore | 1 |
| DATA_SOURCE | 0 | hsotg | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/gadget.c dwc2_hsotg_vbus_session() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->in_ppd | 1 |
| PARAM_VALUE | 0 | hsotg->lx_state | 2 |
| PARAM_VALUE | 1 | rem_wakeup | 0 |
| PARAM_VALUE | 2 | restore | 0 |
| DATA_SOURCE | 0 | hsotg | r to_hsotg |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &ci->mutex | ||
| HALF_LOCKED2 | &fsm->lock | ||
| HALF_LOCKED2 | &tu->serialize | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/platform.c dwc2_driver_remove() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->in_ppd | 1 |
| PARAM_VALUE | 1 | rem_wakeup | 0 |
| PARAM_VALUE | 2 | restore | 1 |
| BUF_SIZE | 0 | hsotg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsotg | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hsotg | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/usb/dwc2/hcd.c _dwc2_hcd_resume() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->lx_state | 2 |
| PARAM_VALUE | 0 | hsotg->params.power_down | 1 |
| PARAM_VALUE | 1 | rem_wakeup | 0 |
| PARAM_VALUE | 2 | restore | 1 |
| DATA_SOURCE | 0 | hsotg | r dwc2_hcd_to_hsotg |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &hsotg->lock | |
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd.c _dwc2_hcd_urb_enqueue() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->in_ppd | 1 |
| PARAM_VALUE | 1 | rem_wakeup | 0 |
| PARAM_VALUE | 2 | restore | 1 |
| DATA_SOURCE | 0 | hsotg | r dwc2_hcd_to_hsotg |
drivers/usb/dwc2/hcd.c dwc2_conn_id_status_change() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->in_ppd | 1 |
| PARAM_VALUE | 0 | hsotg->lx_state | 2 |
| PARAM_VALUE | 0 | hsotg->vbus_supply | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->vbus_supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->ena_gpio_state | 0-1 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->ena_pin->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->reg_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->reg_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->reg_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->reg_data->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->reg_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->regmap->async | 0-1 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | hsotg->vbus_supply->rdev->use_count | 0-4294967295 |
| PARAM_VALUE | 1 | rem_wakeup | 0 |
| PARAM_VALUE | 2 | restore | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/dwc2/hcd.c dwc2_hcd_hub_control() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->hibernated | 0 |
| PARAM_VALUE | 0 | hsotg->in_ppd | 1 |
| PARAM_VALUE | 1 | rem_wakeup | 1 |
| PARAM_VALUE | 2 | restore | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
drivers/usb/dwc2/hcd.c dwc2_port_resume() -> dwc2_exit_partial_power_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->bus_suspended | 1 |
| PARAM_VALUE | 0 | hsotg->params.power_down | 1 |
| PARAM_VALUE | 1 | rem_wakeup | 0 |
| PARAM_VALUE | 2 | restore | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &hsotg->lock | |
| TYPE_LOCK | (struct dwc2_hsotg)->lock |