Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/musb/musb_core.c musb_free() -> musb_host_free()

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 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->dbgfs_root->d_flags 0-4294967295
PARAM_VALUE 0 musb->controller->parent->driver_data->dbgfs_root->d_lockref.count s32min-s32max
PARAM_VALUE 0 musb->controller->parent->driver_data->omap_musb_mailbox_work.lockdep_map->name 0-255
PARAM_VALUE 0 musb->controller->parent->driver_data->phy->init_count s32min-s32max
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.state_initialized 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.kobj.uevent_suppress 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.p->dead 1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.completion.done 4294967295
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.deferred_resume 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.disable_depth 0-7
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.idle_notification 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.last_status s32min-0,2,4-s32max
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.no_pm_callbacks 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.qos (-19),0
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.request 0-4294967295
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.runtime_status 2
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.timer_autosuspends 0-1
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.usage_count.counter 0-s32max
PARAM_VALUE 0 musb->controller->parent->driver_data->role_sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 musb->controller->power.disable_depth 1-7
PARAM_VALUE 0 musb->controller->power.last_status s32min-0,2,4-s32max
PARAM_VALUE 0 musb->controller->power.qos 0,4096-u64max
PARAM_VALUE 0 musb->controller->power.request_pending 0
PARAM_VALUE 0 musb->controller->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 musb->controller->power.runtime_status 0,2
PARAM_VALUE 0 musb->controller->power.timer_expires 0
PARAM_VALUE 0 musb->controller->power.usage_count.counter 0-s32max
PARAM_VALUE 0 musb->controller->power.use_autosuspend 0
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->deassert_reset_work.work.lockdep_map->name 0-255
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->otg_state 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->otg_state 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->max_packet_sz_rx 0-u16max
PARAM_VALUE 0 musb->endpoints->max_packet_sz_tx 0-u16max
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_double_buffered 0-1
PARAM_VALUE 0 musb->endpoints->rx_reinit 0-1
PARAM_VALUE 0 musb->endpoints->tx_channel 0
PARAM_VALUE 0 musb->endpoints->tx_double_buffered 0-1
PARAM_VALUE 0 musb->endpoints->tx_reinit 1
PARAM_VALUE 0 musb->finish_resume_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 musb->g.dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 musb->g.dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 musb->g.dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 musb->g.dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 musb->g.dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 musb->g.dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 musb->g.dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 musb->g.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 musb->g.ops->vbus_draw 0,4096-ptr_max
PARAM_VALUE 0 musb->intrrxe 0
PARAM_VALUE 0 musb->intrtxe 0
PARAM_VALUE 0 musb->irq_work.work.lockdep_map->name 0-255
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->exit 4096-ptr_max
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_mode 0,4096-ptr_max
PARAM_VALUE 0 musb->ops->set_toggle 0,4802079781705814016
PARAM_VALUE 0 musb->ops->try_idle 0,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->phy->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 musb->phy->pwr->enable_count 0-4294967295
PARAM_VALUE 0 musb->phy->pwr->rdev->reg_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 musb->phy->pwr->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 musb->phy->pwr->rdev->regmap->async 0-1
PARAM_VALUE 0 musb->phy->pwr->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 musb->xceiv 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->dev->driver->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 musb->xceiv->dev->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->dev->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 musb->xceiv->io_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 musb->xceiv->otg->usb_phy->io_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 *musb->controller->parent->driver_data->dbgfs_root->d_fsdata (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *musb->phy->pwr->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 musb s32min-(-2),1-s32max
BUF_SIZE 0 musb s32min-(-2),1-s32max
BUF_SIZE 0 musb->controller (-1),1616
BUF_SIZE 0 musb->ops (-1),248
BUF_SIZE 0 musb->xceiv->io_dev (-1),1616
BUF_SIZE 0 musb->xceiv->io_ops (-1),16
CAPPED_DATA 0 musb 1
DATA_SOURCE 0 musb $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 musb->nIrq
UNITS 0 musb unit_byte
HALF_LOCKED2 &_dev->mutex