Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/usb/chipidea/debug.c, line 98
- drivers/usb/chipidea/host.c
- drivers/usb/chipidea/udc.c, line 1240
Smatch caller information:
drivers/usb/chipidea/host.c ehci_ci_portpower() -> hw_port_test_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata->phy_mode | 5 |
| PARAM_VALUE | 1 | mode | 5 |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ci | unit_byte |
drivers/usb/chipidea/host.c ehci_ci_portpower() -> hw_port_test_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata->phy_mode | 5 |
| PARAM_VALUE | 1 | mode | 0 |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ci | unit_byte |
drivers/usb/chipidea/udc.c isr_setup_status_complete() -> hw_port_test_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->setaddr | 0 |
| PARAM_VALUE | 0 | ci->test_mode | 1-255 |
| PARAM_VALUE | 1 | mode | 1-255 |
| BUF_SIZE | 0 | ci | (-1),96 |
| BUF_SIZE | 0 | ci | (-1),96 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ci | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &ci->lock | |
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ci_hdrc)->lock |
drivers/usb/chipidea/debug.c ci_port_test_write() -> hw_port_test_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ci->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ci->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ci->dev->type | 0,4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 0 | ci | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | 0 | &ci->lock | |
| TYPE_LOCK | (struct ci_hdrc)->lock |