Documented in 1 files:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/platform/x86/lenovo/wmi-capdata.c lwmi_cd_probe() -> lwmi_attr_id()

Type Parameter Key Value
PARAM_VALUE 0 dev_id 4
PARAM_VALUE 1 feat_id 5
PARAM_VALUE 2 mode_id 0
PARAM_VALUE 3 type_id 0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/wmi-other.c lwmi_om_fan_get_set() -> lwmi_attr_id()

Type Parameter Key Value
PARAM_VALUE 0 dev_id 4
PARAM_VALUE 1 feat_id 3
PARAM_VALUE 2 mode_id 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/wmi-other.c lwmi_om_fan_info_collect_cd00() -> lwmi_attr_id()

Type Parameter Key Value
PARAM_VALUE 0 dev_id 4
PARAM_VALUE 1 feat_id 3
PARAM_VALUE 2 mode_id 0
PARAM_VALUE 3 type_id 1-4
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &component_mutex

drivers/platform/x86/lenovo/wmi-other.c lwmi_psy_ext_get_prop() -> lwmi_attr_id()

Type Parameter Key Value
PARAM_VALUE 0 dev_id 3
PARAM_VALUE 1 feat_id 1
PARAM_VALUE 2 mode_id 0
PARAM_VALUE 3 type_id 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &info->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tzd->lock

drivers/platform/x86/lenovo/wmi-other.c lwmi_psy_ext_set_prop() -> lwmi_attr_id()

Type Parameter Key Value
PARAM_VALUE 0 dev_id 3
PARAM_VALUE 1 feat_id 2
PARAM_VALUE 2 mode_id 0
PARAM_VALUE 3 type_id 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &info->lock
HALF_LOCKED2 &of->mutex

drivers/platform/x86/lenovo/wmi-other.c lwmi_psy_ext_set_prop() -> lwmi_attr_id()

Type Parameter Key Value
PARAM_VALUE 0 dev_id 3
PARAM_VALUE 1 feat_id 1
PARAM_VALUE 2 mode_id 0
PARAM_VALUE 3 type_id 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &info->lock
HALF_LOCKED2 &of->mutex

drivers/platform/x86/lenovo/wmi-other.c lwmi_psy_prop_get_supported() -> lwmi_attr_id()

Type Parameter Key Value
PARAM_VALUE 0 dev_id 3
PARAM_VALUE 1 feat_id 2
PARAM_VALUE 2 mode_id 0
PARAM_VALUE 3 type_id 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &component_mutex

drivers/platform/x86/lenovo/wmi-other.c lwmi_psy_prop_get_supported() -> lwmi_attr_id()

Type Parameter Key Value
PARAM_VALUE 0 dev_id 3
PARAM_VALUE 1 feat_id 1
PARAM_VALUE 2 mode_id 0
PARAM_VALUE 3 type_id 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &component_mutex

drivers/platform/x86/lenovo/wmi-other.c tunable_attr_01_id() -> lwmi_attr_id()

Type Parameter Key Value
DATA_SOURCE 2 mode_id $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &component_mutex