Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/musb/musb_core.c musb_platform_set_mode() -> (struct musb_platform_ops)->set_mode()

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->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->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->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->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->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_mode 450472701053210624,1583767238910730240,4497105209993691136
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->xceiv->io_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 musb->xceiv->io_ops->read 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->io_ops->write 0,4096-ptr_max
PARAM_VALUE 0 musb->xceiv->otg->usb_phy->io_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 musb_mode 1-3
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
DATA_SOURCE 0 musb $0
DATA_SOURCE 1 musb_mode $1
CONTAINER 0 -176-208+0 $(-1)
HARD_MAX 1 musb_mode 3
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 musb->nIrq
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 flags
HALF_LOCKED2 0 &musb->lock