Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/pci/nm256/nm256.c snd_nm256_ac97_write() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u16max |
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/pci/nm256/nm256.c snd_nm256_init_chip() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 532 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip->pci | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | chip->pci->current_state | 0-3[c] |
| UNITS | 0 | chip | unit_byte |
sound/pci/nm256/nm256.c snd_nm256_interrupt() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2564 |
| PARAM_VALUE | 2 | val | 128 |
| DATA_SOURCE | 0 | chip | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chip->reg_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct nm256)->reg_lock |
sound/pci/nm256/nm256.c snd_nm256_interrupt() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2564 |
| PARAM_VALUE | 2 | val | 512 |
| DATA_SOURCE | 0 | chip | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chip->reg_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct nm256)->reg_lock |
sound/pci/nm256/nm256.c snd_nm256_interrupt() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2564 |
| PARAM_VALUE | 2 | val | 32768 |
| DATA_SOURCE | 0 | chip | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chip->reg_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct nm256)->reg_lock |
sound/pci/nm256/nm256.c snd_nm256_interrupt() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2564 |
| PARAM_VALUE | 2 | val | 32768 |
| DATA_SOURCE | 0 | chip | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chip->reg_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct nm256)->reg_lock |
sound/pci/nm256/nm256.c snd_nm256_interrupt() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2564 |
| PARAM_VALUE | 2 | val | 2 |
| DATA_SOURCE | 0 | chip | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chip->reg_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct nm256)->reg_lock |
sound/pci/nm256/nm256.c snd_nm256_interrupt() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2564 |
| DATA_SOURCE | 0 | chip | $1 |
| BIT_INFO | 2 | val | 0x0,0x7d7c |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u16max |
| LOCK2 | 0 | &chip->reg_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct nm256)->reg_lock |
sound/pci/nm256/nm256.c snd_nm256_playback_start() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 24 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | 0 | &chip->reg_lock | |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct nm256)->reg_lock |
sound/pci/nm256/nm256.c snd_nm256_playback_stop() -> snd_nm256_writew()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 24 |
| PARAM_VALUE | 2 | val | 32896 |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &chip->reg_lock |