Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/platform/chrome/cros_ec_typec.c, line 268
- drivers/usb/typec/anx7411.c, line 388
- drivers/usb/typec/class.c, line 1166
- drivers/usb/typec/rt1719.c, line 250
- drivers/usb/typec/stusb160x.c, line 364
- drivers/usb/typec/tcpm/tcpm.c, line 5015
- drivers/usb/typec/tipd/core.c
- drivers/usb/typec/ucsi/ucsi.c, line 1290
- drivers/usb/typec/wusb3801.c, line 278
Smatch caller information:
drivers/usb/typec/stusb160x.c stusb160x_attach() -> typec_register_partner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | desc | 8123548085551579136 |
| PARAM_VALUE | 1 | desc->accessory | 0-2 |
| PARAM_VALUE | 1 | desc->identity | 0 |
| PARAM_VALUE | 1 | desc->usb_pd | 0 |
| BUF_SIZE | 0 | port | (-1),2136 |
| BUF_SIZE | 0 | port | (-1),2136 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/chrome/cros_ec_typec.c cros_typec_add_partner() -> typec_register_partner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | desc | 3209053736555257856 |
| PARAM_VALUE | 1 | desc->accessory | 0 |
| PARAM_VALUE | 1 | desc->attach | 0 |
| PARAM_VALUE | 1 | desc->deattach | 0 |
| PARAM_VALUE | 1 | desc->identity | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->pd_revision | 0 |
| PARAM_VALUE | 1 | desc->usb_capability | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/ucsi/ucsi.c ucsi_register_partner() -> typec_register_partner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->data_role | 0-4294967295 |
| PARAM_VALUE | 1 | desc | 835002386727038976 |
| PARAM_VALUE | 1 | desc->accessory | 0-2 |
| PARAM_VALUE | 1 | desc->identity | 0,4096-ptr_max |
| CAPPED_DATA | 0 | port->sw->num_sw_devs | 1 |
| MEM_ZERO | 1 | desc | |
| LOCK2 | &con->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ucsi_connector)->lock |
drivers/usb/typec/rt1719.c rt1719_register_partner() -> typec_register_partner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->data_role | 0-4294967295 |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->accessory | 0,2 |
| PARAM_VALUE | 1 | desc->pd_revision | 0,256,512,768 |
| BUF_SIZE | 0 | port | (-1),2136 |
| BUF_SIZE | 0 | port | (-1),2136 |
| CAPPED_DATA | 0 | port->pwr_opmode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/tipd/core.c cd321x_update_work() -> typec_register_partner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->data_role | 0-1 |
| PARAM_VALUE | 0 | port->vconn_role | 0-1 |
| PARAM_VALUE | 1 | desc | 1654860985266954240 |
| PARAM_VALUE | 1 | desc->accessory | 0 |
| PARAM_VALUE | 1 | desc->identity | 0,7026847242524065808 |
| CAPPED_DATA | 0 | port->pwr_opmode | 1 |
| CAPPED_DATA | 0 | port->pwr_role | 1 |
| CAPPED_DATA | 0 | port->sw->num_sw_devs | 1 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/typec/tipd/core.c tps6598x_connect() -> typec_register_partner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->data_role | 0-1 |
| PARAM_VALUE | 0 | port->vconn_role | 0-1 |
| PARAM_VALUE | 1 | desc | 8731975168277360640 |
| PARAM_VALUE | 1 | desc->accessory | 0 |
| PARAM_VALUE | 1 | desc->identity | 0,4096-ptr_max |
| CAPPED_DATA | 0 | port->mux->num_mux_devs | 1 |
| CAPPED_DATA | 0 | port->pwr_opmode | 1 |
| CAPPED_DATA | 0 | port->pwr_role | 1 |
| CAPPED_DATA | 0 | port->sw->num_sw_devs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tps->lock |
drivers/usb/typec/anx7411.c anx7411_register_partner() -> typec_register_partner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port->data_role | 0-4294967295 |
| PARAM_VALUE | 0 | port->id | 0-4294967295 |
| PARAM_VALUE | 0 | port->port_type | 0-4294967295 |
| PARAM_VALUE | 0 | port->prefer_role | s32min-s32max |
| PARAM_VALUE | 0 | port->pwr_opmode | 0-4294967295 |
| PARAM_VALUE | 0 | port->pwr_role | 0-4294967295 |
| PARAM_VALUE | 0 | port->vconn_role | 0-4294967295 |
| PARAM_VALUE | 1 | desc | 8452762815317712896 |
| PARAM_VALUE | 1 | desc->accessory | 0-2 |
| PARAM_VALUE | 1 | desc->identity | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->lock |
drivers/usb/typec/tcpm/tcpm.c tcpm_typec_connect() -> typec_register_partner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port->data_role | 0-1 |
| PARAM_VALUE | 0 | port->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->dev.kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | port->dev.kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | port->dev.kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | port->dev.kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | port->dev.kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | port->dev.kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | port->dev.kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | port->orientation | 0-4294967295 |
| PARAM_VALUE | 0 | port->pwr_role | 0-4294967295 |
| PARAM_VALUE | 0 | port->sw->num_sw_devs | 0-4294967295 |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->accessory | 0-2 |
| CAPPED_DATA | 0 | port->sw->num_sw_devs | 1 |
drivers/usb/typec/wusb3801.c wusb3801_hw_update() -> typec_register_partner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | desc | 7501441938286092288 |
| PARAM_VALUE | 1 | desc->accessory | 0-2 |
| PARAM_VALUE | 1 | desc->attach | 0 |
| PARAM_VALUE | 1 | desc->deattach | 0 |
| PARAM_VALUE | 1 | desc->identity | 0 |
| PARAM_VALUE | 1 | desc->pd_revision | 0 |
| PARAM_VALUE | 1 | desc->usb_capability | 0 |
| PARAM_VALUE | 1 | desc->usb_pd | 0 |
| BUF_SIZE | 0 | port | (-1),2136 |
| BUF_SIZE | 0 | port | (-1),2136 |
| RX_PATH | |||
| TASK_NOT_RUNNING |