Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/gpio-charger.c gpio_charger_set_property() -> set_charge_current_limit()

Type Parameter Key Value
BUF_SIZE 0 gpio_charger s32min-(-2),1-s32max
BUF_SIZE 0 gpio_charger s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 val s32min-s32max
NO_OVERFLOW_SIMPLE 1 val
UNITS 0 gpio_charger unit_byte
HALF_LOCKED2 _T->lock

drivers/power/supply/gpio-charger.c init_charge_current_limit() -> set_charge_current_limit()

Type Parameter Key Value
PARAM_VALUE 0 gpio_charger 4096-ptr_max
PARAM_VALUE 0 gpio_charger->charge_status 0,4096-ptr_max
PARAM_VALUE 0 gpio_charger->current_limit_gpios 4096-ptr_max
PARAM_VALUE 0 gpio_charger->current_limit_gpios->desc 4096-ptr_max
PARAM_VALUE 0 gpio_charger->current_limit_gpios->ndescs 1-u32max
PARAM_VALUE 0 gpio_charger->current_limit_map 4096-ptr_max
PARAM_VALUE 0 gpio_charger->current_limit_map_size 1-1073741823
PARAM_VALUE 0 gpio_charger->dev 4096-ptr_max
PARAM_VALUE 0 gpio_charger->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 gpio_charger->gpiod 0,4096-ptr_max
BUF_SIZE 0 gpio_charger 160
BUF_SIZE 0 gpio_charger->charge_status s32min,(-1)-s32max
BUF_SIZE 0 gpio_charger->current_limit_gpios (-1),24-s32max
BUF_SIZE 0 gpio_charger->current_limit_map 8-8589934584
BUF_SIZE 0 gpio_charger->dev 1616
BUF_SIZE 0 gpio_charger->gpiod s32min,(-1),1-s32max
CAPPED_DATA 0 gpio_charger->gpiod 1
CAPPED_DATA 1 val 1
DATA_SOURCE 0 gpio_charger $1
MEM_ZERO 0 gpio_charger
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 gpio_charger->current_limit_gpios->info->size
NO_OVERFLOW_SIMPLE 0 gpio_charger->current_limit_gpios->ndescs

drivers/power/supply/gpio-charger.c init_charge_current_limit() -> set_charge_current_limit()

Type Parameter Key Value
PARAM_VALUE 0 gpio_charger 4096-ptr_max
PARAM_VALUE 0 gpio_charger->charge_status 0,4096-ptr_max
PARAM_VALUE 0 gpio_charger->current_limit_gpios 4096-ptr_max
PARAM_VALUE 0 gpio_charger->current_limit_gpios->desc 4096-ptr_max
PARAM_VALUE 0 gpio_charger->current_limit_gpios->ndescs 1-u32max
PARAM_VALUE 0 gpio_charger->current_limit_map 4096-ptr_max
PARAM_VALUE 0 gpio_charger->current_limit_map_size 1-1073741823
PARAM_VALUE 0 gpio_charger->dev 4096-ptr_max
PARAM_VALUE 0 gpio_charger->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 gpio_charger->gpiod 0,4096-ptr_max
BUF_SIZE 0 gpio_charger 160
BUF_SIZE 0 gpio_charger->charge_status s32min,(-1)-s32max
BUF_SIZE 0 gpio_charger->current_limit_gpios (-1),24-s32max
BUF_SIZE 0 gpio_charger->current_limit_map 8-8589934584
BUF_SIZE 0 gpio_charger->dev 1616
BUF_SIZE 0 gpio_charger->gpiod s32min,(-1),1-s32max
CAPPED_DATA 0 gpio_charger->current_limit_map_size 1
CAPPED_DATA 0 gpio_charger->gpiod 1
DATA_SOURCE 0 gpio_charger $1
MEM_ZERO 0 gpio_charger
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 gpio_charger->current_limit_gpios->info->size
NO_OVERFLOW_SIMPLE 0 gpio_charger->current_limit_gpios->ndescs