Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/platform/x86/system76_acpi.c battery_get_threshold() -> ec_get_handle()

Type Parameter Key Value
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/x86/system76_acpi.c battery_set_threshold() -> ec_get_handle()

Type Parameter Key Value
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/x86/huawei-wmi.c huawei_wmi_micmute_led_set() -> ec_get_handle()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/samsung-q10.c samsungq10_init() -> ec_get_handle()

Type Parameter Key Value

drivers/platform/x86/dell/dell-wmi-privacy.c dell_privacy_micmute_led_set() -> ec_get_handle()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/toshiba_acpi.c toshiba_acpi_hotkey_work() -> ec_get_handle()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

drivers/platform/x86/toshiba_acpi.c toshiba_acpi_setup_keyboard() -> ec_get_handle()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING