Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/x86/samsung-laptop.c get_lid_handling() -> read_lid_handling()

Type Parameter Key Value
BUF_SIZE 0 samsung s32min-(-2),1-s32max
BUF_SIZE 0 samsung s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 samsung unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/samsung-laptop.c samsung_sysfs_is_visible() -> read_lid_handling()

Type Parameter Key Value
PARAM_VALUE 0 samsung->config->commands.get_battery_life_extender 0,101,u16max
PARAM_VALUE 0 samsung->config->commands.get_lid_handling 0,109,u16max
PARAM_VALUE 0 samsung->config->commands.get_usb_charge 0,103,u16max
PARAM_VALUE 0 samsung->config->commands.kbd_backlight 0,120,u16max
PARAM_VALUE 0 samsung->config->commands.set_linux 0,10,255
PARAM_VALUE 0 samsung->config->sabi_version 0,2-3
BUF_SIZE 0 samsung s32min-(-2),1-s32max
BUF_SIZE 0 samsung s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 samsung unit_byte