Defined in 1 files as a function:
Referenced in 3 files:
- drivers/leds/leds-turris-omnia.c
- drivers/platform/cznic/turris-omnia-mcu-base.c, line 131
- drivers/platform/cznic/turris-omnia-mcu-watchdog.c, line 113
Smatch caller information:
drivers/leds/leds-turris-omnia.c brightness_show() -> omnia_cmd_read_u8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 8 |
| PARAM_VALUE | 2 | reply | 149427657766182912 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/leds/leds-turris-omnia.c gamma_correction_show() -> omnia_cmd_read_u8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 49 |
| PARAM_VALUE | 2 | reply | 8150789750207803392 |
| PARAM_VALUE | 2 | *reply | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/cznic/turris-omnia-mcu-base.c reset_selector_show() -> omnia_cmd_read_u8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 9 |
| PARAM_VALUE | 2 | reply | 2823815895746760704 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/cznic/turris-omnia-mcu-watchdog.c omnia_mcu_register_watchdog() -> omnia_cmd_read_u8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.owner | 0-1 |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->debugfs | 0 |
| PARAM_VALUE | 0 | client->dev.bus | 0 |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->devres_group_id | 0 |
| PARAM_VALUE | 0 | client->irq | 0 |
| PARAM_VALUE | 1 | cmd | 13 |
| PARAM_VALUE | 2 | reply | 7586992882114904064 |
| MEM_ZERO | 0 | client | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq |