Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 15 files:
- drivers/phy/rockchip/phy-rockchip-usbdp.c, line 981
- drivers/phy/tegra/xusb.c, line 979
- drivers/usb/cdns3/cdns3-gadget.c, line 3326
- drivers/usb/cdns3/cdnsp-gadget.c, line 1934
- drivers/usb/chipidea/core.c, line 706
- drivers/usb/common/common.c, line 129
- drivers/usb/dwc2/params.c, line 1036
- drivers/usb/dwc3/core.c, line 1757
- drivers/usb/dwc3/dwc3-qcom-legacy.c, line 263
- drivers/usb/dwc3/dwc3-qcom.c, line 186
- drivers/usb/gadget/udc/aspeed-vhub/core.c, line 366
- drivers/usb/gadget/udc/aspeed_udc.c, line 1519
- drivers/usb/gadget/udc/cdns2/cdns2-gadget.c, line 2293
- drivers/usb/mtu3/mtu3_core.c, line 957
- drivers/usb/musb/musb_dsps.c, line 791
Smatch caller information:
drivers/usb/dwc3/core.c dwc3_get_properties() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc3/dwc3-qcom.c dwc3_qcom_interconnect_init() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/chipidea/core.c ci_get_platdata() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/udc/aspeed_udc.c ast_udc_probe() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/cdns3/cdns3-gadget.c cdns3_gadget_start() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cdns->mutex | ||
| HALF_LOCKED2 | &cdns->lock | ||
| HALF_LOCKED2 | &sw->lock | ||
| TYPE_LOCK | (struct cdns)->mutex |
drivers/usb/cdns3/cdnsp-gadget.c __cdnsp_gadget_init() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cdns->mutex | ||
| HALF_LOCKED2 | &cdns->lock | ||
| HALF_LOCKED2 | &sw->lock | ||
| TYPE_LOCK | (struct cdns)->mutex |
drivers/usb/mtu3/mtu3_core.c ssusb_gadget_init() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc2/params.c dwc2_limit_speed() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *dev->p->deferred_probe_reason | 0-255 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/musb/musb_dsps.c dsps_create_musb_pdev() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/udc/cdns2/cdns2-gadget.c cdns2_gadget_start() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/dwc3/dwc3-qcom-legacy.c dwc3_qcom_interconnect_init() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_probe() -> usb_get_maximum_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |