Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/hda/codecs/generic.c add_control_with_pfx() -> add_control()

Type Parameter Key Value
PARAM_VALUE 0 spec 4096-ptr_max
PARAM_VALUE 1 type 0-2
PARAM_VALUE 2 name 5283757340478414848
BUF_SIZE 0 spec (-1),4,1768,6128,6152,6160,6168,6192,6800,7064,7208,7544,7712
BUF_SIZE 0 spec (-1),4,1768,6128,6152,6160,6168,6192,6800,7064,7208,7544,7712
BUF_SIZE 2 name 44
DATA_SOURCE 0 spec $0
DATA_SOURCE 1 type $1
DATA_SOURCE 3 cidx $5
DATA_SOURCE 4 val $6
FUZZY_MAX 1 type 2
STR_LEN 0 spec 8
STR_LEN 0 spec 8
STR_LEN 1 type 6
STR_LEN 2 name 43
HARD_MAX 1 type 2
RX_PATH
TASK_NOT_RUNNING
UNITS 3 cidx unit_array_size
HALF_LOCKED2 &card->mutex

sound/hda/codecs/generic.c add_single_cap_ctl() -> add_control()

Type Parameter Key Value
PARAM_VALUE 0 spec 4096-ptr_max
PARAM_VALUE 1 type 0-1
PARAM_VALUE 2 name 8819751332766195712
PARAM_VALUE 4 val 0,65536-u32max
BUF_SIZE 0 spec 4,1768,6128,6152,6160,6168,6192,6800,7064,7208,7544,7712
BUF_SIZE 0 spec 4,1768,6128,6152,6160,6168,6192,6800,7064,7208,7544,7712
BUF_SIZE 2 name 44
DATA_SOURCE 3 cidx $2
FUZZY_MAX 1 type 1
STR_LEN 0 spec 43
BIT_INFO 4 val 0x10000,0xffffffff
HARD_MAX 1 type 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->mutex

sound/hda/codecs/generic.c add_single_cap_ctl() -> add_control()

Type Parameter Key Value
PARAM_VALUE 0 spec 4096-ptr_max
PARAM_VALUE 0 spec->kctls.elem_size 1-u32max
PARAM_VALUE 0 spec->kctls.list 1-u64max
PARAM_VALUE 1 type 0-1
PARAM_VALUE 2 name 8819751332766195712
PARAM_VALUE 4 val 0,131072-u32max
BUF_SIZE 0 spec 4,1768,6128,6152,6160,6168,6192,6800,7064,7208,7544,7712
BUF_SIZE 0 spec 4,1768,6128,6152,6160,6168,6192,6800,7064,7208,7544,7712
BUF_SIZE 2 name 44
DATA_SOURCE 3 cidx $2
FUZZY_MAX 1 type 1
STR_LEN 0 spec 43
BIT_INFO 4 val 0x20000,0xffffffff
HARD_MAX 1 type 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->mutex

sound/hda/codecs/generic.c parse_mic_boost() -> add_control()

Type Parameter Key Value
PARAM_VALUE 0 spec 4096-ptr_max
PARAM_VALUE 0 spec->autocfg.inputs 4096-ptr_max
PARAM_VALUE 0 spec->input_label_idxs 4096-ptr_max
PARAM_VALUE 0 spec->input_labels 4096-ptr_max
PARAM_VALUE 0 spec->input_mux.items 4096-ptr_max
PARAM_VALUE 0 spec->input_mux.num_items 1-u32max
PARAM_VALUE 0 spec->num_adc_nids 1-u32max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 name 9017717541302673408
PARAM_VALUE 4 val 1-134217727
BUF_SIZE 0 spec 4,1768,6128,6152,6160,6168,6192,6800,7064,7208,7544,7712
BUF_SIZE 0 spec 4,1768,6128,6152,6160,6168,6192,6800,7064,7208,7544,7712
BUF_SIZE 2 name 44
DATA_SOURCE 4 val r look_for_boost_amp
STR_LEN 0 spec 43
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock