Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/usb/mixer.c get_cur_ctl_value() -> get_ctl_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cval | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 129 |
| PARAM_VALUE | 2 | validx | s32min-(-256),0,256-s32max |
| PARAM_VALUE | 3 | value_ret | 2836574201159172096,3460944971938566144,4355487127415345152,4493501990300209152,8684951043949277184 |
| BUF_SIZE | 0 | cval | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | validx | 1 |
| DATA_SOURCE | 0 | cval | $0 |
| DATA_SOURCE | 2 | validx | $1 |
| DATA_SOURCE | 3 | value_ret | $2 |
| BIT_INFO | 2 | validx | 0x0,0x7fffff00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cval | unit_byte |
sound/usb/mixer.c get_cur_mix_raw() -> get_ctl_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cval | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 129 |
| PARAM_VALUE | 3 | value_ret | 4096-ptr_max |
| BUF_SIZE | 0 | cval | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cval | $0 |
| DATA_SOURCE | 3 | value_ret | $2 |
| 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_ctl_value()
| 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->res | 1 |
| PARAM_VALUE | 0 | cval->val_type | s32min-(-1),2-s32max |
| PARAM_VALUE | 1 | request | 131 |
| PARAM_VALUE | 3 | value_ret | 4096-ptr_max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | cval | $0 |
| BIT_INFO | 2 | validx | 0x0,0xffffff7f |
| 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_ctl_value()
| 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->res | 1 |
| PARAM_VALUE | 0 | cval->val_type | s32min-(-1),2-s32max |
| PARAM_VALUE | 1 | request | 130 |
| PARAM_VALUE | 3 | value_ret | 4096-ptr_max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | cval | $0 |
| BIT_INFO | 2 | validx | 0x0,0xffffff7f |
| 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_ctl_value()
| 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->res | 1 |
| PARAM_VALUE | 0 | cval->val_type | s32min-(-1),2-s32max |
| PARAM_VALUE | 1 | request | 132 |
| PARAM_VALUE | 3 | value_ret | 4096-ptr_max |
| PARAM_VALUE | 3 | *value_ret | 1 |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | cval | $0 |
| BIT_INFO | 2 | validx | 0x0,0xffffff7f |
| 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_ctl_value()
| 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->head.mixer->protocol | 0 |
| PARAM_VALUE | 0 | cval->res | s16min-u16max |
| PARAM_VALUE | 0 | cval->val_type | s32min-(-1),2-s32max |
| PARAM_VALUE | 1 | request | 132 |
| PARAM_VALUE | 3 | value_ret | 4096-ptr_max |
| PARAM_VALUE | 3 | *value_ret | s16min-u16max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cval | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | cval | $0 |
| FUZZY_MAX | 0 | cval->res | 1 |
| BIT_INFO | 2 | validx | 0x0,0xffffff7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cval->head.mixer->ignore_ctl_error | 0-1 |
| UNITS | 0 | cval | unit_byte |