Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/x86/apple-gmux.c gmux_index_read32() -> gmux_index_wait_complete()

Type Parameter Key Value
PARAM_VALUE 0 gmux_data 4096-ptr_max
PARAM_VALUE 0 gmux_data->config 4096-ptr_max
PARAM_VALUE 0 gmux_data->config->read32 4096-ptr_max
PARAM_VALUE 0 gmux_data->config->read8 4096-ptr_max
PARAM_VALUE 0 gmux_data->index_lock.dep_map->name 0-255
PARAM_VALUE 0 gmux_data->index_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gmux_data->index_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gmux_data->index_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.owner (-1)
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 gmux_data s32min-(-2),1-s32max
BUF_SIZE 0 gmux_data s32min-(-2),1-s32max
BUF_SIZE 0 gmux_data->config (-1),72
CAPPED_DATA 0 &gmux_data->index_lock 1
DATA_SOURCE 0 gmux_data $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &gmux_data->index_lock
TYPE_LOCK (struct apple_gmux_data)->index_lock

drivers/platform/x86/apple-gmux.c gmux_index_read8() -> gmux_index_wait_complete()

Type Parameter Key Value
PARAM_VALUE 0 gmux_data 4096-ptr_max
PARAM_VALUE 0 gmux_data->config 4096-ptr_max
PARAM_VALUE 0 gmux_data->config->read32 4096-ptr_max
PARAM_VALUE 0 gmux_data->config->read8 4096-ptr_max
PARAM_VALUE 0 gmux_data->config->write8 4096-ptr_max
PARAM_VALUE 0 gmux_data->index_lock.dep_map->name 0-255
PARAM_VALUE 0 gmux_data->index_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gmux_data->index_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gmux_data->index_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.owner (-1)
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 gmux_data s32min-(-1),1-s32max
BUF_SIZE 0 gmux_data s32min-(-1),1-s32max
BUF_SIZE 0 gmux_data->bdev (-1),1976
BUF_SIZE 0 gmux_data->config (-1),72
CAPPED_DATA 0 &gmux_data->index_lock 1
DATA_SOURCE 0 gmux_data $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gmux_data->bdev->props.brightness 1-6553500[c]
HOST_DATA 0 gmux_data->bdev->props.max_brightness 0-16777215
NO_OVERFLOW_SIMPLE 0 gmux_data->bdev->props.brightness
LOCK2 0 &gmux_data->index_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct apple_gmux_data)->index_lock

drivers/platform/x86/apple-gmux.c gmux_index_write32() -> gmux_index_wait_complete()

Type Parameter Key Value
PARAM_VALUE 0 gmux_data 4096-ptr_max
PARAM_VALUE 0 gmux_data->config 4096-ptr_max
PARAM_VALUE 0 gmux_data->index_lock.dep_map->name 0-255
PARAM_VALUE 0 gmux_data->index_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gmux_data->index_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gmux_data->index_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.owner (-1)
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 gmux_data s32min-(-2),1-s32max
BUF_SIZE 0 gmux_data s32min-(-2),1-s32max
CAPPED_DATA 0 &gmux_data->index_lock 1
DATA_SOURCE 0 gmux_data $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &gmux_data->index_lock
TYPE_LOCK (struct apple_gmux_data)->index_lock

drivers/platform/x86/apple-gmux.c gmux_index_write8() -> gmux_index_wait_complete()

Type Parameter Key Value
PARAM_VALUE 0 gmux_data 4096-ptr_max
PARAM_VALUE 0 gmux_data->config 4096-ptr_max
PARAM_VALUE 0 gmux_data->config->read32 4096-ptr_max
PARAM_VALUE 0 gmux_data->config->read8 4096-ptr_max
PARAM_VALUE 0 gmux_data->config->write8 4096-ptr_max
PARAM_VALUE 0 gmux_data->index_lock.dep_map->name 0-255
PARAM_VALUE 0 gmux_data->index_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gmux_data->index_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gmux_data->index_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.owner (-1)
PARAM_VALUE 0 gmux_data->index_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 gmux_data s32min-(-1),1-s32max
BUF_SIZE 0 gmux_data s32min-(-1),1-s32max
BUF_SIZE 0 gmux_data->bdev (-1),1976
BUF_SIZE 0 gmux_data->config (-1),72
CAPPED_DATA 0 &gmux_data->index_lock 1
DATA_SOURCE 0 gmux_data $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gmux_data->bdev->props.brightness 1-6553500[c]
HOST_DATA 0 gmux_data->bdev->props.max_brightness 0-16777215
NO_OVERFLOW_SIMPLE 0 gmux_data->bdev->props.brightness
NO_OVERFLOW_SIMPLE 0 gmux_data->bdev->props.max_brightness
LOCK2 0 &gmux_data->index_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &vgasr_mutex
HALF_LOCKED2 global &vgasr_priv.mux_hw_lock
TYPE_LOCK (struct apple_gmux_data)->index_lock