Documented in 1 files:

Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 38 files:

Smatch caller information:

drivers/usb/chipidea/udc.c ci_hdrc_gadget_destroy() -> udc_stop()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->dev 4096-ptr_max
PARAM_VALUE 0 ci->gadget.dev.kobj.state_in_sysfs 1
PARAM_VALUE 0 ci->role_switch 0,4096-u64max
PARAM_VALUE 0 ci->role_switch->dev->driver_data->cis_virt (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ci->role_switch->dev.devres_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ci->role_switch->dev.driver_data->callback->add 5235430000054906880
PARAM_VALUE 0 ci->role_switch->dev.driver_data->callback->early_resume 6956900869090054144
PARAM_VALUE 0 ci->role_switch->dev.driver_data->callback->remove 1719268733136482304
PARAM_VALUE 0 ci->role_switch->dev.driver_data->callback->requery 4713442613417914368
PARAM_VALUE 0 ci->role_switch->dev.driver_data->callback->resume 5068206944467017728
PARAM_VALUE 0 ci->role_switch->dev.driver_data->callback->suspend 2738892915008757760
PARAM_VALUE 0 ci->role_switch->dev.driver_data->callback->validate 4934365872137547776
PARAM_VALUE 0 ci->role_switch->dev.driver_data->cdev->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 ci->role_switch->dev.driver_data->cdev->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 ci->role_switch->dev.driver_data->cdev->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 ci->role_switch->dev.driver_data->cdev->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 ci->role_switch->dev.driver_data->cis_mem.flags 0,2-254
PARAM_VALUE 0 ci->role_switch->dev.driver_data->d_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.driver_data->detaching.counter s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.driver_data->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.driver_data->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.driver_data->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 ci->role_switch->dev.driver_data->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 ci->role_switch->dev.driver_data->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 ci->role_switch->dev.driver_data->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 ci->role_switch->dev.driver_data->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 ci->role_switch->dev.driver_data->device_count 0-1
PARAM_VALUE 0 ci->role_switch->dev.driver_data->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ci->role_switch->dev.driver_data->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ci->role_switch->dev.driver_data->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ci->role_switch->dev.driver_data->sfd_lock.dep_map->name 0-255
PARAM_VALUE 0 ci->role_switch->dev.driver_data->sfd_lock.raw_lock.cnts.counter s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.driver_data->skt_mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ci->role_switch->dev.driver_data->skt_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ci->role_switch->dev.driver_data->skt_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ci->role_switch->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.kobj.parent 0
PARAM_VALUE 0 ci->role_switch->dev.kobj.parent->release.timer.is_hard 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.parent->release.timer.is_lazy 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.parent->release.timer.is_queued 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.parent->release.timer.is_soft 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 ci->role_switch->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.sd 0
PARAM_VALUE 0 ci->role_switch->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ci->role_switch->dev.kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.state_initialized 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 ci->role_switch->dev.kobj.uevent_suppress 0-1
PARAM_VALUE 0 ci->role_switch->dev.p->dead 1
PARAM_VALUE 0 ci->role_switch->dev.p->knode_class.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.p->knode_parent.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.parent->kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.parent->kobj.release.cpu s32min-s32max
PARAM_VALUE 0 ci->role_switch->dev.parent->kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 ci->role_switch->dev.parent->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 ci->role_switch->dev.parent->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 ci->role_switch->dev.parent->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 ci->role_switch->dev.parent->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 ci->role_switch->dev.power.can_wakeup 0
PARAM_VALUE 0 ci->role_switch->dev.power.completion.done 4294967295
PARAM_VALUE 0 ci->role_switch->dev.power.deferred_resume 0-1
PARAM_VALUE 0 ci->role_switch->dev.power.disable_depth 0-7
PARAM_VALUE 0 ci->role_switch->dev.power.idle_notification 0-1
PARAM_VALUE 0 ci->role_switch->dev.power.in_dpm_list 0
PARAM_VALUE 0 ci->role_switch->dev.power.irq_safe 0
PARAM_VALUE 0 ci->role_switch->dev.power.last_status s32min-0,2,4-s32max
PARAM_VALUE 0 ci->role_switch->dev.power.no_pm_callbacks 0-1
PARAM_VALUE 0 ci->role_switch->dev.power.qos (-19),0
PARAM_VALUE 0 ci->role_switch->dev.power.request 0-4294967295
PARAM_VALUE 0 ci->role_switch->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 ci->role_switch->dev.power.runtime_status 2
PARAM_VALUE 0 ci->role_switch->dev.power.timer_autosuspends 0-1
PARAM_VALUE 0 ci->role_switch->dev.power.usage_count.counter 0-s32max
PARAM_VALUE 0 ci->role_switch->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ci->role_switch->registered 0
PARAM_VALUE 0 ci->roles 4096-ptr_max
BUF_SIZE 0 ci s32min-(-2),1-s32max
BUF_SIZE 0 ci s32min-(-2),1-s32max
DATA_SOURCE 0 ci $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ci unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/usb/chipidea/core.c ci_role_stop() -> (struct ci_role_driver)->stop()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->mutex.dep_map->name 0-255
PARAM_VALUE 0 ci->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ci->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ci->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ci->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ci->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ci->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ci->role 2
PARAM_VALUE 0 ci->roles 4096-ptr_max
BUF_SIZE 0 ci s32min-(-2),1-s32max
BUF_SIZE 0 ci s32min-(-2),1-s32max
DATA_SOURCE 0 ci $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &ci->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ci_hdrc)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/chipidea/otg_fsm.c ci_role_stop() -> (struct ci_role_driver)->stop()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->role 2
PARAM_VALUE 0 ci->roles 4096-ptr_max
DATA_SOURCE 0 ci $0
LOCK2 &fsm->lock
LOCK2 &pool->lock
TYPE_LOCK (struct otg_fsm)->lock

drivers/usb/chipidea/otg.c ci_role_stop() -> (struct ci_role_driver)->stop()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->dev 4096-ptr_max
PARAM_VALUE 0 ci->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 ci->dev->class 0,4096-ptr_max
PARAM_VALUE 0 ci->dev->power.request 0-4
PARAM_VALUE 0 ci->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 ci->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 ci->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ci->dev->type 0,4096-ptr_max
PARAM_VALUE 0 ci->mutex.dep_map->name 0-255
PARAM_VALUE 0 ci->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ci->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ci->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ci->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ci->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ci->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ci->platdata 4096-ptr_max
PARAM_VALUE 0 ci->role 2
PARAM_VALUE 0 ci->roles 4096-ptr_max
DATA_SOURCE 0 ci $0
LOCK2 0 &ci->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ci_hdrc)->mutex