Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/fotg210/fotg210-hcd.c fotg210_handle_controller_death() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->died_poll_count | s32min-5 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 2 |
| PARAM_VALUE | 2 | resched | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_handle_intr_unlinks() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->hr_timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->intr_unlink | 1-u64max |
| PARAM_VALUE | 0 | fotg210->intr_unlinking | 1 |
| PARAM_VALUE | 0 | fotg210->next_hrtimer_event | 0-9,99 |
| PARAM_VALUE | 0 | fotg210->rh_state | 2-u32max |
| PARAM_VALUE | 1 | event | 3 |
| PARAM_VALUE | 2 | resched | 1 |
| CAPPED_DATA | 0 | fotg210->intr_unlink_cycle | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| FUZZY_MAX | 0 | fotg210->next_hrtimer_event | 99 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_hrtimer_func() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->hr_timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->next_hrtimer_event | 0-9,99 |
| PARAM_VALUE | 1 | event | 0-9 |
| PARAM_VALUE | 2 | resched | 0 |
| CAPPED_DATA | 1 | event | 1 |
| DATA_SOURCE | 1 | event | r find_next_bit |
| FUZZY_MAX | 0 | fotg210->next_hrtimer_event | 99 |
| FUZZY_MAX | 1 | event | 9 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_poll_ASS() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->ASS_poll_count | s32min-20 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 2 |
| PARAM_VALUE | 1 | event | 0 |
| PARAM_VALUE | 2 | resched | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| BIT_INFO | 0 | fotg210->command | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qtd_pool->allocation | |
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_poll_ASS() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->ASS_poll_count | 0 |
| PARAM_VALUE | 0 | fotg210->async_count | 0 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 2 |
| PARAM_VALUE | 1 | event | 8 |
| PARAM_VALUE | 2 | resched | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| BIT_INFO | 0 | fotg210->command | 0x20,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qtd_pool->allocation | |
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_poll_PSS() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->PSS_poll_count | s32min-20 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 2 |
| PARAM_VALUE | 1 | event | 1 |
| PARAM_VALUE | 2 | resched | 1 |
| BUF_SIZE | 0 | fotg210->intr_unlink_last | (-1),1-s32max |
| DATA_SOURCE | 0 | fotg210 | $0 |
| BIT_INFO | 0 | fotg210->command | 0x0,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | fotg210->hrtimer._softexpires | 1-72057589734572032[c] |
| HOST_DATA | 0 | fotg210->next_frame | 0-536870911[c] |
| HOST_DATA | 0 | fotg210->now_frame | 0-536870911[c] |
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qh_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qtd_pool->allocation | |
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_poll_PSS() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->PSS_poll_count | 0 |
| PARAM_VALUE | 0 | fotg210->periodic_count | 0 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 2 |
| PARAM_VALUE | 1 | event | 7 |
| PARAM_VALUE | 2 | resched | 1 |
| BUF_SIZE | 0 | fotg210->intr_unlink_last | (-1),1-s32max |
| DATA_SOURCE | 0 | fotg210 | $0 |
| BIT_INFO | 0 | fotg210->command | 0x10,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | fotg210->hrtimer._softexpires | 1-72057589734572032[c] |
| HOST_DATA | 0 | fotg210->next_frame | 0-536870911[c] |
| HOST_DATA | 0 | fotg210->now_frame | 0-536870911[c] |
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qh_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qtd_pool->allocation | |
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c scan_async() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->async | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->need_rescan | 0 |
| PARAM_VALUE | 0 | fotg210->qh_scan_next | 0 |
| PARAM_VALUE | 0 | fotg210->rh_state | 2 |
| PARAM_VALUE | 0 | fotg210->scanning | 1 |
| PARAM_VALUE | 1 | event | 5 |
| PARAM_VALUE | 2 | resched | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| BIT_INFO | 0 | fotg210->enabled_hrtimer_events | 0x0,0xffffffdf |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c start_free_itds() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->last_itd_to_free | 4096-ptr_max |
| PARAM_VALUE | 1 | event | 4 |
| PARAM_VALUE | 2 | resched | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| BIT_INFO | 0 | fotg210->enabled_hrtimer_events | 0x0,0xffffffef |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | fotg210->now_frame | 0-536870911[c] |
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c start_iaa_cycle() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->async_iaa | 1-u64max |
| PARAM_VALUE | 0 | fotg210->async_unlink | 0 |
| PARAM_VALUE | 0 | fotg210->async_unlinking | 0 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 2 |
| PARAM_VALUE | 1 | event | 6 |
| PARAM_VALUE | 2 | resched | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c start_unlink_intr() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->intr_unlink | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->intr_unlink->qh_next.ptr | 0 |
| PARAM_VALUE | 0 | fotg210->intr_unlink->qh_state | 2 |
| PARAM_VALUE | 0 | fotg210->intr_unlink_last | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->intr_unlink_last->qh_next.ptr | 0 |
| PARAM_VALUE | 0 | fotg210->intr_unlink_last->qh_state | 2 |
| PARAM_VALUE | 0 | fotg210->intr_unlinking | 0 |
| PARAM_VALUE | 0 | fotg210->rh_state | 2-u32max |
| PARAM_VALUE | 1 | event | 3 |
| PARAM_VALUE | 2 | resched | 1 |
| BUF_SIZE | 0 | fotg210->intr_unlink | (-1),1-s32max |
| BUF_SIZE | 0 | fotg210->intr_unlink_last | (-1),1-s32max |
| CAPPED_DATA | 0 | fotg210->intr_unlink | 1 |
| CAPPED_DATA | 0 | fotg210->periodic_size | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| FUZZY_MAX | 0 | fotg210->rh_state | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c turn_on_io_watchdog() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->need_io_watchdog | 1 |
| PARAM_VALUE | 0 | fotg210->rh_state | 2 |
| PARAM_VALUE | 1 | event | 9 |
| PARAM_VALUE | 2 | resched | 1 |
| BUF_SIZE | 0 | fotg210->intr_unlink_last | (-1),8-s32max |
| DATA_SOURCE | 0 | fotg210 | $0 |
| BIT_INFO | 0 | fotg210->enabled_hrtimer_events | 0x0,0xfffffdff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | fotg210->next_frame | 0-536870911[c] |
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qh_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qtd_pool->allocation | |
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c unlink_empty_async() -> fotg210_enable_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->async | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->hr_timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 2-u32max |
| PARAM_VALUE | 1 | event | 5 |
| PARAM_VALUE | 2 | resched | 1 |
| CAPPED_DATA | 0 | fotg210->async_unlink_cycle | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| FUZZY_MAX | 0 | fotg210->rh_state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |