Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/mfd/omap-usb-host.c, line 115 (as a function)
- drivers/usb/renesas_usbhs/common.c, line 61 (as a function)
Referenced in 5 files:
- drivers/mfd/omap-usb-host.c
- drivers/usb/renesas_usbhs/common.c
- drivers/usb/renesas_usbhs/fifo.c
- drivers/usb/renesas_usbhs/mod.c
- drivers/usb/renesas_usbhs/pipe.c
Smatch caller information:
drivers/usb/renesas_usbhs/mod.c usbhs_status_get_each_irq() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 64 |
| DATA_SOURCE | 0 | base | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &base->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/mod.c usbhs_status_get_each_irq() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 48 |
| DATA_SOURCE | 0 | base | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &base->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/mod.c usbhs_status_get_each_irq() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 66 |
| DATA_SOURCE | 0 | base | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &base->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/mod.c usbhs_status_get_each_irq() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 50 |
| DATA_SOURCE | 0 | base | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &base->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/mod.c usbhs_status_get_each_irq() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 70 |
| DATA_SOURCE | 0 | base | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &base->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/mod.c usbhs_status_get_each_irq() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 72 |
| DATA_SOURCE | 0 | base | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &base->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/mod.c usbhs_status_get_each_irq() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 74 |
| DATA_SOURCE | 0 | base | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &base->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/mod.c usbhsm_autonomy_get_vbus() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 64 |
| BUF_SIZE | 0 | base | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | base | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | base | r usbhs_pdev_to_priv |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/renesas_usbhs/pipe.c __usbhsp_pipe_xxx_get() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 92 |
| DATA_SOURCE | 1 | reg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/pipe.c __usbhsp_pipe_xxx_get() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 104 |
| DATA_SOURCE | 1 | reg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_get() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_get() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->lock |
drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_barrier() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| DATA_SOURCE | 0 | base | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_rcv_len() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| DATA_SOURCE | 0 | base | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_select() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->lock |
drivers/usb/renesas_usbhs/common.c usbhs_bset() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base->pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | base->pfunc->get_id | 3834896373400879104 |
| PARAM_VALUE | 0 | base->pfunc->get_vbus | 0 |
| PARAM_VALUE | 0 | base->pfunc->hardware_init | 0,4074332048423317504,5853316036706639872,6984512936229040128 |
| PARAM_VALUE | 0 | base->pfunc->phy_reset | 0 |
| PARAM_VALUE | 0 | base->pfunc->power_ctrl | 0,2278616611189575680,5151340787566993408,7472188406136741888,7882002192223027200 |
| PARAM_VALUE | 0 | base->pfunc->set_vbus | 0 |
| BUF_SIZE | 0 | base | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | base | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | base->dparam.pipe_configs | (-1),60,96 |
| BUF_SIZE | 0 | base->pfunc | (-1),64 |
| BUF_SIZE | 0 | base->rsts | (-1),8,280 |
| DATA_SOURCE | 0 | base | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | base | unit_byte |
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &base->lock |
drivers/usb/renesas_usbhs/common.c usbhs_bus_get_speed() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| DATA_SOURCE | 0 | base | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/renesas_usbhs/common.c usbhs_bus_send_sof_enable() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| DATA_SOURCE | 0 | base | $0 |
drivers/usb/renesas_usbhs/common.c usbhs_frame_get_num() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 76 |
| DATA_SOURCE | 0 | base | $0 |
| LOCK2 | &pool->lock | ||
| LOCK2 | &queue->irqlock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct uvc_video_queue)->irqlock |
drivers/usb/renesas_usbhs/common.c usbhs_usbreq_get_val() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 0 | base->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | reg | 84 |
| DATA_SOURCE | 0 | base | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/common.c usbhs_usbreq_get_val() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 0 | base->base | 4096-ptr_max |
| PARAM_VALUE | 0 | base->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | reg | 86 |
| DATA_SOURCE | 0 | base | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/common.c usbhs_usbreq_get_val() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 0 | base->base | 4096-ptr_max |
| PARAM_VALUE | 0 | base->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | reg | 88 |
| DATA_SOURCE | 0 | base | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/common.c usbhs_usbreq_get_val() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 0 | base->base | 4096-ptr_max |
| PARAM_VALUE | 0 | base->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | reg | 90 |
| DATA_SOURCE | 0 | base | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/mfd/omap-usb-host.c omap_usbhs_init() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mfd/omap-usb-host.c usbhs_omap_probe() -> usbhs_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| DATA_SOURCE | 0 | base | r devm_platform_ioremap_resource |
| RX_PATH | |||
| TASK_NOT_RUNNING |