Defined in 1 files as a prototype:

Defined in 3 files as a function:

Referenced in 7 files:

Smatch caller information:

sound/soc/amd/acp/acp-rembrandt.c rmb_pcm_resume() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 0 rtd 4096-ptr_max
PARAM_VALUE 0 rtd->acp_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rtd->rsrc 4096-ptr_max
PARAM_VALUE 0 rtd->rsrc->sram_pte_offset 33892352,58720256,58730496
PARAM_VALUE 1 direction 4096-ptr_max
PARAM_VALUE 1 direction->reg_offset 33554432
PARAM_VALUE 1 direction->substream 4096-ptr_max
PARAM_VALUE 1 direction->substream->runtime 4096-ptr_max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
CAPPED_DATA 0 &rtd->stream_list 1
DATA_SOURCE 2 asic_type r frames_to_bytes
BIT_INFO 2 asic_type 0x0,0x7fffffffffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtd unit_byte
LOCK2 0 &rtd->acp_lock
TYPE_LOCK (struct acp_chip_info)->acp_lock

sound/soc/amd/acp-pcm-dma.c acp_dma_hw_params() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 1 direction 4096-ptr_max
PARAM_VALUE 1 direction->byte_cnt_high_reg_offset 20913,20915,20917,20980,20982
PARAM_VALUE 1 direction->byte_cnt_low_reg_offset 20914,20916,20918,20981,20983
PARAM_VALUE 1 direction->ch1 4,8,10,12,14
PARAM_VALUE 1 direction->ch2 5,9,11,13,15
PARAM_VALUE 1 direction->destination 2-4,10-11
PARAM_VALUE 1 direction->dma_curr_dscr 20555,20559
PARAM_VALUE 1 direction->dma_dscr_idx_1 0,4,8,12
PARAM_VALUE 1 direction->dma_dscr_idx_2 2,6,10,14
PARAM_VALUE 1 direction->i2s_instance 1-3
PARAM_VALUE 1 direction->order 0-32
PARAM_VALUE 1 direction->pte_offset 0,4,8,10,12
PARAM_VALUE 1 direction->size 0-u32max
PARAM_VALUE 1 direction->sram_bank 67117056,67125248,67133440,67141632,67149824
BUF_SIZE 1 direction s32min-(-2),1-s32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
FUZZY_MAX 1 direction->byte_cnt_high_reg_offset 20982
FUZZY_MAX 1 direction->byte_cnt_low_reg_offset 20983
FUZZY_MAX 1 direction->ch1 14
FUZZY_MAX 1 direction->ch2 15
FUZZY_MAX 1 direction->destination 11
FUZZY_MAX 1 direction->dma_curr_dscr 20559
FUZZY_MAX 1 direction->dma_dscr_idx_1 12
FUZZY_MAX 1 direction->dma_dscr_idx_2 14
FUZZY_MAX 1 direction->pte_offset 12
FUZZY_MAX 1 direction->sram_bank 67149824
BIT_INFO 1 direction->byte_cnt_high_reg_offset 0x51b0,0x51f7
BIT_INFO 1 direction->byte_cnt_low_reg_offset 0x51b0,0x51f7
BIT_INFO 1 direction->ch1 0x0,0xe
BIT_INFO 1 direction->ch2 0x1,0xf
BIT_INFO 1 direction->dma_dscr_idx_1 0x0,0xc
BIT_INFO 1 direction->dma_dscr_idx_2 0x2,0xe
BIT_INFO 1 direction->pte_offset 0x0,0xe
BIT_INFO 1 direction->sram_bank 0x4000000,0x400e000
HARD_MAX 1 direction->byte_cnt_high_reg_offset 20982
HARD_MAX 1 direction->byte_cnt_low_reg_offset 20983
HARD_MAX 1 direction->ch1 14
HARD_MAX 1 direction->ch2 15
HARD_MAX 1 direction->destination 11
HARD_MAX 1 direction->dma_dscr_idx_1 12
HARD_MAX 1 direction->dma_dscr_idx_2 14
HARD_MAX 1 direction->pte_offset 12
HARD_MAX 1 direction->sram_bank 67149824
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 direction unit_byte
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/amd/acp-pcm-dma.c acp_pcm_resume() -> config_acp_dma()

Type Parameter Key Value
BUF_SIZE 1 direction s32min-(-2),1-s32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 direction unit_byte

sound/soc/amd/acp-pcm-dma.c acp_pcm_resume() -> config_acp_dma()

Type Parameter Key Value
BUF_SIZE 1 direction s32min-(-2),1-s32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 direction unit_byte

sound/soc/amd/acp-pcm-dma.c acp_pcm_resume() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 2 asic_type 0-12,14-u32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 direction unit_byte

sound/soc/amd/acp-pcm-dma.c acp_pcm_resume() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 2 asic_type 0-12,14-u32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 direction unit_byte

sound/soc/amd/acp-pcm-dma.c acp_pcm_resume() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 2 asic_type 0-12,14-u32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 direction unit_byte

sound/soc/amd/acp/acp70.c acp70_pcm_resume() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 0 rtd 4096-ptr_max
PARAM_VALUE 0 rtd->acp_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rtd->rsrc 4096-ptr_max
PARAM_VALUE 0 rtd->rsrc->sram_pte_offset 33892352,58720256,58730496
PARAM_VALUE 1 direction 4096-ptr_max
PARAM_VALUE 1 direction->reg_offset 33554432
PARAM_VALUE 1 direction->substream 4096-ptr_max
PARAM_VALUE 1 direction->substream->runtime 4096-ptr_max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
CAPPED_DATA 0 &rtd->stream_list 1
DATA_SOURCE 2 asic_type r frames_to_bytes
BIT_INFO 2 asic_type 0x0,0x7fffffffffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtd unit_byte
LOCK2 0 &rtd->acp_lock
TYPE_LOCK (struct acp_chip_info)->acp_lock

sound/soc/amd/renoir/acp3x-pdm-dma.c acp_pdm_dma_hw_params() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 0 rtd 4096-ptr_max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtd unit_byte
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/amd/renoir/acp3x-pdm-dma.c acp_pdm_resume() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 1 direction 1
BUF_SIZE 0 rtd s32min-(-2),1-s32max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtd unit_byte

sound/soc/amd/acp/acp-platform.c acp_dma_hw_params() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 0 rtd 4096-ptr_max
PARAM_VALUE 0 rtd->rsrc 4096-ptr_max
PARAM_VALUE 0 rtd->rsrc->sram_pte_offset 33892352,58720256,58730496
PARAM_VALUE 1 direction 4096-ptr_max
PARAM_VALUE 1 direction->reg_offset 33554432
BUF_SIZE 0 rtd s32min-(-2),1-s32max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
BUF_SIZE 1 direction s32min-(-2),1-s32max
DATA_SOURCE 2 asic_type r params_buffer_bytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtd unit_byte
UNITS 1 direction unit_byte
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/amd/acp/acp63.c acp63_pcm_resume() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 0 rtd 4096-ptr_max
PARAM_VALUE 0 rtd->acp_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rtd->rsrc 4096-ptr_max
PARAM_VALUE 0 rtd->rsrc->sram_pte_offset 33892352,58720256,58730496
PARAM_VALUE 1 direction 4096-ptr_max
PARAM_VALUE 1 direction->reg_offset 33554432
PARAM_VALUE 1 direction->substream 4096-ptr_max
PARAM_VALUE 1 direction->substream->runtime 4096-ptr_max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
CAPPED_DATA 0 &rtd->stream_list 1
DATA_SOURCE 2 asic_type r frames_to_bytes
BIT_INFO 2 asic_type 0x0,0x7fffffffffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtd unit_byte
LOCK2 0 &rtd->acp_lock
TYPE_LOCK (struct acp_chip_info)->acp_lock

sound/soc/amd/acp/acp-renoir.c rn_pcm_resume() -> config_acp_dma()

Type Parameter Key Value
PARAM_VALUE 0 rtd 4096-ptr_max
PARAM_VALUE 0 rtd->acp_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rtd->rsrc 4096-ptr_max
PARAM_VALUE 0 rtd->rsrc->sram_pte_offset 33892352,58720256,58730496
PARAM_VALUE 1 direction 4096-ptr_max
PARAM_VALUE 1 direction->reg_offset 33554432
PARAM_VALUE 1 direction->substream 4096-ptr_max
PARAM_VALUE 1 direction->substream->runtime 4096-ptr_max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
BUF_SIZE 0 rtd s32min-(-2),1-s32max
CAPPED_DATA 0 &rtd->stream_list 1
DATA_SOURCE 2 asic_type r frames_to_bytes
BIT_INFO 2 asic_type 0x0,0x7fffffffffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtd unit_byte
LOCK2 0 &rtd->acp_lock
TYPE_LOCK (struct acp_chip_info)->acp_lock