Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 7 files:
- drivers/phy/tegra/xusb.c, line 614
- drivers/usb/chipidea/ci.h
- drivers/usb/chipidea/udc.c
- drivers/usb/phy/phy-ab8500-usb.c
- drivers/usb/phy/phy-gpio-vbus-usb.c
- drivers/usb/phy/phy-tahvo.c
- drivers/usb/phy/phy.c, line 748
Smatch caller information:
drivers/usb/phy/phy-tahvo.c check_vbus_state() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tu->serialize | ||
| TYPE_LOCK | (struct tahvo_usb)->serialize |
drivers/usb/phy/phy-tahvo.c check_vbus_state() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tu->serialize | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct tahvo_usb)->serialize |
drivers/usb/chipidea/core.c ci_role_start() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ci->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/usb/chipidea/core.c ci_role_start() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ci->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/usb/chipidea/core.c ci_role_stop() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ci->mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ci_hdrc)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/chipidea/otg_fsm.c ci_role_start() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 2 |
| NOCHECK_CALL | |||
| LOCK2 | &fsm->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct otg_fsm)->lock |
drivers/usb/chipidea/otg_fsm.c ci_role_start() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &fsm->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct otg_fsm)->lock |
drivers/usb/chipidea/otg_fsm.c ci_role_stop() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &fsm->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct otg_fsm)->lock |
drivers/usb/chipidea/udc.c ci_udc_vbus_session() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ci->mutex | ||
| HALF_LOCKED2 | &fsm->lock | ||
| HALF_LOCKED2 | &tu->serialize |
drivers/usb/chipidea/udc.c ci_udc_vbus_session() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ci->mutex | ||
| HALF_LOCKED2 | &fsm->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &tu->serialize | ||
| HALF_LOCKED2 | &udc->connect_lock |
drivers/usb/chipidea/udc.c udc_irq() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ci->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &sw->lock | ||
| TYPE_LOCK | (struct ci_hdrc)->lock |
drivers/usb/chipidea/otg.c ci_role_start() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 2 |
| NOCHECK_CALL | |||
| LOCK2 | &ci->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ci_hdrc)->mutex |
drivers/usb/chipidea/otg.c ci_role_start() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &ci->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ci_hdrc)->mutex |
drivers/usb/chipidea/otg.c ci_role_stop() -> usb_phy_set_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | event | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &ci->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ci_hdrc)->mutex |