Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/musb/musb_virthub.c musb_platform_try_idle() -> (struct musb_platform_ops)->try_idle()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->is_host 1
PARAM_VALUE 0 musb->ops 4096-ptr_max
PARAM_VALUE 0 musb->ops->try_idle 1041771670385356800,4253779499910574080
PARAM_VALUE 0 musb->otg_state 4,10
PARAM_VALUE 0 musb->port1_status 0,4-u32max
PARAM_VALUE 0 musb->xceiv 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg->host 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg->state 4,10
PARAM_VALUE 1 timeout 0
DATA_SOURCE 0 musb $0
DATA_SOURCE 1 timeout $1
CONTAINER 0 -184-208+0 $(-1)
BIT_INFO 0 musb->port1_status 0x4,0xffffffffffffffff
HARD_MAX 0 musb->otg_state 10
HARD_MAX 0 musb->xceiv->otg->state 10
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 0 &musb->lock

drivers/usb/musb/musb_gadget.c musb_platform_try_idle() -> (struct musb_platform_ops)->try_idle()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
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->controller->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 musb->endpoints->ep_in.busy 0-255
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.end_point.mult 0-3
PARAM_VALUE 0 musb->endpoints->ep_in.hb_mult 0-255
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_in.current_epnum 0-254
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_in.is_in 0-1
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_in.packet_sz 0-2047
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_in.type 0-3
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_in.wedged 0-1
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_out.current_epnum 0-254
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_out.is_in 0-1
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_out.packet_sz 0-2047
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_out.type 0-3
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->ep_out.wedged 0-1
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->epnum 0-15
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->rx_reinit 0-1
PARAM_VALUE 0 musb->endpoints->ep_in.hw_ep->tx_reinit 1
PARAM_VALUE 0 musb->endpoints->ep_in.is_in 0-1
PARAM_VALUE 0 musb->endpoints->ep_in.musb->a_wait_bcon s32min-s32max
PARAM_VALUE 0 musb->endpoints->ep_in.musb->g.max_speed 0-4294967295
PARAM_VALUE 0 musb->endpoints->ep_in.musb->vbuserr_retry 0-u16max
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.busy 0-255
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.end_point.mult 0-3
PARAM_VALUE 0 musb->endpoints->ep_out.hb_mult 0-255
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_in.current_epnum 0-254
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_in.is_in 0-1
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_in.packet_sz 0-2047
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_in.type 0-3
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_in.wedged 0-1
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_out.current_epnum 0-254
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_out.is_in 0-1
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_out.packet_sz 0-2047
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_out.type 0-3
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->ep_out.wedged 0-1
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->epnum 0-15
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->rx_reinit 0-1
PARAM_VALUE 0 musb->endpoints->ep_out.hw_ep->tx_reinit 1
PARAM_VALUE 0 musb->endpoints->ep_out.is_in 0-1
PARAM_VALUE 0 musb->endpoints->ep_out.musb->a_wait_bcon s32min-s32max
PARAM_VALUE 0 musb->endpoints->ep_out.musb->g.max_speed 0-4294967295
PARAM_VALUE 0 musb->endpoints->ep_out.musb->vbuserr_retry 0-u16max
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->musb->a_wait_bcon s32min-s32max
PARAM_VALUE 0 musb->endpoints->musb->nIrq s32min-s32max
PARAM_VALUE 0 musb->endpoints->musb->vbuserr_retry 0-u16max
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->hcd->self.controller->pins->p 0-s64max
PARAM_VALUE 0 musb->ops 4096-ptr_max
PARAM_VALUE 0 musb->ops->busctl_offset 0,1248386649783717888
PARAM_VALUE 0 musb->ops->clearb 0,2299377943070584832
PARAM_VALUE 0 musb->ops->clearw 0,6794286903324692480
PARAM_VALUE 0 musb->ops->disable 0,4096-ptr_max
PARAM_VALUE 0 musb->ops->ep_offset 0,5953944726061842432
PARAM_VALUE 0 musb->ops->ep_select 0,6826052849563561984
PARAM_VALUE 0 musb->ops->fifo_mode 0,2,5
PARAM_VALUE 0 musb->ops->fifo_offset 0,4130911014496870400
PARAM_VALUE 0 musb->ops->get_toggle 0,5886234122439499776
PARAM_VALUE 0 musb->ops->init 4096-ptr_max
PARAM_VALUE 0 musb->ops->phy_callback 0,791890742606315520
PARAM_VALUE 0 musb->ops->read_fifo 0,2610558246662930432,6150707366358323200
PARAM_VALUE 0 musb->ops->readb 0,5798675890739494912
PARAM_VALUE 0 musb->ops->readw 0
PARAM_VALUE 0 musb->ops->set_toggle 0,4802079781705814016
PARAM_VALUE 0 musb->ops->try_idle 4096-ptr_max
PARAM_VALUE 0 musb->ops->write_fifo 0,6673460230725906432
PARAM_VALUE 0 musb->ops->writeb 0,7112494995365257216
PARAM_VALUE 0 musb->ops->writew 0
PARAM_VALUE 0 musb->xceiv 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg->usb_phy->io_dev->power.wakeirq->status 0-4294967295
BUF_SIZE 0 musb (-1),10272
BUF_SIZE 0 musb (-1),10272
BUF_SIZE 0 musb->g.name (-1),10
BUF_SIZE 0 musb->g.ops (-1),136
BUF_SIZE 0 musb->ops (-1),248
BUF_SIZE 0 musb->xceiv->io_ops (-1),16
DATA_SOURCE 0 musb $0
DATA_SOURCE 1 timeout $1
CONTAINER 0 -184-208+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 musb->nIrq
HALF_LOCKED2 &udc->connect_lock
HALF_LOCKED2 flags
HALF_LOCKED2 0 &musb->lock

drivers/usb/musb/musb_core.c musb_platform_try_idle() -> (struct musb_platform_ops)->try_idle()

Type Parameter Key Value
PARAM_VALUE 0 musb 4096-ptr_max
PARAM_VALUE 0 musb->controller->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 musb->ops 4096-ptr_max
PARAM_VALUE 0 musb->ops->disable 0,4096-ptr_max
PARAM_VALUE 0 musb->ops->set_vbus 0,4096-ptr_max
PARAM_VALUE 0 musb->ops->try_idle 4096-ptr_max
BUF_SIZE 0 musb s32min-(-1),1-s32max
BUF_SIZE 0 musb s32min-(-1),1-s32max
DATA_SOURCE 0 musb $0
DATA_SOURCE 1 timeout $1
CONTAINER 0 -184-208+0 $(-1)
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
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 flags
HALF_LOCKED2 0 &musb->lock