Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/regulator/mt6316-regulator.c mt6316_regulator_set_mode() -> mt6316_regulator_get_mode()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->constraints 4096-ptr_max
PARAM_VALUE 0 rdev->desc 4096-ptr_max
PARAM_VALUE 0 rdev->desc->ops 4096-ptr_max
PARAM_VALUE 0 rdev->desc->ops->set_mode 1-u64max
PARAM_VALUE 0 rdev->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 rdev->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 rdev->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 rdev->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 rdev->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 rdev->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 rdev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 rdev->mutex.ww_class->acquire_name 0,4096-ptr_max
PARAM_VALUE 0 rdev->mutex.ww_class->is_wait_die 0-1
PARAM_VALUE 0 rdev->mutex.ww_class->mutex_name 0,4096-ptr_max
BUF_SIZE 0 rdev (-1),4040
BUF_SIZE 0 rdev (-1),4040
BUF_SIZE 0 rdev->constraints (-1),224
BUF_SIZE 0 rdev->dev.class (-1),96
BUF_SIZE 0 rdev->dev.of_node (-1)-0,392
BUF_SIZE 0 rdev->reg_data s32min-(-1),1-s32max
BUF_SIZE 0 rdev->supply_name s32min,(-10),(-1),1-s32max
CAPPED_DATA 0 rdev 1
DATA_SOURCE 0 rdev $0
STR_LEN 0 rdev (-1),2-11,21,31
STR_LEN 0 rdev (-1),2-11,21,31
RX_PATH
TASK_NOT_RUNNING

drivers/regulator/core.c _regulator_get_mode_unlocked() -> (struct regulator_ops)->get_mode()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->desc 4096-ptr_max
PARAM_VALUE 0 rdev->desc->ops 4096-ptr_max
PARAM_VALUE 0 rdev->desc->ops->get_mode 1-u64max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
DATA_SOURCE 0 rdev $0
CONTAINER 0 -144-72-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/regulator/core.c regulator_set_mode() -> (struct regulator_ops)->get_mode()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->desc 4096-ptr_max
PARAM_VALUE 0 rdev->desc->ops 4096-ptr_max
PARAM_VALUE 0 rdev->desc->ops->get_mode 1-u64max
PARAM_VALUE 0 rdev->desc->ops->set_mode 1-u64max
CONTAINER 0 -144-72-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &cpuidle_lock