Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/samsung-laptop.c samsung_sabi_exit() -> sabi_set_commandb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | samsung | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->config | 4096-ptr_max |
| 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 |
| PARAM_VALUE | 0 | samsung->config->sabi_version | 0,2-3 |
| PARAM_VALUE | 0 | samsung->config->test_string | 0,4096-ptr_max |
| PARAM_VALUE | 0 | samsung->kbd_led.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | samsung->kbd_led.dev->dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | samsung->kbd_led.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | samsung->kbd_led.dev->dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | samsung->kbd_led.dev->dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | samsung->kbd_led.dev->dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | samsung->kbd_led.dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | samsung->kbd_led.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | samsung->kbd_led.trigger_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | samsung->kbd_led.trigger_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | samsung->quirks | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->quirks->lid_handling | 0-1 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | command | 0,10 |
| PARAM_VALUE | 2 | data | 128 |
| BUF_SIZE | 0 | samsung | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | samsung | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | samsung->config | (-1),408 |
| BUF_SIZE | 0 | samsung->quirks | (-1),3 |
| DATA_SOURCE | 0 | samsung | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | samsung->backlight_device->props.brightness | |
| NO_OVERFLOW_SIMPLE | 0 | samsung->backlight_device->props.max_brightness | |
| NO_OVERFLOW_SIMPLE | 0 | samsung->kbd_led.blink_delay_off | |
| NO_OVERFLOW_SIMPLE | 0 | samsung->kbd_led.blink_delay_on | |
| UNITS | 0 | samsung | unit_byte |
drivers/platform/x86/samsung-laptop.c samsung_sabi_init() -> sabi_set_commandb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | samsung | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->config | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->config->test_string | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->f0000_segment | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->platform_device | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->platform_device->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->quirks | 1525418754989367296 |
| PARAM_VALUE | 0 | samsung->sabi_iface | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->sabi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->sabi_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | command | 0,10 |
| PARAM_VALUE | 2 | data | 129 |
| BUF_SIZE | 0 | samsung | 1328 |
| BUF_SIZE | 0 | samsung->quirks | 3 |
| DATA_SOURCE | 0 | samsung | $0 |
drivers/platform/x86/samsung-laptop.c seclinux_rfkill_set() -> sabi_set_commandb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | samsung | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 0-1 |
| FUZZY_MAX | 2 | data | 1 |
| HARD_MAX | 2 | data | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | data | 0-1 |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rfkill_global_mutex |
drivers/platform/x86/samsung-laptop.c set_brightness() -> sabi_set_commandb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | samsung | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->config | 4096-ptr_max |
| 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 |
| PARAM_VALUE | 0 | samsung->config->test_string | 0,4096-ptr_max |
| PARAM_VALUE | 0 | samsung->has_stepping_quirk | 1 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | samsung->sabi_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | samsung | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | samsung | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | samsung->quirks | (-1),3 |
| DATA_SOURCE | 0 | samsung | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | samsung | unit_byte |
drivers/platform/x86/samsung-laptop.c set_brightness() -> sabi_set_commandb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | samsung | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->config | 4096-ptr_max |
| 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 |
| PARAM_VALUE | 0 | samsung->config->test_string | 0,4096-ptr_max |
| BUF_SIZE | 0 | samsung | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | samsung | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | samsung->quirks | (-1),3 |
| DATA_SOURCE | 0 | samsung | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | data | 0-255 |
| USER_DATA | 2 | data | 0-255[c] |
| UNITS | 0 | samsung | unit_byte |
drivers/platform/x86/samsung-laptop.c set_performance_level() -> sabi_set_commandb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | samsung | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->config->performance_levels | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 0-2 |
| BUF_SIZE | 0 | samsung | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | samsung | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 update_status() -> sabi_set_commandb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | samsung | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->config | 4096-ptr_max |
| 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 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | samsung->sabi_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | data | 1 |
| BUF_SIZE | 0 | samsung | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | samsung | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | samsung | unit_byte |
| HALF_LOCKED2 | &bd->update_lock | ||
| HALF_LOCKED2 | &connector->mutex | ||
| HALF_LOCKED2 | &panel->follower_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/platform/x86/samsung-laptop.c update_status() -> sabi_set_commandb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | samsung | 4096-ptr_max |
| PARAM_VALUE | 0 | samsung->config | 4096-ptr_max |
| 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 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | samsung->sabi_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | samsung->sabi_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | samsung | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | samsung | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | samsung | unit_byte |
| HALF_LOCKED2 | &bd->update_lock | ||
| HALF_LOCKED2 | &connector->mutex | ||
| HALF_LOCKED2 | &panel->follower_lock |