Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/typec/class.c typec_partner_attach() -> typec_partner_link_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | partner | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->usb_mode | 0-3 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | partner | r typec_get_partner |
| DATA_SOURCE | 1 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->partner_link_lock | ||
| TYPE_LOCK | (struct typec_port)->partner_link_lock |
drivers/usb/typec/class.c typec_register_partner() -> typec_partner_link_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | partner | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->accessory | 0-2 |
| PARAM_VALUE | 0 | partner->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | partner->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | partner->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.fwnode->suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | partner->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | partner->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | partner->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | partner->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | partner->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | partner->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | partner->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | partner->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | partner->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | partner->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->mode_ids.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | partner->mode_ids.xa.xa_head | 0 |
| PARAM_VALUE | 0 | partner->num_altmodes | (-1) |
| PARAM_VALUE | 0 | partner->usb_mode | 1-2 |
| PARAM_VALUE | 1 | dev | 1-u64max |
| BUF_SIZE | 0 | partner | 1784 |
| CAPPED_DATA | 0 | &partner->dev | 1 |
| DATA_SOURCE | 0 | partner | r _kzalloc_noprof |
| FUZZY_MAX | 0 | partner->usb_mode | 2 |
| BIT_INFO | 0 | partner->usb_capability | 0x1,0xff |
| HARD_MAX | 0 | partner->usb_mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->partner_link_lock | ||
| HALF_LOCKED2 | &con->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct typec_port)->partner_link_lock |
drivers/usb/typec/class.c typec_register_partner() -> typec_partner_link_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | partner | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->accessory | 0-2 |
| PARAM_VALUE | 0 | partner->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | partner->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | partner->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.fwnode->suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | partner->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | partner->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | partner->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | partner->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | partner->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | partner->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | partner->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | partner->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | partner->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | partner->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | partner->mode_ids.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | partner->mode_ids.xa.xa_head | 0 |
| PARAM_VALUE | 0 | partner->num_altmodes | (-1) |
| PARAM_VALUE | 0 | partner->usb_mode | 2 |
| PARAM_VALUE | 1 | dev | 1-u64max |
| BUF_SIZE | 0 | partner | 1784 |
| CAPPED_DATA | 0 | &partner->dev | 1 |
| DATA_SOURCE | 0 | partner | r _kzalloc_noprof |
| BIT_INFO | 0 | partner->usb_capability | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->partner_link_lock | ||
| HALF_LOCKED2 | &con->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct typec_port)->partner_link_lock |