Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
sound/hda/codecs/conexant.c olpc_xo_update_mic_pins() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 0 | codec | unit_byte |
sound/hda/codecs/conexant.c olpc_xo_update_mic_pins() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 0 | codec | unit_byte |
sound/hda/codecs/generic.c check_aamix_out_path() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c create_extra_out() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.hp_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| STR_LEN | 0 | codec | 7,9 |
| STR_LEN | 0 | codec | 7,9 |
| STR_LEN | 1 | idx | (-1),12,43 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c create_multi_out_ctls() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c do_automute() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | codec | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | codec->spec | (-1),24,32,56,6168,6192,6768,7712 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->card->card_dev.dma_range_map | |
| NO_OVERFLOW_SIMPLE | 0 | codec->card->card_dev.p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 0 | codec->card->mixername | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.regmap->cache_word_size | |
| UNITS | 0 | codec | unit_byte |
sound/hda/codecs/generic.c fill_multi_ios() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c get_input_path() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec->spec | (-1),6128,6168,6192,6800,7712 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 0 | codec | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c get_multiio_path() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 0 | codec | unit_byte |
sound/hda/codecs/generic.c indep_hp_possible() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c indep_hp_possible() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c indep_hp_possible() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c invalidate_nid_path() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec->spec | (-1),6128,6168,6192,6800,7712 |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c parse_output_paths() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->multi_ios | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c path_has_mixer() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c print_nid_path_idx() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | idx | $2 |
| STR_LEN | 0 | codec | 5 |
| STR_LEN | 0 | codec | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c refill_shared_dacs() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c resume_path_from_idx() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->multi_ios | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes |
sound/hda/codecs/generic.c set_output_and_unmute() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes |
sound/hda/codecs/generic.c snd_hda_gen_shutup_speakers() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| DATA_SOURCE | 0 | codec | $0 |
sound/hda/codecs/generic.c try_assign_dacs() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c update_aamix_paths() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | idx | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 0 | codec | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c update_aamix_paths() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | idx | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 0 | codec | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c update_output_paths() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | codec | unit_byte |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/analog.c ad1988_auto_smux_enum_put() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | codec | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock |
sound/hda/codecs/analog.c ad1988_auto_smux_enum_put() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | codec | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock |
sound/hda/codecs/analog.c ad_codec_init() -> snd_hda_get_path_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| CAPPED_DATA | 0 | codec->spec->autocfg.dig_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.num_inputs | 1 |
| CAPPED_DATA | 0 | codec->spec->multi_ios | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes |