Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/thunderbolt/usb4.c usb4_switch_nvm_write() -> usb4_switch_nvm_set_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | sw->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->no_nvm_upgrade | 0 |
| PARAM_VALUE | 0 | sw->nvm | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->nvm->buf | 1-u64max |
| PARAM_VALUE | 0 | sw->nvm->buf_data_start | 1-u64max |
| PARAM_VALUE | 0 | sw->nvm->flushed | 0 |
| PARAM_VALUE | 0 | sw->nvm->vops | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->nvm->vops->validate | 0,4969815085320704000,8746475639591444480 |
| PARAM_VALUE | 0 | sw->nvm->vops->write_headers | 0,8395314951524048896 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 1 | address | 0 |
| DATA_SOURCE | 0 | sw | $0 |
| DATA_SOURCE | 1 | address | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &sw->tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/switch.c nvm_authenticate() -> usb4_switch_nvm_set_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | sw->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->no_nvm_upgrade | 0 |
| PARAM_VALUE | 0 | sw->nvm | 1-u64max |
| PARAM_VALUE | 0 | sw->nvm->vops->validate | 0,4969815085320704000,8746475639591444480 |
| PARAM_VALUE | 0 | sw->nvm->vops->write_headers | 0,8395314951524048896 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 1 | address | 0 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &sw->tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |