Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/opp/of.c _opp_add_static_v2() -> _opp_allocate()

Type Parameter Key Value
PARAM_VALUE 0 opp_table 4096-ptr_max
PARAM_VALUE 0 opp_table->np 1-u64max
PARAM_VALUE 0 opp_table->parsed_static_opps 1
BUF_SIZE 0 opp_table (-1),1-s32max
BUF_SIZE 0 opp_table (-1),1-s32max
DATA_SOURCE 0 opp_table $0
STR_LEN 0 opp_table (-1),8-9,11-29,31-34,38
STR_LEN 0 opp_table (-1),8-9,11-29,31-34,38
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/opp/core.c _opp_add_v1() -> _opp_allocate()

Type Parameter Key Value
PARAM_VALUE 0 opp_table 4096-ptr_max
PARAM_VALUE 0 opp_table->clk_count s32min-1
BUF_SIZE 0 opp_table (-1),1-s32max
BUF_SIZE 0 opp_table (-1),1-s32max
DATA_SOURCE 0 opp_table $0
STR_LEN 0 opp_table (-1),8-9,11-29,31-34,38
STR_LEN 0 opp_table (-1),8-9,11-29,31-34,38
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock