Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/usb/musb/tusb6010.c tusb_otg_ints() -> musb_platform_set_vbus()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->ops->enable 0,4603858545345949696,7292210179802193920,7415579999595175936
PARAM_VALUE 0 musb->xceiv 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg->state 6
PARAM_VALUE 1 is_on 1
DATA_SOURCE 0 musb $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 musb->int_usb 0-255
LOCK2 0 &musb->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct musb)->lock

drivers/usb/musb/musb_virthub.c musb_hub_control() -> musb_platform_set_vbus()

Type Parameter Key Value
PARAM_VALUE 1 is_on 0
DATA_SOURCE 0 musb r hcd_to_musb
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &musb->lock
TYPE_LOCK (struct musb)->lock

drivers/usb/musb/musb_gadget.c musb_gadget_start() -> musb_platform_set_vbus()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->config 4096-ptr_max
PARAM_VALUE 0 musb->config->maximum_speed 0-117
PARAM_VALUE 0 musb->controller 4096-ptr_max
PARAM_VALUE 0 musb->controller->bus 0,4096-ptr_max
PARAM_VALUE 0 musb->controller->class 0,4096-ptr_max
PARAM_VALUE 0 musb->controller->parent->driver_data->status 4
PARAM_VALUE 0 musb->controller->power.request 0-4
PARAM_VALUE 0 musb->controller->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 musb->controller->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 musb->controller->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 musb->controller->type 0,4096-ptr_max
PARAM_VALUE 0 musb->gadget_driver 4096-ptr_max
PARAM_VALUE 0 musb->gadget_driver->max_speed 3-u32max
PARAM_VALUE 0 musb->intrrxe 0,2-65534
PARAM_VALUE 0 musb->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 musb->ops 4096-ptr_max
PARAM_VALUE 0 musb->ops->enable 0,4096-ptr_max
PARAM_VALUE 0 musb->otg_state 1
PARAM_VALUE 0 musb->phy 0,4096-ptr_max
PARAM_VALUE 0 musb->softconnect 0
PARAM_VALUE 0 musb->xceiv 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->last_event 2
PARAM_VALUE 0 musb->xceiv->otg 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg->state 1
PARAM_VALUE 1 is_on 1
DATA_SOURCE 0 musb r gadget_to_musb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &udc->connect_lock
HALF_LOCKED2 &g->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/usb/musb/musb_core.c musb_handle_intr_sessreq() -> musb_platform_set_vbus()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->ep0_stage 1
PARAM_VALUE 0 musb->g.ops->vbus_draw 0,4096-ptr_max
PARAM_VALUE 0 musb->is_host 1
PARAM_VALUE 0 musb->ops->set_vbus 0,4096-ptr_max
PARAM_VALUE 0 musb->otg_state 6
PARAM_VALUE 0 musb->xceiv 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg->state 6
PARAM_VALUE 1 is_on 1
DATA_SOURCE 0 musb $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 musb->g.dev.bus_dma_limit 0-u64max
HOST_DATA 0 musb->g.dev.coherent_dma_mask 0-u64max
HOST_DATA 0 musb->g.dev.devt 0-u32max
HOST_DATA 0 musb->g.dev.dma_uses_io_tlb 0-1
HOST_DATA 0 musb->g.dev.id 0-u32max
HOST_DATA 0 musb->g.dev.kobj.kref.refcount.refs.counter s32min-s32max
HOST_DATA 0 musb->g.dev.kobj.release.cpu s32min-s32max
HOST_DATA 0 musb->g.dev.kobj.release.timer.expires 0-u64max
HOST_DATA 0 musb->g.dev.kobj.release.timer.flags 0-u32max
HOST_DATA 0 musb->g.dev.kobj.release.work.data.counter s64min-s64max
HOST_DATA 0 musb->g.dev.kobj.state_add_uevent_sent 0-1
HOST_DATA 0 musb->g.dev.kobj.state_in_sysfs 0-1
HOST_DATA 0 musb->g.dev.kobj.state_initialized 0-1
HOST_DATA 0 musb->g.dev.kobj.state_remove_uevent_sent 0-1
HOST_DATA 0 musb->g.dev.kobj.uevent_suppress 0-1
HOST_DATA 0 musb->g.dev.links.status 0-u32max
HOST_DATA 0 musb->g.dev.mutex.osq.tail.counter s32min-s32max
HOST_DATA 0 musb->g.dev.mutex.owner.counter s64min-s64max
HOST_DATA 0 musb->g.dev.numa_node s32min-s32max
HOST_DATA 0 musb->g.dev.power.accounting_timestamp 0-u64max
HOST_DATA 0 musb->g.dev.power.active_time 0-u64max
HOST_DATA 0 musb->g.dev.power.async_suspend 0-1
HOST_DATA 0 musb->g.dev.power.autosuspend_delay s32min-s32max
HOST_DATA 0 musb->g.dev.power.can_wakeup 0-1
HOST_DATA 0 musb->g.dev.power.child_count.counter s32min-s32max
HOST_DATA 0 musb->g.dev.power.completion.done 0-u32max
HOST_DATA 0 musb->g.dev.power.deferred_resume 0-1
HOST_DATA 0 musb->g.dev.power.detach_power_off 0-1
HOST_DATA 0 musb->g.dev.power.direct_complete 0-1
HOST_DATA 0 musb->g.dev.power.disable_depth 0-7
HOST_DATA 0 musb->g.dev.power.driver_flags 0-u32max
HOST_DATA 0 musb->g.dev.power.early_init 0-1
HOST_DATA 0 musb->g.dev.power.idle_notification 0-1
HOST_DATA 0 musb->g.dev.power.ignore_children 0-1
HOST_DATA 0 musb->g.dev.power.in_dpm_list 0-1
HOST_DATA 0 musb->g.dev.power.irq_safe 0-1
HOST_DATA 0 musb->g.dev.power.is_late_suspended 0-1
HOST_DATA 0 musb->g.dev.power.is_noirq_suspended 0-1
HOST_DATA 0 musb->g.dev.power.is_prepared 0-1
HOST_DATA 0 musb->g.dev.power.is_suspended 0-1
HOST_DATA 0 musb->g.dev.power.last_busy 0-u64max
HOST_DATA 0 musb->g.dev.power.last_status s32min-s32max
HOST_DATA 0 musb->g.dev.power.links_count 0-u32max
HOST_DATA 0 musb->g.dev.power.may_skip_resume 0-1
HOST_DATA 0 musb->g.dev.power.memalloc_noio 0-1
HOST_DATA 0 musb->g.dev.power.must_resume 0-1
HOST_DATA 0 musb->g.dev.power.needs_force_resume 0-1
HOST_DATA 0 musb->g.dev.power.no_callbacks 0-1
HOST_DATA 0 musb->g.dev.power.no_pm 0-1
HOST_DATA 0 musb->g.dev.power.no_pm_callbacks 0-1
HOST_DATA 0 musb->g.dev.power.out_band_wakeup 0-1
HOST_DATA 0 musb->g.dev.power.power_state.event s32min-s32max
HOST_DATA 0 musb->g.dev.power.request 0-u32max
HOST_DATA 0 musb->g.dev.power.request_pending 0-1
HOST_DATA 0 musb->g.dev.power.runtime_auto 0-1
HOST_DATA 0 musb->g.dev.power.runtime_error s32min-s32max
HOST_DATA 0 musb->g.dev.power.runtime_status s32min-s32max
HOST_DATA 0 musb->g.dev.power.smart_suspend 0-1
HOST_DATA 0 musb->g.dev.power.strict_midlayer 0-1
HOST_DATA 0 musb->g.dev.power.suspended_time 0-u64max
HOST_DATA 0 musb->g.dev.power.syscore 0-1
HOST_DATA 0 musb->g.dev.power.timer_autosuspends 0-1
HOST_DATA 0 musb->g.dev.power.timer_expires 0-u64max
HOST_DATA 0 musb->g.dev.power.usage_count.counter s32min-s32max
HOST_DATA 0 musb->g.dev.power.use_autosuspend 0-1
HOST_DATA 0 musb->g.dev.power.work_in_progress 0-1
HOST_DATA 0 musb->g.dev.removable 0-u32max
HOST_DATA 0 musb->int_rx 0-u16max
HOST_DATA 0 musb->int_tx 0-u16max
HOST_DATA 0 musb->int_usb 0-255
HOST_DATA 0 musb->xceiv->otg->default_a 0-1
LOCK2 0 &musb->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct musb)->lock

drivers/usb/musb/musb_core.c musb_handle_intr_vbuserr() -> musb_platform_set_vbus()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->controller 0,4096-ptr_max
PARAM_VALUE 0 musb->controller->bus 0,4096-ptr_max
PARAM_VALUE 0 musb->controller->class 0,4096-ptr_max
PARAM_VALUE 0 musb->controller->driver 0,4096-ptr_max
PARAM_VALUE 0 musb->g.ops->vbus_draw 0,4096-ptr_max
PARAM_VALUE 0 musb->ops->set_vbus 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv 0,4096-ptr_max
PARAM_VALUE 1 is_on 0
DATA_SOURCE 0 musb $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 musb->g.dev.bus_dma_limit 0-u64max
HOST_DATA 0 musb->g.dev.coherent_dma_mask 0-u64max
HOST_DATA 0 musb->g.dev.devt 0-u32max
HOST_DATA 0 musb->g.dev.dma_uses_io_tlb 0-1
HOST_DATA 0 musb->g.dev.id 0-u32max
HOST_DATA 0 musb->g.dev.kobj.kref.refcount.refs.counter s32min-s32max
HOST_DATA 0 musb->g.dev.kobj.release.cpu s32min-s32max
HOST_DATA 0 musb->g.dev.kobj.release.timer.expires 0-u64max
HOST_DATA 0 musb->g.dev.kobj.release.timer.flags 0-u32max
HOST_DATA 0 musb->g.dev.kobj.release.work.data.counter s64min-s64max
HOST_DATA 0 musb->g.dev.kobj.state_add_uevent_sent 0-1
HOST_DATA 0 musb->g.dev.kobj.state_in_sysfs 0-1
HOST_DATA 0 musb->g.dev.kobj.state_initialized 0-1
HOST_DATA 0 musb->g.dev.kobj.state_remove_uevent_sent 0-1
HOST_DATA 0 musb->g.dev.kobj.uevent_suppress 0-1
HOST_DATA 0 musb->g.dev.links.status 0-u32max
HOST_DATA 0 musb->g.dev.mutex.osq.tail.counter s32min-s32max
HOST_DATA 0 musb->g.dev.mutex.owner.counter s64min-s64max
HOST_DATA 0 musb->g.dev.numa_node s32min-s32max
HOST_DATA 0 musb->g.dev.power.accounting_timestamp 0-u64max
HOST_DATA 0 musb->g.dev.power.active_time 0-u64max
HOST_DATA 0 musb->g.dev.power.async_suspend 0-1
HOST_DATA 0 musb->g.dev.power.autosuspend_delay s32min-s32max
HOST_DATA 0 musb->g.dev.power.can_wakeup 0-1
HOST_DATA 0 musb->g.dev.power.child_count.counter s32min-s32max
HOST_DATA 0 musb->g.dev.power.completion.done 0-u32max
HOST_DATA 0 musb->g.dev.power.deferred_resume 0-1
HOST_DATA 0 musb->g.dev.power.detach_power_off 0-1
HOST_DATA 0 musb->g.dev.power.direct_complete 0-1
HOST_DATA 0 musb->g.dev.power.disable_depth 0-7
HOST_DATA 0 musb->g.dev.power.driver_flags 0-u32max
HOST_DATA 0 musb->g.dev.power.early_init 0-1
HOST_DATA 0 musb->g.dev.power.idle_notification 0-1
HOST_DATA 0 musb->g.dev.power.ignore_children 0-1
HOST_DATA 0 musb->g.dev.power.in_dpm_list 0-1
HOST_DATA 0 musb->g.dev.power.irq_safe 0-1
HOST_DATA 0 musb->g.dev.power.is_late_suspended 0-1
HOST_DATA 0 musb->g.dev.power.is_noirq_suspended 0-1
HOST_DATA 0 musb->g.dev.power.is_prepared 0-1
HOST_DATA 0 musb->g.dev.power.is_suspended 0-1
HOST_DATA 0 musb->g.dev.power.last_busy 0-u64max
HOST_DATA 0 musb->g.dev.power.last_status s32min-s32max
HOST_DATA 0 musb->g.dev.power.links_count 0-u32max
HOST_DATA 0 musb->g.dev.power.may_skip_resume 0-1
HOST_DATA 0 musb->g.dev.power.memalloc_noio 0-1
HOST_DATA 0 musb->g.dev.power.must_resume 0-1
HOST_DATA 0 musb->g.dev.power.needs_force_resume 0-1
HOST_DATA 0 musb->g.dev.power.no_callbacks 0-1
HOST_DATA 0 musb->g.dev.power.no_pm 0-1
HOST_DATA 0 musb->g.dev.power.no_pm_callbacks 0-1
HOST_DATA 0 musb->g.dev.power.out_band_wakeup 0-1
HOST_DATA 0 musb->g.dev.power.power_state.event s32min-s32max
HOST_DATA 0 musb->g.dev.power.request 0-u32max
HOST_DATA 0 musb->g.dev.power.request_pending 0-1
HOST_DATA 0 musb->g.dev.power.runtime_auto 0-1
HOST_DATA 0 musb->g.dev.power.runtime_error s32min-s32max
HOST_DATA 0 musb->g.dev.power.runtime_status s32min-s32max
HOST_DATA 0 musb->g.dev.power.smart_suspend 0-1
HOST_DATA 0 musb->g.dev.power.strict_midlayer 0-1
HOST_DATA 0 musb->g.dev.power.suspended_time 0-u64max
HOST_DATA 0 musb->g.dev.power.syscore 0-1
HOST_DATA 0 musb->g.dev.power.timer_autosuspends 0-1
HOST_DATA 0 musb->g.dev.power.timer_expires 0-u64max
HOST_DATA 0 musb->g.dev.power.usage_count.counter s32min-s32max
HOST_DATA 0 musb->g.dev.power.use_autosuspend 0-1
HOST_DATA 0 musb->g.dev.power.work_in_progress 0-1
HOST_DATA 0 musb->g.dev.removable 0-u32max
HOST_DATA 0 musb->int_rx 0-u16max
HOST_DATA 0 musb->int_tx 0-u16max
HOST_DATA 0 musb->int_usb 0-255
HOST_DATA 0 musb->xceiv->otg->default_a 0-1
LOCK2 0 &musb->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct musb)->lock

drivers/usb/musb/musb_core.c musb_otg_timer_func() -> musb_platform_set_vbus()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->xceiv 0,4096-ptr_max
PARAM_VALUE 1 is_on 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &musb->lock
TYPE_LOCK (struct musb)->lock

drivers/usb/musb/mpfs.c mpfs_musb_init() -> musb_platform_set_vbus()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->a_wait_bcon 1100
PARAM_VALUE 0 musb->config 4096-ptr_max
PARAM_VALUE 0 musb->config->num_eps 0-16
PARAM_VALUE 0 musb->control.next 4096-ptr_max
PARAM_VALUE 0 musb->control.next->next 4096-ptr_max
PARAM_VALUE 0 musb->control.prev 4096-ptr_max
PARAM_VALUE 0 musb->control.prev->next 4096-ptr_max
PARAM_VALUE 0 musb->control.prev->prev 4096-ptr_max
PARAM_VALUE 0 musb->controller 4096-ptr_max
PARAM_VALUE 0 musb->controller->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 musb->controller->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 musb->controller->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 musb->ctrl_base 4096-ptr_max
PARAM_VALUE 0 musb->dev_timer.entry.pprev 0
PARAM_VALUE 0 musb->dev_timer.flags 0-4194302
PARAM_VALUE 0 musb->dev_timer.lockdep_map->name 0-255
PARAM_VALUE 0 musb->dyn_fifo 1
PARAM_VALUE 0 musb->endpoints 0
PARAM_VALUE 0 musb->endpoints->epnum 0
PARAM_VALUE 0 musb->endpoints->musb->a_wait_bcon 1100
PARAM_VALUE 0 musb->endpoints->musb->nIrq (-19)
PARAM_VALUE 0 musb->endpoints->musb->vbuserr_retry 3
PARAM_VALUE 0 musb->hcd 4096-ptr_max
PARAM_VALUE 0 musb->hcd->has_tt 1
PARAM_VALUE 0 musb->hcd->self.uses_pio_for_control 1
PARAM_VALUE 0 musb->hcd->uses_new_polling 1
PARAM_VALUE 0 musb->in_bulk.next 4096-ptr_max
PARAM_VALUE 0 musb->in_bulk.next->next 4096-ptr_max
PARAM_VALUE 0 musb->in_bulk.prev 4096-ptr_max
PARAM_VALUE 0 musb->in_bulk.prev->next 4096-ptr_max
PARAM_VALUE 0 musb->in_bulk.prev->prev 4096-ptr_max
PARAM_VALUE 0 musb->isr 1666053382407659520
PARAM_VALUE 0 musb->mregs 4096-ptr_max
PARAM_VALUE 0 musb->nIrq (-19)
PARAM_VALUE 0 musb->ops 4096-ptr_max
PARAM_VALUE 0 musb->ops->init 1284788296352792576,4546869901464309760,5181577812504604672,5625064254223273984,6380510387425800192,7371755536867921920
PARAM_VALUE 0 musb->out_bulk.next 4096-ptr_max
PARAM_VALUE 0 musb->out_bulk.next->next 4096-ptr_max
PARAM_VALUE 0 musb->out_bulk.prev 4096-ptr_max
PARAM_VALUE 0 musb->out_bulk.prev->next 4096-ptr_max
PARAM_VALUE 0 musb->out_bulk.prev->prev 4096-ptr_max
PARAM_VALUE 0 musb->pending_list.next 4096-ptr_max
PARAM_VALUE 0 musb->pending_list.next->next 4096-ptr_max
PARAM_VALUE 0 musb->pending_list.prev 4096-ptr_max
PARAM_VALUE 0 musb->pending_list.prev->next 4096-ptr_max
PARAM_VALUE 0 musb->pending_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 musb->port_mode 0-255
PARAM_VALUE 0 musb->vbuserr_retry 3
PARAM_VALUE 0 musb->xceiv 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->dev 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->dev->driver 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->dev->driver->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 musb->xceiv->dev->driver->owner->state 0-1,3-u32max
PARAM_VALUE 0 musb->xceiv->type 1
PARAM_VALUE 0 *musb->hcd->hcd_priv 4096-s64max
PARAM_VALUE 1 is_on 1
BUF_SIZE 0 musb 10272
BUF_SIZE 0 musb->ops 248
CAPPED_DATA 0 musb->config->num_eps 1
DATA_SOURCE 0 musb $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL