Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 34 files:

Smatch caller information:

drivers/acpi/acpi_video.c acpi_video_bus_DOS() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 8480236673680187392
PARAM_VALUE 2 arg 0,4
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
BIT_INFO 2 arg 0x0,0x4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/acpi/acpi_video.c acpi_video_device_lcd_set_level() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 3297251040970145792
PARAM_VALUE 2 arg 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 method 5
DATA_SOURCE 2 arg $1
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cooling_dev->lock
HALF_LOCKED2 &video->device_list_lock

drivers/platform/x86/intel/hid.c intel_hid_execute_method() -> acpi_execute_simple_method()

Type Parameter Key Value
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 arg $2
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int340x_thermal_set_trip_temp() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 4096-ptr_max
PARAM_VALUE 2 arg 0-21477568,18446744073688079511-u64max
BUF_SIZE 1 method 5
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 arg 0-21477568,18446744073688079511-u64max[c]
LOCK2 &of->mutex
LOCK2 &zone->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/platform/x86/lenovo/ideapad-laptop.c exec_simple_method() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 621683606097526784,1495123538558345216,2585212902430752768
PARAM_VALUE 2 arg 3-1048578
BUF_SIZE 1 method 5
BUF_SIZE 1 method 5
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 method $1
DATA_SOURCE 2 arg $2
FUZZY_MAX 2 arg 15
STR_LEN 0 handle 4
STR_LEN 0 handle 4
BIT_INFO 2 arg 0x0,0xfffff
BIT_INFO 2 arg 0x0,0xfffff
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpiolib-acpi-core.c acpi_gpio_irq_handler_evt() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/acpi/dptf/dptf_pch_fivr.c freq_mhz_high_clock_store() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 5144950472835067904
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 arg
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/dptf/dptf_pch_fivr.c freq_mhz_low_clock_store() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 7645370542060466176
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 arg
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/intel/smartconnect.c smartconnect_acpi_probe() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max,(-1)
PARAM_VALUE 0 handle->common.descriptor_type 15
PARAM_VALUE 1 method 8185467197649080320
PARAM_VALUE 2 arg 0
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/intel/rst.c irst_store_wakeup_events() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 109539437150314496
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 arg 0-u64max
NO_OVERFLOW_SIMPLE 2 arg
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/intel/rst.c irst_store_wakeup_time() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 699425159694684160
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 arg 0-u64max
NO_OVERFLOW_SIMPLE 2 arg
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/battery.c acpi_battery_set_alarm() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 6018939928531255296
PARAM_VALUE 2 arg 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/platform/x86/fujitsu-laptop.c set_lcd_level() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 3521445250200866816,4028461264297054208
PARAM_VALUE 2 arg 0-s32max
BUF_SIZE 1 method 5
BUF_SIZE 1 method 5
CAPPED_DATA 2 arg 1
DATA_SOURCE 2 arg $1
STR_LEN 0 handle 4
STR_LEN 1 method 4
BIT_INFO 1 method 0x30c6a80c10109000,0x37ffffed3bfdd000
BIT_INFO 1 method 0x30c6a80c10109000,0x37ffffed3bfdd000
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 arg 1-16777215[c]
USER_DATA 2 arg 2-s32max[c]
NO_OVERFLOW_SIMPLE 2 arg
UNITS 2 arg unit_array_size

drivers/acpi/thermal.c acpi_thermal_probe() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 8973518531482951680
PARAM_VALUE 2 arg 0
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/eeepc-laptop.c write_acpi_int() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 2 arg 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 1 method (-1),5
BUF_SIZE 1 method (-1),5
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 method $1
DATA_SOURCE 2 arg $2
STR_LEN 0 handle (-1),4
STR_LEN 0 handle (-1),4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 arg 0-16777215
USER_DATA 2 arg 0-s32max[c]
UNITS 2 arg unit_array_size

drivers/acpi/fan_core.c fan_set_state_acpi4() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 2405789097601191936
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 arg 0-547608329985[c]
LOCK2 &cdev->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_cooling_device)->lock

drivers/thermal/intel/int340x_thermal/int3400_thermal.c imok_store() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 2293270156723445760
PARAM_VALUE 2 arg 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 arg
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/input/touchscreen/goodix.c goodix_pin_acpi_output_method() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 8118501840061140992
PARAM_VALUE 2 arg 0-1
BUF_SIZE 1 method 5
DATA_SOURCE 2 arg $1
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/evged.c acpi_ged_irq_handler() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/samsung-galaxybook.c galaxybook_acpi_disable() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 8213011166712819712
PARAM_VALUE 2 arg 0
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
NOCHECK_CALL

drivers/platform/x86/samsung-galaxybook.c galaxybook_acpi_init() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 8213011166712819712
PARAM_VALUE 2 arg 1
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/dptf/dptf_power.c prochot_confirm_store() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 5354618265482764288
PARAM_VALUE 2 arg 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 arg
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/input/keyboard/applespi.c applespi_enable_spi() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
PARAM_VALUE 2 arg 1
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/toshiba_haps.c toshiba_haps_protection_level() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 4401789654489927680
PARAM_VALUE 2 arg 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 method 5
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 arg $1
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 arg 0-3
HALF_LOCKED2 &of->mutex

drivers/platform/x86/toshiba_acpi.c write_acpi_int() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 0 handle 0
PARAM_VALUE 1 method 5612040618213347328
PARAM_VALUE 2 arg 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 method 16
BUF_SIZE 1 method 16
DATA_SOURCE 1 method $0
DATA_SOURCE 2 arg $1
STR_LEN 0 handle 15
STR_LEN 1 method 15
TERMINATED 1 method 1

drivers/thermal/intel/int340x_thermal/int3403_thermal.c int3403_set_cur_state() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 4048269740454518784
BUF_SIZE 1 method 5
CAPPED_DATA 2 arg 1
CAPPED_DATA 2 arg 1
DATA_SOURCE 2 arg $1
STR_LEN 0 handle 4
NOSPEC 2 arg
NOSPEC 2 arg
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 arg 0-s32max[c]
NO_OVERFLOW_SIMPLE 2 arg
LOCK2 &cdev->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_cooling_device)->lock

drivers/platform/wmi/core.c wmi_device_enable() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
DATA_SOURCE 2 arg $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &wblock->notify_lock

drivers/acpi/bus.c acpi_bus_init_irq() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 0 handle 0
PARAM_VALUE 1 method 8267564969154027520
PARAM_VALUE 2 arg 0-7
BUF_SIZE 1 method 6
STR_LEN 0 handle 5
TERMINATED 1 method 1

drivers/pci/quirks.c quirk_apple_poweroff_thunderbolt() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
PARAM_VALUE 2 arg 1
NOCHECK_CALL

drivers/pci/quirks.c quirk_apple_poweroff_thunderbolt() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
PARAM_VALUE 2 arg 0
NOCHECK_CALL

drivers/pci/quirks.c quirk_apple_poweroff_thunderbolt() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
PARAM_VALUE 2 arg 0
NOCHECK_CALL

drivers/pci/quirks.c quirk_apple_poweroff_thunderbolt() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
PARAM_VALUE 2 arg 0
NOCHECK_CALL

drivers/pci/quirks.c quirk_apple_poweroff_thunderbolt() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
PARAM_VALUE 2 arg 0
NOCHECK_CALL

drivers/bluetooth/hci_bcm.c bcm_apple_set_device_wakeup() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 0
PARAM_VALUE 2 arg 0-1
FUZZY_MAX 2 arg 1
HARD_MAX 2 arg 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &bcm_device_lock

drivers/platform/x86/apple-gmux.c gmux_clear_interrupts() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 4899177895804805120
PARAM_VALUE 2 arg 0
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/platform/x86/topstar-laptop.c topstar_acpi_fncx_switch() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 6155586128416894976
PARAM_VALUE 2 arg 134-135
BUF_SIZE 1 method 5
FUZZY_MAX 2 arg 135
STR_LEN 0 handle 4
BIT_INFO 2 arg 0x86,0x87
BIT_INFO 2 arg 0x86,0x87
TERMINATED 1 method 1
HARD_MAX 2 arg 135
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/topstar-laptop.c topstar_led_set() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 0 handle 0,4096-ptr_max,(-1)
PARAM_VALUE 0 handle->common.descriptor_type 15
PARAM_VALUE 1 method 6155586128416894976
PARAM_VALUE 2 arg 131
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1

drivers/acpi/utils.c acpi_evaluate_ej0() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 3044903201325293568
PARAM_VALUE 2 arg 1
BUF_SIZE 1 method 5
DATA_SOURCE 0 handle $0
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &acpi_scan_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/acpi/utils.c acpi_evaluate_lck() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 4558139814972289024
PARAM_VALUE 2 arg 0-1
BUF_SIZE 1 method 5
DATA_SOURCE 0 handle $0
FUZZY_MAX 2 arg 1
STR_LEN 0 handle 4
TERMINATED 1 method 1
HARD_MAX 2 arg 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &acpi_scan_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &device_hotplug_lock

drivers/acpi/sleep.c acpi_sleep_tts_switch() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 0 handle 0
PARAM_VALUE 1 method 7778322674440818688
PARAM_VALUE 2 arg 0-1,3-5
BUF_SIZE 1 method 6
DATA_SOURCE 2 arg $0
STR_LEN 0 handle 5
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

drivers/platform/x86/asus-wmi.c asus_ally_s2idle_restore() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 0 handle 0
PARAM_VALUE 1 method 936316748191363072
PARAM_VALUE 2 arg 184
BUF_SIZE 1 method 24
STR_LEN 0 handle 23
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock

drivers/platform/x86/asus-wmi.c asus_hotk_prepare() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 0 handle 0
PARAM_VALUE 1 method 936316748191363072
PARAM_VALUE 2 arg 183
BUF_SIZE 1 method 24
STR_LEN 0 handle 23
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &device->mutex
HALF_LOCKED2 global &system_transition_mutex

drivers/platform/x86/asus-wmi.c asus_wmi_add() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 0 handle 0
PARAM_VALUE 1 method 936316748191363072
PARAM_VALUE 2 arg 184
BUF_SIZE 1 method 24
STR_LEN 0 handle 23
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c acpi_tic_reset() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 1 method 7879070535107694592
PARAM_VALUE 2 arg 0
BUF_SIZE 1 method 5
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/power.c acpi_device_sleep_wake() -> acpi_execute_simple_method()

Type Parameter Key Value
PARAM_VALUE 0 handle 0,4096-ptr_max,(-1)
PARAM_VALUE 1 method 5768254988666220544
PARAM_VALUE 2 arg 0-1
BUF_SIZE 1 method 5
DATA_SOURCE 2 arg $1
STR_LEN 0 handle 4
TERMINATED 1 method 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &acpi_device_lock