Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/hwmon/sch5627.c sch5627_probe() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 64 |
| BIT_INFO | 2 | val | 0x11,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-255 |
drivers/hwmon/sch5627.c sch5627_update_in() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 64 |
| BIT_INFO | 2 | val | 0x10,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct sch5627_data)->update_lock |
drivers/hwmon/sch56xx-common.c sch56xx_reg_write() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | val | $2 |
| LOCK2 | bus->lock |
drivers/hwmon/sch56xx-common.c watchdog_set_timeout() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 1420 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | data->io_lock | ||
| HALF_LOCKED2 | &wd_data->lock |
drivers/hwmon/sch56xx-common.c watchdog_start() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 1419 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | data->io_lock | ||
| HALF_LOCKED2 | &wd_data->lock |
drivers/hwmon/sch56xx-common.c watchdog_start() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 1422 |
| BIT_INFO | 2 | val | 0x2,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | data->io_lock | ||
| HALF_LOCKED2 | &wd_data->lock |
drivers/hwmon/sch56xx-common.c watchdog_stop() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 1422 |
| BIT_INFO | 2 | val | 0x0,0xfd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | data->io_lock |
drivers/hwmon/sch56xx-common.c watchdog_trigger() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 1419 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | data->io_lock | ||
| HALF_LOCKED2 | &wd_data->lock |
drivers/hwmon/sch5636.c sch5636_update_device() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 1936-1951 |
| PARAM_VALUE | 2 | val | 2-255 |
| DATA_SOURCE | 2 | val | r sch56xx_read_virtual_reg |
| BIT_INFO | 2 | val | 0x2,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 2-255 |
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct sch5636_data)->update_lock |
drivers/hwmon/sch5636.c sch5636_update_device() -> sch56xx_write_virtual_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 2176-2183 |
| PARAM_VALUE | 2 | val | 4-255 |
| DATA_SOURCE | 2 | val | r sch56xx_read_virtual_reg |
| BIT_INFO | 2 | val | 0x4,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 4-255 |
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct sch5636_data)->update_lock |