Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/pmc_atom.c pmc_atom_read() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 6659111127304761344 |
| PARAM_VALUE | 1 | reg_offset | 52,160 |
| BUF_SIZE | 0 | pmc | 40 |
| DATA_SOURCE | 1 | reg_offset | $0 |
| HARD_MAX | 1 | reg_offset | 160 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &lpss_iosf_mutex |
drivers/platform/x86/pmc_atom.c pmc_dev_state_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 52 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/pmc_atom.c pmc_dev_state_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 56 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/pmc_atom.c pmc_dev_state_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 160 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/pmc_atom.c pmc_dev_state_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 164 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/pmc_atom.c pmc_pss_state_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 152 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/pmc_atom.c pmc_s2idle_check() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 6659111127304761344 |
| PARAM_VALUE | 1 | reg_offset | 52 |
| BUF_SIZE | 0 | pmc | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/platform/x86/pmc_atom.c pmc_s2idle_check() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 6659111127304761344 |
| PARAM_VALUE | 1 | reg_offset | 56 |
| BUF_SIZE | 0 | pmc | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/platform/x86/pmc_atom.c pmc_s2idle_check() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 6659111127304761344 |
| PARAM_VALUE | 1 | reg_offset | 160 |
| BUF_SIZE | 0 | pmc | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/platform/x86/pmc_atom.c pmc_s2idle_check() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 6659111127304761344 |
| PARAM_VALUE | 1 | reg_offset | 164 |
| BUF_SIZE | 0 | pmc | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/platform/x86/pmc_atom.c pmc_s2idle_check() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 6659111127304761344 |
| PARAM_VALUE | 1 | reg_offset | 96-116 |
| BUF_SIZE | 0 | pmc | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/platform/x86/pmc_atom.c pmc_sleep_tmr_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg_offset | 128 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/pmc_atom.c pmc_sleep_tmr_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 132 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/pmc_atom.c pmc_sleep_tmr_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 136 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/pmc_atom.c pmc_sleep_tmr_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 140 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/pmc_atom.c pmc_sleep_tmr_show() -> pmc_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 144 |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pmc | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |