Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/usb/mixer.c check_sticky_volume_control() -> get_cur_mix_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cval | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->dBmax | 0 |
| PARAM_VALUE | 0 | cval->dBmin | 0 |
| PARAM_VALUE | 0 | cval->head.mixer | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->head.mixer->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->max | (-2147483647)-s32max |
| PARAM_VALUE | 0 | cval->min | s32min-2147483646 |
| PARAM_VALUE | 0 | cval->res | s16min-(-1),1-u16max |
| PARAM_VALUE | 0 | cval->val_type | s32min-(-1),2-s32max |
| PARAM_VALUE | 1 | channel | 0-64 |
| PARAM_VALUE | 2 | value | 398215177735389184 |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | cval->min | 1 |
| DATA_SOURCE | 0 | cval | $0 |
| DATA_SOURCE | 1 | channel | $1 |
| FUZZY_MAX | 0 | cval->res | 1 |
| FUZZY_MAX | 1 | channel | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cval->head.mixer->ignore_ctl_error | 0-1 |
| UNITS | 0 | cval | unit_byte |
sound/usb/mixer.c check_volume_control_res() -> get_cur_mix_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cval | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->dBmax | 0 |
| PARAM_VALUE | 0 | cval->dBmin | 0 |
| PARAM_VALUE | 0 | cval->head.mixer | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->head.mixer->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->max | (-163838)-s32max |
| PARAM_VALUE | 0 | cval->min | s32min-2147483646 |
| PARAM_VALUE | 0 | cval->res | (-65536)-(-1),1-131070 |
| PARAM_VALUE | 0 | cval->val_type | s32min-(-1),2-s32max |
| PARAM_VALUE | 0 | *cval->cache_val | s32min-s32max |
| PARAM_VALUE | 1 | channel | 0-64 |
| PARAM_VALUE | 2 | value | 2768656236337819648 |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | cval->max | 1 |
| CAPPED_DATA | 0 | cval->min | 1 |
| DATA_SOURCE | 0 | cval | $0 |
| DATA_SOURCE | 1 | channel | $1 |
| FUZZY_MAX | 0 | cval->res | 1 |
| FUZZY_MAX | 1 | channel | 0 |
| PARAM_COMPARE | 0 | cval->max | >= $0->min |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cval->head.mixer->ignore_ctl_error | 0-1 |
| UNITS | 0 | cval | unit_byte |
sound/usb/mixer.c get_min_max_with_quirks() -> get_cur_mix_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cval | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->dBmax | 0 |
| PARAM_VALUE | 0 | cval->dBmin | 0 |
| PARAM_VALUE | 0 | cval->head.mixer | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->head.mixer->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->max | (-2147483647)-s32max |
| PARAM_VALUE | 0 | cval->min | s32min-2147483646 |
| PARAM_VALUE | 0 | cval->res | s16min-(-1),1-u16max |
| PARAM_VALUE | 0 | cval->val_type | s32min-(-1),2-s32max |
| PARAM_VALUE | 1 | channel | 0-64 |
| PARAM_VALUE | 2 | value | 5436203734193790976 |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | cval->min | 1 |
| DATA_SOURCE | 0 | cval | $0 |
| FUZZY_MAX | 0 | cval->res | 1 |
| FUZZY_MAX | 1 | channel | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cval->head.mixer->ignore_ctl_error | 0-1 |
| UNITS | 0 | cval | unit_byte |
sound/usb/mixer.c snd_usb_get_cur_mix_value() -> get_cur_mix_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cval | 4096-ptr_max |
| PARAM_VALUE | 0 | cval->get_cur_broken | 0 |
| PARAM_VALUE | 1 | channel | 0-s32max |
| PARAM_VALUE | 2 | value | 4096-ptr_max |
| BUF_SIZE | 0 | cval | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | channel | 1 |
| DATA_SOURCE | 0 | cval | $0 |
| DATA_SOURCE | 1 | channel | $1 |
| DATA_SOURCE | 2 | value | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cval->head.mixer->ignore_ctl_error | 0-1 |
| UNITS | 0 | cval | unit_byte |
| UNITS | 1 | channel | unit_array_size |