Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/pci/nm256/nm256.c snd_nm256_ac97_reset() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 1728 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
sound/pci/nm256/nm256.c snd_nm256_ac97_reset() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1740 |
| PARAM_VALUE | 2 | val | 135 |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
sound/pci/nm256/nm256.c snd_nm256_ac97_reset() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1740 |
| PARAM_VALUE | 2 | val | 128 |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
sound/pci/nm256/nm256.c snd_nm256_ac97_reset() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1740 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | (-1),72,104,256,376,448,2728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
sound/pci/nm256/nm256.c snd_nm256_capture_start() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 512 |
| PARAM_VALUE | 2 | val | 3 |
| 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_capture_stop() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 512 |
| PARAM_VALUE | 2 | val | 0 |
| 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 |
sound/pci/nm256/nm256.c snd_nm256_init_chip() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | val | 17 |
| 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_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1024 |
| DATA_SOURCE | 0 | chip | $1 |
| BIT_INFO | 2 | val | 0x2,0xff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-255 |
| 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_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1024 |
| PARAM_VALUE | 2 | val | 0-253 |
| DATA_SOURCE | 0 | chip | $1 |
| BIT_INFO | 2 | val | 0x0,0xfd |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-253 |
| 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_zx() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1024 |
| DATA_SOURCE | 0 | chip | $1 |
| BIT_INFO | 2 | val | 0x2,0xff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-255 |
| 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_zx() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1024 |
| PARAM_VALUE | 2 | val | 0-253 |
| DATA_SOURCE | 0 | chip | $1 |
| BIT_INFO | 2 | val | 0x0,0xfd |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-253 |
| 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_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1 |
| PARAM_VALUE | 2 | val | 5 |
| 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_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1 |
| PARAM_VALUE | 2 | val | 0 |
| 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 |
sound/pci/nm256/nm256.c snd_nm256_set_format() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2 |
| PARAM_VALUE | 2 | val | 0-3,16-115 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 2 | val | 0x0,0x73 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->reg_lock | |
| TYPE_LOCK | (struct nm256)->reg_lock |
sound/pci/nm256/nm256.c snd_nm256_set_format() -> snd_nm256_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 514 |
| PARAM_VALUE | 2 | val | 0-3,16-115 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 2 | val | 0x0,0x73 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->reg_lock | |
| TYPE_LOCK | (struct nm256)->reg_lock |