Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/musb/musb_host.c musb_host_rx() -> musb_host_packet_rx()
| 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->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->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.ops->vbus_draw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | musb->hcd->self.sysdev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | musb->is_host | 1 |
| PARAM_VALUE | 0 | musb->ops->enable | 0,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 | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->setup_dma | 0 |
| PARAM_VALUE | 1 | urb->setup_packet | 0-255 |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->transfer_buffer->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | urb->transfer_buffer->memcg_data | 0 |
| PARAM_VALUE | 1 | urb->transfer_buffer->page_type | 0-4294967295 |
| PARAM_VALUE | 1 | urb->transfer_dma | 0 |
| PARAM_VALUE | 2 | epnum | 0-15 |
| CAPPED_DATA | 2 | epnum | 1 |
| DATA_SOURCE | 0 | musb | $0 |
| DATA_SOURCE | 1 | urb | r next_urb |
| DATA_SOURCE | 2 | epnum | $1 |
| BIT_INFO | 0 | musb->int_tx | 0x0,0xfffe |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_host.c musb_host_rx() -> musb_host_packet_rx()
| 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->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->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.ops->vbus_draw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | musb->hcd->self.sysdev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | musb->is_host | 1 |
| PARAM_VALUE | 0 | musb->ops->enable | 0,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 | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->setup_dma | 0 |
| PARAM_VALUE | 1 | urb->setup_packet | 0-255 |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer | 1-255 |
| PARAM_VALUE | 1 | urb->transfer_buffer->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | urb->transfer_buffer->memcg_data | 0 |
| PARAM_VALUE | 1 | urb->transfer_buffer->page_type | 0-4294967295 |
| PARAM_VALUE | 1 | urb->transfer_dma | 0 |
| PARAM_VALUE | 2 | epnum | 0-15 |
| CAPPED_DATA | 2 | epnum | 1 |
| DATA_SOURCE | 0 | musb | $0 |
| DATA_SOURCE | 1 | urb | r next_urb |
| DATA_SOURCE | 2 | epnum | $1 |
| BIT_INFO | 0 | musb->int_tx | 0x0,0xfffe |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |