Documented in 1 files:
Defined in 1 files as a function:
Referenced in 26 files:
- drivers/media/usb/usbtv/usbtv-core.c, line 87
- drivers/usb/cdns3/cdnsp-mem.c
- drivers/usb/chipidea/udc.c, line 1561
- drivers/usb/core/devices.c, line 155
- drivers/usb/core/urb.c, line 476
- drivers/usb/core/usb.c, line 1143
- drivers/usb/dwc2/gadget.c, line 4054
- drivers/usb/dwc2/hcd.c
- drivers/usb/dwc3/gadget.c, line 841
- drivers/usb/fotg210/fotg210-hcd.c
- drivers/usb/gadget/composite.c, line 235
- drivers/usb/gadget/udc/atmel_usba_udc.c, line 618
- drivers/usb/gadget/udc/bdc/bdc_cmd.c, line 179
- drivers/usb/gadget/udc/core.c, line 1060
- drivers/usb/gadget/udc/dummy_hcd.c, line 1575
- drivers/usb/gadget/udc/fsl_udc_core.c, line 582
- drivers/usb/gadget/udc/gr_udc.c, line 1522
- drivers/usb/gadget/udc/tegra-xudc.c, line 1636
- drivers/usb/host/ehci-q.c, line 784
- drivers/usb/host/ehci-sched.c, line 1041
- drivers/usb/host/xhci-mem.c, line 1381
- drivers/usb/misc/usbtest.c
- drivers/usb/mtu3/mtu3_gadget.c, line 94
- drivers/usb/musb/musb_gadget.c, line 946
- drivers/usb/musb/musb_host.c, line 2189
- drivers/usb/usbip/vudc_rx.c, line 128
Smatch caller information:
drivers/usb/host/xhci-mem.c xhci_get_endpoint_max_burst() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| PARAM_VALUE | 0 | epd->wMaxPacketSize | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | hcd->bandwidth_mutex | ||
| HALF_LOCKED2 | &udev->dev.mutex |
drivers/usb/gadget/udc/dummy_hcd.c periodic_bytes() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dum->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dummy)->lock |
drivers/usb/dwc2/gadget.c dwc2_hsotg_ep_enable() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | (-1),9 |
| BUF_SIZE | 0 | epd | (-1),9 |
| DATA_SOURCE | 0 | epd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epd->bDescriptorType | 0-255 |
| USER_DATA | 0 | epd->bEndpointAddress | 0-255 |
| USER_DATA | 0 | epd->bInterval | 0-255 |
| USER_DATA | 0 | epd->bLength | 0-255 |
| USER_DATA | 0 | epd->bRefresh | 0-255 |
| USER_DATA | 0 | epd->bSynchAddress | 0-255 |
| USER_DATA | 0 | epd->bmAttributes | 0-255 |
| USER_DATA | 0 | epd->wMaxPacketSize | 0-u16max |
| USER_PTR | 0 | epd | |
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_config_ep() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | (-1),9 |
| BUF_SIZE | 0 | epd | (-1),9 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epd->bDescriptorType | 0-255[u] |
| USER_DATA | 0 | epd->bEndpointAddress | 0-255 |
| USER_DATA | 0 | epd->bInterval | 0-255 |
| USER_DATA | 0 | epd->bLength | 0-255 |
| USER_DATA | 0 | epd->bRefresh | 0-255 |
| USER_DATA | 0 | epd->bSynchAddress | 0-255 |
| USER_DATA | 0 | epd->bmAttributes | 0-255 |
| USER_DATA | 0 | epd->wMaxPacketSize | 0-u16max |
| USER_PTR | 0 | epd | |
| HALF_LOCKED2 | &bdc->lock |
drivers/usb/chipidea/udc.c ep_enable() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | (-1),9 |
| BUF_SIZE | 0 | epd | (-1),9 |
| DATA_SOURCE | 0 | epd | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epd->bDescriptorType | 0-255 |
| USER_DATA | 0 | epd->bEndpointAddress | 0-255 |
| USER_DATA | 0 | epd->bInterval | 0-255 |
| USER_DATA | 0 | epd->bLength | 0-255 |
| USER_DATA | 0 | epd->bRefresh | 0-255 |
| USER_DATA | 0 | epd->bSynchAddress | 0-255 |
| USER_DATA | 0 | epd->bmAttributes | 0-255 |
| USER_DATA | 0 | epd->wMaxPacketSize | 0-u16max |
| USER_PTR | 0 | epd | |
| LOCK2 | flags | ||
| LOCK2 | hwep->lock | ||
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/host/ehci-hcd.c iso_stream_init() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| PREEMPT_ADD | |||
| LOCK2 | &ehci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c qh_make() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| LOCK2 | &ehci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/core/urb.c usb_submit_urb() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 1-u64max |
drivers/usb/fotg210/fotg210-hcd.c iso_stream_init() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| LOCK2 | &fotg210->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c qh_make() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &fotg210->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/gadget/udc/gr_udc.c gr_ep_enable() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | (-1),9 |
| BUF_SIZE | 0 | epd | (-1),9 |
| DATA_SOURCE | 0 | epd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epd->bEndpointAddress | 0-255 |
| USER_DATA | 0 | epd->bInterval | 0-255 |
| USER_DATA | 0 | epd->bLength | 0-255 |
| USER_DATA | 0 | epd->bRefresh | 0-255 |
| USER_DATA | 0 | epd->bSynchAddress | 0-255 |
| USER_DATA | 0 | epd->bmAttributes | 1-255 |
| USER_DATA | 0 | epd->wMaxPacketSize | 0-u16max |
| USER_PTR | 0 | epd | |
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/gadget/udc/fsl_udc_core.c fsl_ep_enable() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | (-1),9 |
| BUF_SIZE | 0 | epd | (-1),9 |
| DATA_SOURCE | 0 | epd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epd->bEndpointAddress | 0-255 |
| USER_DATA | 0 | epd->bInterval | 0-255 |
| USER_DATA | 0 | epd->bLength | 0-255 |
| USER_DATA | 0 | epd->bRefresh | 0-255 |
| USER_DATA | 0 | epd->bSynchAddress | 0-255 |
| USER_DATA | 0 | epd->bmAttributes | 0-255 |
| USER_DATA | 0 | epd->wMaxPacketSize | 0-u16max |
| USER_PTR | 0 | epd | |
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/dwc2/hcd.c _dwc2_hcd_urb_enqueue() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
drivers/usb/dwc2/hcd.c dwc2_dump_urb_info() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/misc/usbtest.c iso_alloc_urb() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| DATA_SOURCE | 0 | epd | $2 |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c test_queue() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 1-u64max |
| DATA_SOURCE | 0 | epd | $3 |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/musb/musb_host.c musb_urb_enqueue() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | 9 |
drivers/usb/usbip/vudc_rx.c v_recv_cmd_submit() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| RX_PATH |
drivers/usb/musb/musb_gadget.c musb_gadget_enable() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | (-1),9 |
| BUF_SIZE | 0 | epd | (-1),9 |
| DATA_SOURCE | 0 | epd | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epd->bDescriptorType | 0-255 |
| USER_DATA | 0 | epd->bEndpointAddress | 0-255 |
| USER_DATA | 0 | epd->bInterval | 0-255 |
| USER_DATA | 0 | epd->bLength | 0-255 |
| USER_DATA | 0 | epd->bRefresh | 0-255 |
| USER_DATA | 0 | epd->bSynchAddress | 0-255 |
| USER_DATA | 0 | epd->bmAttributes | 0-255 |
| USER_DATA | 0 | epd->wMaxPacketSize | 0-u16max |
| USER_PTR | 0 | epd | |
| LOCK2 | &musb->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct musb)->lock |
drivers/media/usb/usbtv/usbtv-core.c usbtv_probe() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc3/gadget.c dwc3_gadget_resize_tx_fifos() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/mtu3/mtu3_gadget.c mtu3_ep_enable() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| PARAM_VALUE | 0 | epd->wMaxPacketSize | 1-u16max |
| BUF_SIZE | 0 | epd | (-1),9 |
| BUF_SIZE | 0 | epd | (-1),9 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epd->bDescriptorType | 5[u] |
| USER_DATA | 0 | epd->bEndpointAddress | 0-255 |
| USER_DATA | 0 | epd->bInterval | 0-255 |
| USER_DATA | 0 | epd->bLength | 0-255 |
| USER_DATA | 0 | epd->bRefresh | 0-255 |
| USER_DATA | 0 | epd->bSynchAddress | 0-255 |
| USER_DATA | 0 | epd->bmAttributes | 0-255 |
| USER_DATA | 0 | epd->wMaxPacketSize | 1-u16max |
| USER_PTR | 0 | epd | |
| LOCK2 | &mtu->lock | ||
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct mtu3)->lock |
drivers/usb/gadget/udc/core.c usb_gadget_ep_match_desc() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | (-1),9 |
| BUF_SIZE | 0 | epd | (-1),9 |
| DATA_SOURCE | 0 | epd | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epd->bDescriptorType | 0-255 |
| USER_DATA | 0 | epd->bEndpointAddress | 0-255 |
| USER_DATA | 0 | epd->bInterval | 0-255 |
| USER_DATA | 0 | epd->bLength | 0-255 |
| USER_DATA | 0 | epd->bRefresh | 0-255 |
| USER_DATA | 0 | epd->bSynchAddress | 0-255 |
| USER_DATA | 0 | epd->bmAttributes | 0-255 |
| USER_DATA | 0 | epd->wMaxPacketSize | 0-u16max |
| USER_PTR | 0 | epd | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/cdns3/cdnsp-mem.c cdnsp_get_endpoint_max_burst() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pdev->lock | ||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cdnsp_device)->lock |
drivers/usb/cdns3/cdnsp-mem.c cdnsp_get_max_esit_payload() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pdev->lock | ||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cdnsp_device)->lock |
drivers/usb/core/usb.c usb_endpoint_max_periodic_payload() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | hcd->bandwidth_mutex |
drivers/usb/gadget/composite.c config_ep_by_speed_and_alt() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| CAPPED_DATA | 0 | epd->bEndpointAddress | 1 |
| PREEMPT_ADD |
drivers/usb/core/devices.c usb_dump_endpoint_descriptor() -> usb_endpoint_maxp_mult()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| DATA_SOURCE | 0 | epd | $3 |
| HALF_LOCKED2 | &(bus->root_hub)->dev.mutex | ||
| HALF_LOCKED2 | &dev->dev.mutex | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |