Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/platform/chrome/cros_ec_typec.c, line 1028
- drivers/usb/typec/class.c, line 1335
- drivers/usb/typec/tcpm/tcpm.c, line 2124
- drivers/usb/typec/ucsi/ucsi.c, line 1101
Smatch caller information:
drivers/platform/chrome/cros_ec_typec.c cros_typec_handle_sop_prime_disc() -> typec_register_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cable | 4096-ptr_max |
| PARAM_VALUE | 0 | cable->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | cable->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | cable->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | cable->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | cable->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | cable->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | cable->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | cable->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | cable->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | cable->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | cable->dev.kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | cable->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | cable->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | cable->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cable->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cable->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cable->pd_revision | 0-4080 |
| PARAM_VALUE | 0 | cable->type | 0-4 |
| PARAM_VALUE | 1 | desc | 4678101572317769728 |
| PARAM_VALUE | 1 | desc->index | 0 |
| BUF_SIZE | 0 | cable | 1640 |
| BUF_SIZE | 0 | cable | 1640 |
| DATA_SOURCE | 0 | cable | r typec_register_cable |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/ucsi/ucsi.c ucsi_register_plug() -> typec_register_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cable | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 239986933423923200 |
| PARAM_VALUE | 1 | desc->index | 0 |
| LOCK2 | &con->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ucsi_connector)->lock |
drivers/usb/typec/tcpm/tcpm.c svdm_consume_identity_sop_prime() -> typec_register_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cable | 1-ptr_max |
| PARAM_VALUE | 0 | cable->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | cable->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | cable->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | cable->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | cable->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | cable->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | cable->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | cable->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | cable->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | cable->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | cable->dev.kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | cable->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | cable->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | cable->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cable->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cable->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cable->pd_revision | 512,768 |
| PARAM_VALUE | 0 | cable->svdm_version | 0-3 |
| PARAM_VALUE | 0 | cable->type | 1-4 |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->index | 0 |
| BUF_SIZE | 0 | cable | (-1),1640 |
| BUF_SIZE | 0 | cable | (-1),1640 |
| RX_PATH | |||
| LOCK2 | &port->lock | ||
| TYPE_LOCK | (struct tcpm_port)->lock |