Defined in 2 files as a function:
- drivers/usb/typec/tcpm/fusb302.c, line 728 (as a function)
- drivers/usb/typec/tcpm/tcpm.c, line 1253 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/typec/tcpm/tcpm.c tcpm_src_attach() -> tcpm_set_vconn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->attached | 0 |
| PARAM_VALUE | 0 | port->cc1 | 1 |
| PARAM_VALUE | 0 | port->cc2 | 1-2 |
| PARAM_VALUE | 0 | port->logbuffer_head | 0-s32max |
| PARAM_VALUE | 0 | port->logbuffer_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->polarity | 0-1 |
| PARAM_VALUE | 0 | port->tcpc | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tcpc->set_polarity | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 1 |
| DATA_SOURCE | 0 | port | $0 |
| FUZZY_MAX | 0 | port->cc2 | 2 |
drivers/usb/typec/tcpm/tcpm.c tcpm_src_attach() -> tcpm_set_vconn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->attached | 0 |
| PARAM_VALUE | 0 | port->logbuffer_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->logbuffer_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->pd_supported | 1 |
| PARAM_VALUE | 0 | port->polarity | 0-1 |
| PARAM_VALUE | 0 | port->tcpc | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tcpc->set_polarity | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tcpc->set_vbus | 4096-ptr_max |
| PARAM_VALUE | 0 | port->typec_port | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 0 |
| DATA_SOURCE | 0 | port | $0 |
| NOCHECK_CALL |
drivers/usb/typec/tcpm/tcpm.c tcpm_init_vconn() -> (struct tcpc_dev)->set_vconn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->set_vbus | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 0 |
| CONTAINER | 0 | *(-72+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/tcpm/tcpm.c tcpm_set_vconn() -> (struct tcpc_dev)->set_vconn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->set_polarity | 4096-ptr_max |
| DATA_SOURCE | 1 | enable | $1 |
| CONTAINER | 0 | *(-72+0) | $(-1) |