Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- sound/core/control.c, line 2358
- sound/core/control_led.c
- sound/core/init.c, line 399
- sound/core/oss/mixer_oss.c
- sound/core/sound.c, line 127
- sound/drivers/aloop.c, line 1230
- sound/last.c, line 17
Smatch caller information:
sound/core/sound.c autoload_device() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idx | 0-7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
sound/core/control_led.c list_show() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
sound/core/control_led.c snd_ctl_led_exit() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idx | 0-31 |
sound/core/control_led.c snd_ctl_led_reset() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | idx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
sound/core/control_led.c snd_ctl_led_set_id() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | idx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
sound/core/oss/mixer_oss.c alsa_mixer_oss_exit() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idx | 0-31 |
| FUZZY_MAX | 0 | idx | 31 |
| HARD_MAX | 0 | idx | 31 |
sound/core/oss/mixer_oss.c alsa_mixer_oss_init() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idx | 0-31 |
| FUZZY_MAX | 0 | idx | 31 |
| HARD_MAX | 0 | idx | 31 |
sound/drivers/aloop.c loopback_parse_timer_id() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idx | 0-s32max |
| CAPPED_DATA | 0 | idx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pcm->open_mutex |
sound/core/control.c snd_ctl_register_layer() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idx | 0-31 |
| FUZZY_MAX | 0 | idx | 31 |
| HARD_MAX | 0 | idx | 31 |
| LOCK2 | _T->lock |
sound/last.c alsa_sound_last_init() -> snd_card_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idx | 0-31 |
| FUZZY_MAX | 0 | idx | 31 |
| HARD_MAX | 0 | idx | 31 |