Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/cdns3/core.c cdns_hw_role_state_machine() -> cdns_get_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->dr_mode | 3 |
| PARAM_VALUE | 0 | cdns->role_sw | 0 |
| PARAM_VALUE | 0 | cdns->usb2_phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->usb3_phy->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cdns | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cdns->dev_irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdns->otg_irq | |
| UNITS | 0 | cdns | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &cdns->lock |
drivers/usb/cdns3/drd.c cdns_drd_irq() -> cdns_get_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dr_mode | 3 |
| PARAM_VALUE | 0 | cdns->in_lpm | 0 |
| PARAM_VALUE | 0 | cdns->otg_irq_regs | 4096-ptr_max |
| DATA_SOURCE | 0 | cdns | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/usb/cdns3/drd.c cdns_is_device() -> cdns_get_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->role_sw | 0 |
| PARAM_VALUE | 0 | cdns->role_sw->allow_userspace_control | 0-1 |
| PARAM_VALUE | 0 | cdns->role_sw->get | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->module | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->registered | 0-1 |
| PARAM_VALUE | 0 | cdns->role_sw->set | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->udc | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->usb2_port | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->usb3_port | 0-s64max |
| PARAM_VALUE | 0 | cdns->usb2_phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->usb3_phy->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cdns | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cdns->dev_irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdns->otg_irq | |
| UNITS | 0 | cdns | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &cdns->lock |
drivers/usb/cdns3/drd.c cdns_is_host() -> cdns_get_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->dr_mode | 0,2,4-u32max |
| PARAM_VALUE | 0 | cdns->role_sw | 0 |
| PARAM_VALUE | 0 | cdns->role_sw->allow_userspace_control | 0-1 |
| PARAM_VALUE | 0 | cdns->role_sw->get | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->module | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->registered | 0-1 |
| PARAM_VALUE | 0 | cdns->role_sw->set | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->udc | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->usb2_port | 0-s64max |
| PARAM_VALUE | 0 | cdns->role_sw->usb3_port | 0-s64max |
| PARAM_VALUE | 0 | cdns->usb2_phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->usb3_phy->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cdns | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cdns->dev_irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdns->otg_irq | |
| UNITS | 0 | cdns | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &cdns->lock |