Defined in 1 files as a function:
Referenced in 3 files:
- drivers/usb/host/ehci-dbg.c, line 866
- drivers/usb/host/ehci-hcd.c, line 1089
- drivers/usb/host/ehci-sched.c
Smatch caller information:
drivers/usb/host/ehci-hcd.c ehci_get_frame() -> ehci_read_frame_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subs->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/host/ehci-hcd.c fill_registers_buffer() -> ehci_read_frame_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ehci | 4096-ptr_max |
| PARAM_VALUE | 0 | ehci->regs | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &buf->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ehci->lock | |
| TYPE_LOCK | (struct debug_buffer)->mutex | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c iso_stream_schedule() -> ehci_read_frame_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ehci | 4096-ptr_max |
| DATA_SOURCE | 0 | ehci | $0 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ehci->lock | |
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c scan_isoc() -> ehci_read_frame_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ehci | 4096-ptr_max |
| DATA_SOURCE | 0 | ehci | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ehci->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |