Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/hd3ss3220.c hd3ss3220_irq() -> hd3ss3220_set_role()

Type Parameter Key Value
BUF_SIZE 0 hd3ss3220 s32min-(-2),1-s32max
BUF_SIZE 0 hd3ss3220 s32min-(-2),1-s32max
DATA_SOURCE 0 hd3ss3220 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hd3ss3220 unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq

drivers/usb/typec/hd3ss3220.c hd3ss3220_probe() -> hd3ss3220_set_role()

Type Parameter Key Value
PARAM_VALUE 0 hd3ss3220 4096-ptr_max
PARAM_VALUE 0 hd3ss3220->dev 4096-ptr_max
PARAM_VALUE 0 hd3ss3220->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 hd3ss3220->dev->driver_data 4096-ptr_max
PARAM_VALUE 0 hd3ss3220->dev->power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 hd3ss3220->id_gpiod 0,4096-ptr_max
PARAM_VALUE 0 hd3ss3220->id_irq 0-s32max
PARAM_VALUE 0 hd3ss3220->port 4096-ptr_max
PARAM_VALUE 0 hd3ss3220->port->con.attach 1324651618066358272
PARAM_VALUE 0 hd3ss3220->port->con.deattach 4650986530451238912
PARAM_VALUE 0 hd3ss3220->port->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 hd3ss3220->port->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 hd3ss3220->port->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 hd3ss3220->port->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 hd3ss3220->port->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 hd3ss3220->port->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 hd3ss3220->port->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 hd3ss3220->port->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 hd3ss3220->port->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 hd3ss3220->port->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 hd3ss3220->port->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 hd3ss3220->port->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 hd3ss3220->port->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 hd3ss3220->port->dev.physical_location->panel 0-7
PARAM_VALUE 0 hd3ss3220->port->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 hd3ss3220->port->id 0-s32max
PARAM_VALUE 0 hd3ss3220->port->mode_ids.xa.xa_flags 33554437
PARAM_VALUE 0 hd3ss3220->port->mode_ids.xa.xa_head 0
PARAM_VALUE 0 hd3ss3220->port->ops 1294021021647851520
PARAM_VALUE 0 hd3ss3220->port->ops->port_type_set 2844620764829073408
PARAM_VALUE 0 hd3ss3220->port->ops->try_role 2013159759474634752
PARAM_VALUE 0 hd3ss3220->port->partner_link_lock.dep_map->name 0-255
PARAM_VALUE 0 hd3ss3220->port->pd 0
PARAM_VALUE 0 hd3ss3220->port->port_type 0-2
PARAM_VALUE 0 hd3ss3220->port->port_type_lock.dep_map->name 0-255
PARAM_VALUE 0 hd3ss3220->port->prefer_role (-1)-1
PARAM_VALUE 0 hd3ss3220->regmap 0-ptr_max
PARAM_VALUE 0 hd3ss3220->role_sw 0,4096-ptr_max
PARAM_VALUE 0 hd3ss3220->role_sw->module->refcnt.counter 0-s32max
PARAM_VALUE 0 hd3ss3220->vbus 0,4096-ptr_max
BUF_SIZE 0 hd3ss3220 248
BUF_SIZE 0 hd3ss3220->dev 1616
BUF_SIZE 0 hd3ss3220->id_gpiod s32min-s32max
BUF_SIZE 0 hd3ss3220->port 2136
BUF_SIZE 0 hd3ss3220->vbus (-1)-0,160
CAPPED_DATA 0 hd3ss3220->port->prefer_role 1
DATA_SOURCE 0 hd3ss3220 r devm_kzalloc
FUZZY_MAX 0 hd3ss3220->id_irq 0
MEM_ZERO 0 hd3ss3220
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/hd3ss3220.c output_poll_execute() -> hd3ss3220_set_role()

Type Parameter Key Value
PARAM_VALUE 0 hd3ss3220 4096-ptr_max
PARAM_VALUE 0 hd3ss3220->regmap 4096-ptr_max
PARAM_VALUE 0 *hd3ss3220->regmap->cache->data 0-4294967295
NOCHECK_CALL
HALF_LOCKED2 &pool->lock