Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/hda/common/codec.c snd_hda_spdif_ctls_assign() -> set_spdif_ctls()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spdif_out.used | 1-u32max |
| PARAM_VALUE | 2 | dig1 | 0-255 |
| PARAM_VALUE | 3 | dig2 | 0-255 |
| CAPPED_DATA | 0 | codec->spdif_out.used | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nid | unit_array_size |
| LOCK2 | _T->lock |
sound/hda/common/codec.c snd_hda_spdif_out_switch_put() -> set_spdif_ctls()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spdif_out.used | 1-u32max |
| PARAM_VALUE | 1 | nid | 0-65534 |
| PARAM_VALUE | 2 | dig1 | 0-255 |
| PARAM_VALUE | 3 | dig2 | (-1) |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| CAPPED_DATA | 0 | codec->spdif_out.used | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | codec | unit_byte |
| UNITS | 1 | nid | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock |