Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->endpoints->epnum 0-15
PARAM_VALUE 0 musb->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 musb->ops->enable 0,4603858545345949696,7292210179802193920,7415579999595175936
PARAM_VALUE 0 musb->ops->set_vbus 0,1302706238386958336,1666801379271716864,6353698527279423488
PARAM_VALUE 0 musb->ops->try_idle 0,4096-ptr_max
PARAM_VALUE 0 musb->port1_status 0,4-u32max
PARAM_VALUE 0 musb->port_mode 1
PARAM_VALUE 0 musb->xceiv 0,4096-ptr_max
DATA_SOURCE 0 musb r hcd_to_musb
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
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->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->is_active 1
PARAM_VALUE 0 musb->lock.rlock.dep_map->name 0-255
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 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg->state 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_recover_from_babble() -> musb_start()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->bulk_ep 1-u64max
PARAM_VALUE 0 musb->bulk_ep->ep_in.current_epnum 0-254
PARAM_VALUE 0 musb->bulk_ep->ep_in.dma 0
PARAM_VALUE 0 musb->bulk_ep->ep_in.is_in 0-1
PARAM_VALUE 0 musb->bulk_ep->ep_in.packet_sz 0-2047
PARAM_VALUE 0 musb->bulk_ep->ep_in.type 0-3
PARAM_VALUE 0 musb->bulk_ep->ep_in.wedged 0-1
PARAM_VALUE 0 musb->bulk_ep->ep_out.current_epnum 0-254
PARAM_VALUE 0 musb->bulk_ep->ep_out.dma 0
PARAM_VALUE 0 musb->bulk_ep->ep_out.is_in 0-1
PARAM_VALUE 0 musb->bulk_ep->ep_out.packet_sz 0-2047
PARAM_VALUE 0 musb->bulk_ep->ep_out.type 0-3
PARAM_VALUE 0 musb->bulk_ep->ep_out.wedged 0-1
PARAM_VALUE 0 musb->bulk_ep->epnum 0-15
PARAM_VALUE 0 musb->bulk_ep->rx_channel 0
PARAM_VALUE 0 musb->bulk_ep->rx_reinit 0-1
PARAM_VALUE 0 musb->bulk_ep->tx_channel 0
PARAM_VALUE 0 musb->bulk_ep->tx_reinit 1
PARAM_VALUE 0 musb->config 4096-ptr_max
PARAM_VALUE 0 musb->config->fifo_cfg 0,4096-ptr_max
PARAM_VALUE 0 musb->config->fifo_cfg_size 0,8,14
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->endpoints->ep_in.current_epnum 0-254
PARAM_VALUE 0 musb->endpoints->ep_in.dma 0
PARAM_VALUE 0 musb->endpoints->ep_in.is_in 0-1
PARAM_VALUE 0 musb->endpoints->ep_in.packet_sz 0-2047
PARAM_VALUE 0 musb->endpoints->ep_in.type 0-3
PARAM_VALUE 0 musb->endpoints->ep_in.wedged 0-1
PARAM_VALUE 0 musb->endpoints->ep_out.current_epnum 0-254
PARAM_VALUE 0 musb->endpoints->ep_out.dma 0
PARAM_VALUE 0 musb->endpoints->ep_out.is_in 0-1
PARAM_VALUE 0 musb->endpoints->ep_out.packet_sz 0-2047
PARAM_VALUE 0 musb->endpoints->ep_out.type 0-3
PARAM_VALUE 0 musb->endpoints->ep_out.wedged 0-1
PARAM_VALUE 0 musb->endpoints->epnum 0-15
PARAM_VALUE 0 musb->endpoints->is_shared_fifo 0-1
PARAM_VALUE 0 musb->endpoints->rx_channel 0
PARAM_VALUE 0 musb->endpoints->rx_reinit 0-1
PARAM_VALUE 0 musb->endpoints->tx_channel 0
PARAM_VALUE 0 musb->endpoints->tx_reinit 1
PARAM_VALUE 0 musb->g.is_a_peripheral 1
PARAM_VALUE 0 musb->g.ops->vbus_draw 0,4096-ptr_max
PARAM_VALUE 0 musb->hcd 4096-ptr_max
PARAM_VALUE 0 musb->hcd->rh_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 musb->hcd->rh_timer.entry.pprev 0,4096-ptr_max
PARAM_VALUE 0 musb->hcd->status_urb 0
PARAM_VALUE 0 musb->hcd->status_urb->setup_packet 0-255
PARAM_VALUE 0 musb->hcd->status_urb->transfer_buffer->_refcount.counter s32min-s32max
PARAM_VALUE 0 musb->hcd->status_urb->transfer_buffer->page_type 0-4294967295
PARAM_VALUE 0 musb->hcd->status_urb->urb_list.next->prev 4096-ptr_max
PARAM_VALUE 0 musb->hcd->status_urb->urb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 musb->intrrxe 0
PARAM_VALUE 0 musb->intrtxe 0
PARAM_VALUE 0 musb->is_active 0
PARAM_VALUE 0 musb->is_host 1
PARAM_VALUE 0 musb->ops 4096-ptr_max
PARAM_VALUE 0 musb->ops->recover 0,4096-ptr_max
PARAM_VALUE 0 musb->ops->set_vbus 0,4096-ptr_max
PARAM_VALUE 0 musb->ops->try_idle 0,4096-ptr_max
PARAM_VALUE 0 musb->otg_state 1,8,11
PARAM_VALUE 0 musb->port1_status 65792
PARAM_VALUE 0 musb->xceiv 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg->state 1,8,11
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