Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/stusb160x.c stusb160x_attach() -> stusb160x_set_data_role()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->partner 4096-ptr_max
PARAM_VALUE 0 chip->partner->accessory 0-2
PARAM_VALUE 0 chip->partner->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 chip->partner->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 chip->partner->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 chip->partner->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 chip->partner->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 chip->partner->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 chip->partner->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 chip->partner->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 chip->partner->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 chip->partner->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 chip->partner->dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 chip->partner->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 chip->partner->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 chip->partner->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 chip->partner->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 chip->partner->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 chip->partner->mode_ids.xa.xa_flags 33554437
PARAM_VALUE 0 chip->partner->mode_ids.xa.xa_head 0
PARAM_VALUE 0 chip->partner->num_altmodes (-1)
PARAM_VALUE 0 chip->partner->svdm_version 0-4294967295
PARAM_VALUE 0 chip->partner->usb_pd 0
PARAM_VALUE 0 chip->port 4096-ptr_max
PARAM_VALUE 0 chip->port->partner_link_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->port->partner_link_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->port->partner_link_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->port->partner_link_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 chip->port->partner_link_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->port->partner_link_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 chip->port->partner_link_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->port->usb2_dev->kobj.sd->count.counter s32min-s32max
PARAM_VALUE 0 chip->port->usb2_dev->kobj.sd->symlink.target_kn->count.counter s32min-s32max
PARAM_VALUE 0 chip->port->usb3_dev->kobj.sd->count.counter s32min-s32max
PARAM_VALUE 0 chip->port->usb3_dev->kobj.sd->symlink.target_kn->count.counter s32min-s32max
PARAM_VALUE 0 chip->port->vconn_role 0-1
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 *chip->capability.accessory 0-4294967295
PARAM_VALUE 0 *chip->regmap->cache->data 0-4294967295
PARAM_VALUE 1 data_role 0-1
PARAM_VALUE 2 attached 1
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip->dev (-1),1616
BUF_SIZE 0 chip->main_supply s32min,(-1)-s32max
BUF_SIZE 0 chip->partner 1784
BUF_SIZE 0 chip->port (-1),2136
BUF_SIZE 0 chip->vconn_supply s32min,(-1)-s32max
BUF_SIZE 0 chip->vdd_supply s32min,(-1)-s32max
BUF_SIZE 0 chip->vsys_supply s32min,(-1)-s32max
CAPPED_DATA 0 chip->port->pwr_role 1
DATA_SOURCE 0 chip $0
FUZZY_MAX 1 data_role 1
HARD_MAX 1 data_role 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte

drivers/usb/typec/stusb160x.c stusb160x_detach() -> stusb160x_set_data_role()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->partner 0
PARAM_VALUE 0 chip->port 4096-ptr_max
PARAM_VALUE 0 chip->port->vconn_role 0-1
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 *chip->regmap->cache->data 0-4294967295
PARAM_VALUE 1 data_role 0-1
PARAM_VALUE 2 attached 0
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
CAPPED_DATA 0 chip->port->pwr_opmode 1
CAPPED_DATA 0 chip->port->pwr_role 1
DATA_SOURCE 0 chip $0
FUZZY_MAX 1 data_role 1
HARD_MAX 1 data_role 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte