Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/debugfs.c margining_modify_error_counter() -> usb4_port_sw_margin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 3 | params | 6811002473455923200 |
| PARAM_VALUE | 3 | params->error_counter | 1,3 |
| PARAM_VALUE | 3 | params->optional_voltage_offset_range | 0 |
| PARAM_VALUE | 3 | params->right_high | 0 |
| PARAM_VALUE | 3 | params->time | 0 |
| PARAM_VALUE | 3 | params->upper_eye | 0 |
| PARAM_VALUE | 3 | params->voltage_time_offset | 0 |
| PARAM_VALUE | 4 | results | 7189749429749342208 |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/debugfs.c margining_run_sw() -> usb4_port_sw_margin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->remote | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 3 | params | 4726435869267849216 |
| PARAM_VALUE | 3 | params->error_counter | 1 |
| PARAM_VALUE | 4 | results | 0 |
| BUF_SIZE | 4 | results | 12 |
| DATA_SOURCE | 3 | params | $1 |
| LOCK2 | &attr->mutex | ||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |