Defined in 1 files as a function:
Referenced in 3 files:
- drivers/power/supply/isp1704_charger.c, line 68
- drivers/usb/phy/phy-tegra-usb.c
- drivers/usb/phy/phy-ulpi.c
Smatch caller information:
drivers/power/supply/isp1704_charger.c isp1704_write() -> usb_phy_io_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | reg | 4-6,10-12,22,61-63 |
| DATA_SOURCE | 1 | val | $2 |
| DATA_SOURCE | 2 | reg | $1 |
| HARD_MAX | 2 | reg | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/phy/phy-tegra-usb.c ulpi_phy_power_on() -> usb_phy_io_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | val | 64 |
| PARAM_VALUE | 2 | reg | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy-tegra-usb.c ulpi_phy_power_on() -> usb_phy_io_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | x->io_dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | x->io_dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | x->io_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->write | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 128 |
| PARAM_VALUE | 2 | reg | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy-ulpi.c ulpi_check_integrity() -> usb_phy_io_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->init | 1-u64max |
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | x->io_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->write | 0,4096-ptr_max |
| PARAM_VALUE | 1 | val | 85,170 |
| PARAM_VALUE | 2 | reg | 22 |
| BUF_SIZE | 0 | x->io_ops | (-1),16 |
| DATA_SOURCE | 0 | x | $0 |
| FUZZY_MAX | 1 | val | 170 |
| HARD_MAX | 1 | val | 170 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy-ulpi.c ulpi_set_fc_flags() -> usb_phy_io_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->init | 1-u64max |
| PARAM_VALUE | 0 | x->io_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | x->io_dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | x->io_dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | x->io_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->write | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 64-95 |
| PARAM_VALUE | 2 | reg | 4 |
| BUF_SIZE | 0 | x->io_ops | (-1),16 |
| DATA_SOURCE | 0 | x | $0 |
| BIT_INFO | 0 | x->flags | 0x0,0xffffffff |
| BIT_INFO | 1 | val | 0x40,0x5f |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy-ulpi.c ulpi_set_host() -> usb_phy_io_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | x->io_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->read | 0,4096-ptr_max |
| PARAM_VALUE | 1 | val | 0-2,4,8-236 |
| PARAM_VALUE | 2 | reg | 7 |
| BIT_INFO | 0 | x->flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy-ulpi.c ulpi_set_ic_flags() -> usb_phy_io_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->init | 1-u64max |
| PARAM_VALUE | 0 | x->io_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | x->io_dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | x->io_dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | x->io_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->write | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240 |
| PARAM_VALUE | 2 | reg | 7 |
| BUF_SIZE | 0 | x->io_ops | (-1),16 |
| DATA_SOURCE | 0 | x | $0 |
| FUZZY_MAX | 1 | val | 0 |
| BIT_INFO | 0 | x->flags | 0x0,0xffffffff |
| BIT_INFO | 1 | val | 0x0,0xf0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy-ulpi.c ulpi_set_otg_flags() -> usb_phy_io_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->init | 1-u64max |
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | x->io_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->write | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0-7,128-135 |
| PARAM_VALUE | 2 | reg | 10 |
| BUF_SIZE | 0 | x->io_ops | (-1),16 |
| DATA_SOURCE | 0 | x | $0 |
| FUZZY_MAX | 1 | val | 6 |
| BIT_INFO | 0 | x->flags | 0x0,0xffffffff |
| BIT_INFO | 1 | val | 0x0,0x87 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy-ulpi.c ulpi_set_vbus() -> usb_phy_io_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | x->io_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | x->io_ops->read | 0,4096-ptr_max |
| PARAM_VALUE | 1 | val | 0-242 |
| PARAM_VALUE | 2 | reg | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->mutex |