Documented in 1 files:
Defined in 1 files as a function:
Referenced in 21 files:
- drivers/media/rc/igorplugusb.c, line 158
- drivers/usb/cdns3/cdnsp-gadget.c, line 357
- drivers/usb/cdns3/cdnsp-mem.c
- drivers/usb/cdns3/cdnsp-ring.c, line 1401
- drivers/usb/chipidea/udc.c, line 970
- drivers/usb/core/config.c
- drivers/usb/core/devio.c, line 1668
- drivers/usb/core/endpoint.c, line 101
- drivers/usb/core/hcd.c
- drivers/usb/core/message.c, line 1518
- drivers/usb/dwc3/gadget.c
- drivers/usb/gadget/udc/gr_udc.c, line 1503
- drivers/usb/gadget/udc/tegra-xudc.c
- drivers/usb/host/max3421-hcd.c, line 737
- drivers/usb/host/xhci-mem.c
- drivers/usb/host/xhci-mtk-sch.c, line 865
- drivers/usb/host/xhci-ring.c, line 2927
- drivers/usb/host/xhci.c
- drivers/usb/mon/mon_bin.c, line 594
- drivers/usb/renesas_usbhs/mod_host.c, line 255
- drivers/usb/usbip/stub_rx.c, line 356
Smatch caller information:
drivers/usb/host/max3421-hcd.c max3421_select_and_start_urb() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &max3421_hcd->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct max3421_hcd)->lock |
drivers/usb/host/xhci-mem.c xhci_endpoint_init() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | hcd->bandwidth_mutex | ||
| HALF_LOCKED2 | &udev->dev.mutex |
drivers/usb/host/xhci-mem.c xhci_get_endpoint_interval() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | hcd->bandwidth_mutex | ||
| HALF_LOCKED2 | &udev->dev.mutex |
drivers/usb/core/message.c usb_enable_endpoint() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/usbip/stub_rx.c get_pipe() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 1-u64max |
| BUF_SIZE | 0 | epd | 9 |
| RX_PATH |
drivers/usb/chipidea/udc.c _ep_set_halt() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | hwep->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/mon/mon_bin.c mon_bin_event() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | 9 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mbus->lock | ||
| LOCK2 | &rp->b_lock | ||
| LOCK2 | flags | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct mon_bus)->lock | ||
| TYPE_LOCK | (struct mon_reader_bin)->b_lock |
drivers/usb/cdns3/cdnsp-gadget.c cdnsp_get_endpoint_index() -> usb_endpoint_xfer_control()
| 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 | $0 |
| PREEMPT_ADD | |||
| 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 | 1-u16max |
| USER_PTR | 0 | epd | |
| LOCK2 | &pdev->lock | ||
| HALF_LOCKED2 | &cdev->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 | flags | ||
| TYPE_LOCK | (struct cdnsp_device)->lock |
drivers/usb/gadget/udc/gr_udc.c gr_ep_enable() -> usb_endpoint_xfer_control()
| 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/host/xhci-ring.c handle_tx_event() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &xhci->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-mtk-sch.c need_bw_sch() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | hcd->bandwidth_mutex | ||
| HALF_LOCKED2 | &udev->dev.mutex |
drivers/usb/cdns3/cdnsp-ring.c cdnsp_handle_tx_event() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pdev->lock | ||
| LOCK2 | bh | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cdnsp_device)->lock |
drivers/usb/host/xhci.c xhci_endpoint_reset() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &udev->dev.mutex |
drivers/usb/host/xhci.c xhci_endpoint_reset() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &udev->dev.mutex |
drivers/usb/host/xhci.c xhci_get_endpoint_index() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | epd | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &xhci->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &qdev_mutex | ||
| HALF_LOCKED2 | hcd->bandwidth_mutex |
drivers/usb/core/endpoint.c direction_show() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/dwc3/gadget.c __dwc3_gadget_ep_enable() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| PARAM_VALUE | 0 | epd->bmAttributes | 1-255 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c dwc3_gadget_set_ep_config() -> usb_endpoint_xfer_control()
| 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/dwc3/gadget.c dwc3_gadget_set_ep_config() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| PARAM_VALUE | 0 | epd->bmAttributes | 1-255 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/core/hcd.c rh_urb_enqueue() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
drivers/usb/core/hcd.c usb_hcd_map_urb_for_dma() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| RX_PATH |
drivers/usb/core/hcd.c usb_hcd_reset_endpoint() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &udev->dev.mutex |
drivers/usb/core/config.c endpoint_is_duplicate() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | 9 |
| DATA_SOURCE | 0 | epd | $0 |
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/usb/core/config.c endpoint_is_duplicate() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | 9 |
| DATA_SOURCE | 0 | epd | $1 |
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/usb/core/config.c usb_parse_ss_endpoint_companion() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/usb/core/config.c usb_parse_ss_endpoint_companion() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/usb/core/config.c usb_parse_ss_endpoint_companion() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/media/rc/igorplugusb.c igorplugusb_probe() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/renesas_usbhs/mod_host.c usbhsh_pipe_attach() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| BUF_SIZE | 0 | epd | 9 |
drivers/usb/cdns3/cdnsp-mem.c cdnsp_endpoint_init() -> usb_endpoint_xfer_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epd | 4096-ptr_max |
| PARAM_VALUE | 0 | epd->bmAttributes | 1-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pdev->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_xfer_control()
| 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 |