Defined in 3 files as a function:
- sound/isa/sb/emu8000.c, line 124 (as a function)
- sound/isa/sb/emu8000_patch.c, line 98 (as a function)
- sound/isa/sb/emu8000_pcm.c, line 104 (as a function)
Referenced in 3 files:
Smatch caller information:
sound/isa/sb/emu8000.c size_dram() -> snd_emu8000_write_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emu | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->bass_level | 0 |
| PARAM_VALUE | 0 | emu->card | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.class | 235665674555068416 |
| PARAM_VALUE | 0 | emu->card->card_dev.dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | emu->card->card_dev.dma_uses_io_tlb | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.kset | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.state_in_sysfs | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.links.status | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.numa_node | (-1) |
| PARAM_VALUE | 0 | emu->card->card_dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->card->card_dev.power.disable_depth | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.early_init | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.is_prepared | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.is_suspended | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | emu->card->card_dev.power.qos | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.request | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.runtime_auto | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.runtime_error | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.timer_expires | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.release | 530793378695925760 |
| PARAM_VALUE | 0 | emu->card->controls_rwlock.magic | 3736018669 |
| PARAM_VALUE | 0 | emu->card->controls_rwlock.owner | (-1) |
| PARAM_VALUE | 0 | emu->card->controls_rwlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | emu->card->controls_rwsem.count.counter | 0 |
| PARAM_VALUE | 0 | emu->card->controls_rwsem.first_waiter | 0 |
| PARAM_VALUE | 0 | emu->card->controls_rwsem.owner.counter | 0 |
| PARAM_VALUE | 0 | emu->card->ctl_hash.xa_flags | 0 |
| PARAM_VALUE | 0 | emu->card->ctl_hash.xa_head | 0 |
| PARAM_VALUE | 0 | emu->card->ctl_numids.xa_flags | 0 |
| PARAM_VALUE | 0 | emu->card->ctl_numids.xa_head | 0 |
| PARAM_VALUE | 0 | emu->card->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->card->managed | 1 |
| PARAM_VALUE | 0 | emu->card->memory_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | emu->card->memory_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | emu->card->module | 0 |
| PARAM_VALUE | 0 | emu->card->number | 0-31 |
| PARAM_VALUE | 0 | emu->card->power_ref.count.counter | 0 |
| PARAM_VALUE | 0 | emu->card->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->chorus_mode | 0 |
| PARAM_VALUE | 0 | emu->fm_chorus_depth | 0 |
| PARAM_VALUE | 0 | emu->fm_reverb_depth | 0 |
| PARAM_VALUE | 0 | emu->index | 0 |
| PARAM_VALUE | 0 | emu->last_reg | 62 |
| PARAM_VALUE | 0 | emu->mem_size | 0 |
| PARAM_VALUE | 0 | emu->port1 | 0 |
| PARAM_VALUE | 0 | emu->port2 | 0 |
| PARAM_VALUE | 0 | emu->port3 | 0 |
| PARAM_VALUE | 0 | emu->reverb_mode | 0 |
| PARAM_VALUE | 0 | emu->seq_ports | 0 |
| PARAM_VALUE | 0 | emu->treble_level | 0 |
| BUF_SIZE | 0 | emu | 304 |
| DATA_SOURCE | 0 | emu | $0 |
| MEM_ZERO | 0 | emu | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/isa/sb/emu8000.c size_dram() -> snd_emu8000_write_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emu | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->bass_level | 0 |
| PARAM_VALUE | 0 | emu->card | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.class | 235665674555068416 |
| PARAM_VALUE | 0 | emu->card->card_dev.dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | emu->card->card_dev.dma_uses_io_tlb | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.kset | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.state_in_sysfs | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.links.status | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.numa_node | (-1) |
| PARAM_VALUE | 0 | emu->card->card_dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->card->card_dev.power.disable_depth | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.early_init | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.is_prepared | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.is_suspended | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | emu->card->card_dev.power.qos | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.request | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.runtime_auto | 1 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.runtime_error | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | emu->card->card_dev.power.timer_expires | 0 |
| PARAM_VALUE | 0 | emu->card->card_dev.release | 530793378695925760 |
| PARAM_VALUE | 0 | emu->card->controls_rwlock.magic | 3736018669 |
| PARAM_VALUE | 0 | emu->card->controls_rwlock.owner | (-1) |
| PARAM_VALUE | 0 | emu->card->controls_rwlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | emu->card->controls_rwsem.count.counter | 0 |
| PARAM_VALUE | 0 | emu->card->controls_rwsem.first_waiter | 0 |
| PARAM_VALUE | 0 | emu->card->controls_rwsem.owner.counter | 0 |
| PARAM_VALUE | 0 | emu->card->ctl_hash.xa_flags | 0 |
| PARAM_VALUE | 0 | emu->card->ctl_hash.xa_head | 0 |
| PARAM_VALUE | 0 | emu->card->ctl_numids.xa_flags | 0 |
| PARAM_VALUE | 0 | emu->card->ctl_numids.xa_head | 0 |
| PARAM_VALUE | 0 | emu->card->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->card->managed | 1 |
| PARAM_VALUE | 0 | emu->card->memory_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | emu->card->memory_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | emu->card->module | 0 |
| PARAM_VALUE | 0 | emu->card->number | 0-31 |
| PARAM_VALUE | 0 | emu->card->power_ref.count.counter | 0 |
| PARAM_VALUE | 0 | emu->card->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->chorus_mode | 0 |
| PARAM_VALUE | 0 | emu->fm_chorus_depth | 0 |
| PARAM_VALUE | 0 | emu->fm_reverb_depth | 0 |
| PARAM_VALUE | 0 | emu->index | 0 |
| PARAM_VALUE | 0 | emu->last_reg | 58 |
| PARAM_VALUE | 0 | emu->mem_size | 0 |
| PARAM_VALUE | 0 | emu->port1 | 0 |
| PARAM_VALUE | 0 | emu->port2 | 0 |
| PARAM_VALUE | 0 | emu->port3 | 0 |
| PARAM_VALUE | 0 | emu->reverb_mode | 0 |
| PARAM_VALUE | 0 | emu->seq_ports | 0 |
| PARAM_VALUE | 0 | emu->treble_level | 0 |
| BUF_SIZE | 0 | emu | 304 |
| DATA_SOURCE | 0 | emu | $0 |
| MEM_ZERO | 0 | emu | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/isa/sb/emu8000_pcm.c emu8k_pcm_copy() -> snd_emu8000_write_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | can_schedule | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | emu | unit_byte |
sound/isa/sb/emu8000_pcm.c emu8k_pcm_prepare() -> snd_emu8000_write_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emu | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->emu | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->emu->hw->last_reg | 0-u16max |
| PARAM_VALUE | 0 | emu->emu->voices | 4096-ptr_max |
| PARAM_VALUE | 1 | can_schedule | 0 |
| CAPPED_DATA | 0 | emu->emu->max_voices | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | emu | unit_byte |
sound/isa/sb/emu8000_pcm.c emu8k_pcm_silence() -> snd_emu8000_write_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | can_schedule | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | emu | unit_byte |
| HALF_LOCKED2 | &subs->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &subs->self_group.lock | ||
| HALF_LOCKED2 | &subs->self_group.mutex |
sound/isa/sb/emu8000_patch.c snd_emu8000_sample_new() -> snd_emu8000_write_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emu | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->emu | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->emu->hw->last_reg | 0-u16max |
| PARAM_VALUE | 0 | emu->emu->use_time | 0 |
| PARAM_VALUE | 0 | emu->emu->voices | 4096-ptr_max |
| CAPPED_DATA | 0 | emu->emu->max_voices | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | emu | unit_byte |
| LOCK2 | &sflist->presets_mutex | ||
| TYPE_LOCK | (struct snd_sf_list)->presets_mutex |
sound/isa/sb/emu8000_patch.c write_word() -> snd_emu8000_write_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | emu | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->emu | 4096-ptr_max |
| PARAM_VALUE | 0 | emu->emu->hw->last_reg | 0-u16max |
| PARAM_VALUE | 0 | emu->emu->use_time | 0 |
| PARAM_VALUE | 0 | emu->emu->voices | 4096-ptr_max |
| CAPPED_DATA | 0 | emu->emu->max_voices | 1 |
| DATA_SOURCE | 0 | emu | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | emu | unit_byte |
| LOCK2 | &sflist->presets_mutex | ||
| TYPE_LOCK | (struct snd_sf_list)->presets_mutex |