Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/apple-gmux.c gmux_clear_interrupts() -> gmux_write8()
| 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->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.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gmux_data->index_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | port | 22 |
| BUF_SIZE | 0 | gmux_data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | gmux_data | $0 |
| DATA_SOURCE | 2 | val | r gmux_interrupt_get_status |
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-255 |
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/x86/apple-gmux.c gmux_disable_interrupts() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | port | 20 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | gmux_data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gmux_data->bdev | (-1),1976 |
| BUF_SIZE | 0 | gmux_data->config | (-1),72 |
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | gmux_data->dhandle->object->string.length | |
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | &dev->mutex |
drivers/platform/x86/apple-gmux.c gmux_enable_interrupts() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | port | 20 |
| PARAM_VALUE | 2 | val | 255 |
| BUF_SIZE | 0 | gmux_data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gmux_data->bdev | (-1),1976 |
| BUF_SIZE | 0 | gmux_data->config | (-1),72 |
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | gmux_data->dhandle->object->string.length | |
| UNITS | 0 | gmux_data | unit_byte |
drivers/platform/x86/apple-gmux.c gmux_probe() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->config | 1853361119978520576,3291690497667530752,8692949570226900992 |
| 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->dhandle | 1-u64max |
| PARAM_VALUE | 0 | gmux_data->external_switchable | 0 |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gmux_data->power_state | 1 |
| PARAM_VALUE | 1 | port | 64 |
| PARAM_VALUE | 2 | val | 3 |
| BUF_SIZE | 0 | gmux_data | 336 |
| BUF_SIZE | 0 | gmux_data->bdev | (-1),1976 |
| BUF_SIZE | 0 | gmux_data->config | 72 |
| CAPPED_DATA | 0 | gmux_data->dhandle | 1 |
| DATA_SOURCE | 0 | gmux_data | r _kzalloc_noprof |
| BIT_INFO | 0 | gmux_data->config | 0x8a0061008000000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | gmux_data->dhandle->object->string.length |
drivers/platform/x86/apple-gmux.c gmux_selected_port_data_write() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmux_data | 4096-ptr_max |
| BUF_SIZE | 0 | gmux_data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-2),1-s32max |
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 0-255 |
drivers/platform/x86/apple-gmux.c gmux_set_discrete_state() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->config->write8 | 7247592569962283008,8580823004463685632,9112931888675123200 |
| PARAM_VALUE | 0 | gmux_data->powerchange_done.done | 0 |
| PARAM_VALUE | 1 | port | 80 |
| PARAM_VALUE | 2 | val | 1 |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &vgasr_mutex |
drivers/platform/x86/apple-gmux.c gmux_set_discrete_state() -> gmux_write8()
| 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->write8 | 7247592569962283008,8580823004463685632,9112931888675123200 |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->index_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gmux_data->powerchange_done.done | 0 |
| PARAM_VALUE | 1 | port | 80 |
| PARAM_VALUE | 2 | val | 3 |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &vgasr_mutex |
drivers/platform/x86/apple-gmux.c gmux_set_discrete_state() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->config->write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->powerchange_done.done | 0 |
| PARAM_VALUE | 1 | port | 80 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | global &vgasr_mutex |
drivers/platform/x86/apple-gmux.c gmux_set_discrete_state() -> gmux_write8()
| 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->write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->index_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->index_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gmux_data->powerchange_done.done | 0 |
| PARAM_VALUE | 1 | port | 80 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | global &vgasr_mutex |
drivers/platform/x86/apple-gmux.c gmux_switch_ddc() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->switch_state_ddc | 0 |
| PARAM_VALUE | 1 | port | 40 |
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &vgasr_priv.mux_hw_lock |
drivers/platform/x86/apple-gmux.c gmux_switch_ddc() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->switch_state_ddc | 1-s32max |
| PARAM_VALUE | 1 | port | 40 |
| PARAM_VALUE | 2 | val | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &vgasr_priv.mux_hw_lock |
drivers/platform/x86/apple-gmux.c gmux_write_switch_state() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->config->write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->switch_state_ddc | 0 |
| PARAM_VALUE | 1 | port | 40 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | global &vgasr_mutex | ||
| HALF_LOCKED2 | global &vgasr_priv.mux_hw_lock |
drivers/platform/x86/apple-gmux.c gmux_write_switch_state() -> gmux_write8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->config->write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->switch_state_ddc | 1-u32max |
| PARAM_VALUE | 1 | port | 40 |
| PARAM_VALUE | 2 | val | 2 |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | global &vgasr_mutex | ||
| HALF_LOCKED2 | global &vgasr_priv.mux_hw_lock |
drivers/platform/x86/apple-gmux.c gmux_write_switch_state() -> gmux_write8()
| 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->write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->switch_state_display | 0 |
| PARAM_VALUE | 1 | port | 16 |
| PARAM_VALUE | 2 | val | 2 |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | global &vgasr_mutex | ||
| HALF_LOCKED2 | global &vgasr_priv.mux_hw_lock |
drivers/platform/x86/apple-gmux.c gmux_write_switch_state() -> gmux_write8()
| 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->write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->switch_state_display | 1-u32max |
| PARAM_VALUE | 1 | port | 16 |
| PARAM_VALUE | 2 | val | 3 |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | global &vgasr_mutex | ||
| HALF_LOCKED2 | global &vgasr_priv.mux_hw_lock |
drivers/platform/x86/apple-gmux.c gmux_write_switch_state() -> gmux_write8()
| 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->write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->switch_state_external | 0 |
| PARAM_VALUE | 1 | port | 64 |
| PARAM_VALUE | 2 | val | 2 |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | global &vgasr_mutex | ||
| HALF_LOCKED2 | global &vgasr_priv.mux_hw_lock |
drivers/platform/x86/apple-gmux.c gmux_write_switch_state() -> gmux_write8()
| 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->write8 | 4096-ptr_max |
| PARAM_VALUE | 0 | gmux_data->switch_state_external | 1-u32max |
| PARAM_VALUE | 1 | port | 64 |
| PARAM_VALUE | 2 | val | 3 |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gmux_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gmux_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gmux_data | unit_byte |
| HALF_LOCKED2 | global &vgasr_mutex | ||
| HALF_LOCKED2 | global &vgasr_priv.mux_hw_lock |