Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/macsmc-power.c macsmc_power_probe() -> apple_smc_key_exists()

Type Parameter Key Value
PARAM_VALUE 0 smc 1-u64max
PARAM_VALUE 1 key 0-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 smc unit_byte

drivers/power/supply/macsmc-power.c macsmc_power_probe() -> apple_smc_key_exists()

Type Parameter Key Value
PARAM_VALUE 0 smc 4096-ptr_max
PARAM_VALUE 0 smc->atomic_mode 0
PARAM_VALUE 0 smc->boot_stage 1
PARAM_VALUE 0 smc->cmd_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 smc->cmd_done.wait.lock.owner (-1)
PARAM_VALUE 0 smc->cmd_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 smc->cmd_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 smc->cmd_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 smc->rtk->mbox->tx_empty.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 smc->rtk->mbox->tx_empty.wait.lock.owner (-1)
PARAM_VALUE 0 smc->rtk->mbox->tx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 key 0-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 smc unit_byte

drivers/power/supply/macsmc-power.c macsmc_power_probe() -> apple_smc_key_exists()

Type Parameter Key Value
PARAM_VALUE 0 smc 4096-ptr_max
PARAM_VALUE 0 smc->atomic_mode 0
PARAM_VALUE 0 smc->boot_stage 1
PARAM_VALUE 0 smc->cmd_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 smc->cmd_done.wait.lock.owner (-1)
PARAM_VALUE 0 smc->cmd_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 smc->cmd_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 smc->cmd_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 smc->rtk->mbox->tx_empty.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 smc->rtk->mbox->tx_empty.wait.lock.owner (-1)
PARAM_VALUE 0 smc->rtk->mbox->tx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 key 0-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 smc unit_byte

drivers/power/supply/macsmc-power.c macsmc_power_probe() -> apple_smc_key_exists()

Type Parameter Key Value
PARAM_VALUE 0 smc 4096-ptr_max
PARAM_VALUE 0 smc->atomic_mode 0
PARAM_VALUE 0 smc->boot_stage 1
PARAM_VALUE 0 smc->cmd_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 smc->cmd_done.wait.lock.owner (-1)
PARAM_VALUE 0 smc->cmd_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 smc->cmd_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 smc->cmd_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 smc->rtk->mbox->tx_empty.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 smc->rtk->mbox->tx_empty.wait.lock.owner (-1)
PARAM_VALUE 0 smc->rtk->mbox->tx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 key 0-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 smc unit_byte

drivers/power/supply/macsmc-power.c macsmc_power_probe() -> apple_smc_key_exists()

Type Parameter Key Value
PARAM_VALUE 0 smc 4096-ptr_max
PARAM_VALUE 1 key 0-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
BUF_SIZE 0 smc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 smc unit_byte