Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/usb/fotg210/fotg210-hcd.c, line 3327 (as a function)
- drivers/usb/host/oxu210hp-hcd.c, line 2242 (as a function)
Referenced in 4 files:
- drivers/usb/dwc2/hcd.c, line 3961
- drivers/usb/dwc2/hcd_queue.c
- drivers/usb/fotg210/fotg210-hcd.c
- drivers/usb/host/oxu210hp-hcd.c
Smatch caller information:
drivers/usb/fotg210/fotg210-hcd.c check_period() -> periodic_usecs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->size | 0-4294967295 |
| PARAM_VALUE | 2 | uframe | 0-6 |
| BUF_SIZE | 0 | fotg210->intr_unlink_last | (-1),1-s32max |
| CAPPED_DATA | 1 | frame | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| DATA_SOURCE | 1 | frame | $1 [m] |
| DATA_SOURCE | 2 | uframe | $2 [m] |
| FUZZY_MAX | 2 | uframe | 6 |
| HARD_MAX | 2 | uframe | 6 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qtd_pool->allocation | |
| UNITS | 1 | frame | unit_array_size |
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c check_period() -> periodic_usecs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->size | 0-4294967295 |
| PARAM_VALUE | 2 | uframe | 0-7 |
| BUF_SIZE | 0 | fotg210->intr_unlink_last | (-1),1-s32max |
| CAPPED_DATA | 1 | frame | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| DATA_SOURCE | 1 | frame | $1 [m] |
| DATA_SOURCE | 2 | uframe | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | fotg210->qtd_pool->allocation | |
| UNITS | 1 | frame | unit_array_size |
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c itd_slot_ok() -> periodic_usecs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->itd_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->itd_pool->size | 0-4294967295 |
| PARAM_VALUE | 0 | fotg210->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | frame | 0-536870910 |
| PARAM_VALUE | 2 | uframe | 0-7 |
| CAPPED_DATA | 2 | uframe | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PREEMPT_ADD | |||
| HOST_DATA | 1 | frame | 0-8201[c] |
| HOST_DATA | 2 | uframe | 0-7[c] |
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c uframe_periodic_max_store() -> periodic_usecs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->periodic_size | 1-u32max |
| PARAM_VALUE | 0 | fotg210->uframe_periodic_max | 101-u32max |
| PARAM_VALUE | 2 | uframe | 0-6 |
| CAPPED_DATA | 1 | frame | 1 |
| DATA_SOURCE | 0 | fotg210 | r hcd_to_fotg210 |
| FUZZY_MAX | 2 | uframe | 6 |
| PARAM_COMPARE | 0 | fotg210->periodic_size | > $1 |
| PARAM_COMPARE | 1 | frame | < $0->periodic_size |
| CONSTRAINT | 1 | frame | <642 |
| HARD_MAX | 2 | uframe | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | frame | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/host/oxu210hp-hcd.c check_period() -> periodic_usecs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210->async->qh_next.qh->dummy->qtd_buffer_len | 0,512-2048 |
| PARAM_VALUE | 0 | fotg210->reclaim->dummy->qtd_buffer_len | 0,512-2048 |
| PARAM_VALUE | 0 | *fotg210->qh_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->db_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->qh_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->qtd_used | 0-255 |
| PARAM_VALUE | 1 | frame | 0-4294967294 |
| PARAM_VALUE | 2 | uframe | 0-6 |
| CAPPED_DATA | 1 | frame | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| DATA_SOURCE | 1 | frame | $1 [m] |
| DATA_SOURCE | 2 | uframe | $2 [m] |
| FUZZY_MAX | 2 | uframe | 6 |
| HARD_MAX | 2 | uframe | 6 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | fotg210->actions | 0-u64max |
| HOST_DATA | 0 | fotg210->bus_suspended | 0-u64max |
| HOST_DATA | 0 | fotg210->command | 0-u32max |
| HOST_DATA | 0 | fotg210->companion_ports | 0-u64max |
| HOST_DATA | 0 | fotg210->hcs_params | 0-u32max |
| HOST_DATA | 0 | fotg210->i_thresh | 0-u32max |
| HOST_DATA | 0 | fotg210->is_otg | 0-1 |
| HOST_DATA | 0 | fotg210->next_statechange | 0-u64max |
| HOST_DATA | 0 | fotg210->next_uframe | s32min-s32max |
| HOST_DATA | 0 | fotg210->periodic_dma | 0-u64max |
| HOST_DATA | 0 | fotg210->periodic_size | 0-u32max[c] |
| HOST_DATA | 0 | fotg210->reclaim_ready | 0 |
| HOST_DATA | 0 | fotg210->sbrn | 0-255 |
| HOST_DATA | 0 | fotg210->scanning | 0-1 |
| HOST_DATA | 0 | fotg210->stamp | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_len | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_timer.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->urb_timer.flags | 0-u32max |
| HOST_DATA | 0 | fotg210->watchdog.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->watchdog.flags | 0-u32max |
| UNITS | 1 | frame | unit_array_size |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &fotg210->lock |
drivers/usb/host/oxu210hp-hcd.c check_period() -> periodic_usecs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210->async->qh_next.qh->dummy->qtd_buffer_len | 0,512-2048 |
| PARAM_VALUE | 0 | fotg210->reclaim->dummy->qtd_buffer_len | 0,512-2048 |
| PARAM_VALUE | 0 | *fotg210->qh_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->db_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->qh_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->qtd_used | 0-255 |
| PARAM_VALUE | 1 | frame | 0-4294967294 |
| PARAM_VALUE | 2 | uframe | 0-7 |
| CAPPED_DATA | 1 | frame | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| DATA_SOURCE | 1 | frame | $1 [m] |
| DATA_SOURCE | 2 | uframe | $2 |
| HARD_MAX | 2 | uframe | 7 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | fotg210->actions | 0-u64max |
| HOST_DATA | 0 | fotg210->bus_suspended | 0-u64max |
| HOST_DATA | 0 | fotg210->command | 0-u32max |
| HOST_DATA | 0 | fotg210->companion_ports | 0-u64max |
| HOST_DATA | 0 | fotg210->hcs_params | 0-u32max |
| HOST_DATA | 0 | fotg210->i_thresh | 0-u32max |
| HOST_DATA | 0 | fotg210->is_otg | 0-1 |
| HOST_DATA | 0 | fotg210->next_statechange | 0-u64max |
| HOST_DATA | 0 | fotg210->next_uframe | s32min-s32max |
| HOST_DATA | 0 | fotg210->periodic_dma | 0-u64max |
| HOST_DATA | 0 | fotg210->periodic_size | 0-u32max[c] |
| HOST_DATA | 0 | fotg210->reclaim_ready | 0 |
| HOST_DATA | 0 | fotg210->sbrn | 0-255 |
| HOST_DATA | 0 | fotg210->scanning | 0-1 |
| HOST_DATA | 0 | fotg210->stamp | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_len | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_timer.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->urb_timer.flags | 0-u32max |
| HOST_DATA | 0 | fotg210->watchdog.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->watchdog.flags | 0-u32max |
| UNITS | 1 | frame | unit_array_size |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &fotg210->lock |