Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/usb/chipidea/core.c
- drivers/usb/chipidea/debug.c
- drivers/usb/chipidea/host.c
- drivers/usb/chipidea/otg.c
- drivers/usb/chipidea/udc.c
Smatch caller information:
drivers/usb/chipidea/host.c host_start() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->roles | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci->dev | (-1),1616 |
| BUF_SIZE | 0 | ci->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci->platdata | (-1),1-s32max |
| BUF_SIZE | 0 | ci->role_switch | (-1)-0,1848 |
| DATA_SOURCE | 0 | ci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ci->rev | 0-u32max[c] |
| HALF_LOCKED2 | &fsm->lock | ||
| HALF_LOCKED2 | 0 | &ci->mutex |
drivers/usb/chipidea/host.c host_start() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->roles | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci->dev | (-1),1616 |
| BUF_SIZE | 0 | ci->hcd | s32min-s32max |
| BUF_SIZE | 0 | ci->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci->platdata | (-1),1-s32max |
| BUF_SIZE | 0 | ci->role_switch | (-1)-0,1848 |
| CAPPED_DATA | 0 | ci->platdata->pins_host | 1 |
| DATA_SOURCE | 0 | ci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ci->rev | 0-u32max[c] |
| HALF_LOCKED2 | &fsm->lock | ||
| HALF_LOCKED2 | 0 | &ci->mutex |
drivers/usb/chipidea/host.c host_start() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->roles | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci->dev | (-1),1616 |
| BUF_SIZE | 0 | ci->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci->platdata | (-1),1-s32max |
| BUF_SIZE | 0 | ci->role_switch | (-1)-0,1848 |
| CAPPED_DATA | 0 | ci->platdata->pins_host | 1 |
| DATA_SOURCE | 0 | ci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ci->rev | 0-u32max[c] |
| HALF_LOCKED2 | &fsm->lock | ||
| HALF_LOCKED2 | 0 | &ci->mutex |
drivers/usb/chipidea/host.c host_stop() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ci | unit_byte |
| HALF_LOCKED2 | &fsm->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &ci->mutex |
drivers/usb/chipidea/core.c ci_controller_resume() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ci | unit_byte |
drivers/usb/chipidea/core.c ci_hdrc_probe() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->is_otg | 0 |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| BUF_SIZE | 0 | ci | 9024 |
| BUF_SIZE | 0 | ci->dev | 1616 |
| BUF_SIZE | 0 | ci->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci->platdata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci->role_switch | 0,1848 |
| DATA_SOURCE | 0 | ci | r devm_kzalloc |
| MEM_ZERO | 0 | ci | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ci->rev | 0-u32max[c] |
| HOST_DATA | 0 | ci->ulpi->id.product | 0-u16max[c] |
drivers/usb/chipidea/core.c ci_irq_handler() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->is_otg | 1 |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ci | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ci | unit_byte |
| LOCK2 | flags | ||
| HALF_LOCKED2 | &sw->lock |
drivers/usb/chipidea/core.c ci_power_lost_work() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/chipidea/core.c ci_runtime_suspend() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| UNITS | 0 | ci | unit_byte |
drivers/usb/chipidea/core.c ci_suspend() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ci | unit_byte |
drivers/usb/chipidea/udc.c ci_udc_pullup() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_gadget->dev.mutex | ||
| HALF_LOCKED2 | &_gadget->udc->connect_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/chipidea/udc.c ci_udc_start() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| BUF_SIZE | 0 | ci->ep0in->ep.desc | 9 |
| BUF_SIZE | 0 | ci->ep0out->ep.desc | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &gadget->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/chipidea/udc.c ci_udc_stop_for_otg_fsm() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| DATA_SOURCE | 0 | ci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &gadget->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/chipidea/udc.c isr_setup_packet_handler() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ci_hdrc)->lock |
drivers/usb/chipidea/udc.c isr_setup_packet_handler() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ci_hdrc)->lock |
drivers/usb/chipidea/udc.c isr_setup_packet_handler() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ci_hdrc)->lock |
drivers/usb/chipidea/otg.c ci_hdrc_otg_destroy() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->is_otg | 1 |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->roles | 4096-ptr_max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ci | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/usb/chipidea/otg.c ci_hdrc_otg_init() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| BUF_SIZE | 0 | ci | 9024 |
| BUF_SIZE | 0 | ci->dev | 1616 |
| BUF_SIZE | 0 | ci->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ci->platdata | 1-s32max |
| BUF_SIZE | 0 | ci->wq | (-1),512,528-8720 |
| DATA_SOURCE | 0 | ci | $0 |
| MEM_ZERO | 0 | ci | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ci->rev | 0-u32max[c] |
drivers/usb/chipidea/otg.c ci_otg_work() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/chipidea/debug.c ci_otg_show() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 1-u64max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ci | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/usb/chipidea/debug.c dbg_create_files() -> ci_otg_is_fsm_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| DATA_SOURCE | 0 | ci | $0 |