Searched refs:MIXART_MEM (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/sound/pci/mixart/ |
H A D | mixart_core.c | 39 tailptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); in retrieve_msg_frame() 40 headptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_HEAD)); in retrieve_msg_frame() 50 *msg_frame = readl_be(MIXART_MEM(mgr, tailptr)); in retrieve_msg_frame() 56 writel_be(tailptr, MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); in retrieve_msg_frame() 101 headptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_FREE_HEAD)); in get_msg() 109 writel_be(msg_frame_address, MIXART_MEM(mgr, headptr)); in get_msg() 141 tailptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_TAIL)); in send_msg() 142 headptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_HEAD)); in send_msg() 153 msg_frame_address = readl_be(MIXART_MEM(mgr, tailptr)); in send_msg() 206 writel_be(msg_frame_address, MIXART_MEM(mgr, headptr)); in send_msg() [all …]
|
H A D | mixart_hwdep.c | 46 read = readl_be( MIXART_MEM( mgr, offset )); in mixart_wait_nice_for_register_value() 111 memcpy_toio( MIXART_MEM( mgr, be32_to_cpu(elf_programheader.p_vaddr)), in mixart_load_elf() 346 status_elf = readl_be( MIXART_MEM( mgr,MIXART_PSEUDOREG_ELF_STATUS_OFFSET )); in mixart_dsp_load() 379 writel_be( 1, MIXART_MEM( mgr, MIXART_PSEUDOREG_MXLX_STATUS_OFFSET )); in mixart_dsp_load() 390 writel_be( 2, MIXART_MEM( mgr, MIXART_PSEUDOREG_MXLX_STATUS_OFFSET )); in mixart_dsp_load() 423 writel_be( 1, MIXART_MEM( mgr, MIXART_PSEUDOREG_ELF_STATUS_OFFSET )); in mixart_dsp_load() 430 writel_be( 2, MIXART_MEM( mgr, MIXART_PSEUDOREG_ELF_STATUS_OFFSET )); in mixart_dsp_load() 489 writel_be( 1, MIXART_MEM( mgr, MIXART_PSEUDOREG_DXLX_STATUS_OFFSET )); in mixart_dsp_load() 499 val = readl_be( MIXART_MEM( mgr, MIXART_PSEUDOREG_DXLX_BASE_ADDR_OFFSET )); in mixart_dsp_load() 504 memcpy_toio( MIXART_MEM( mgr, val), dsp->data, dsp->size); in mixart_dsp_load() [all …]
|
H A D | mixart_hwdep.h | 31 #define MIXART_MEM(mgr,x) ((mgr)->mem[0].virt + (x)) macro
|
H A D | mixart.c | 1137 if (copy_to_user_fromio(buf, MIXART_MEM(mgr, pos), count)) in snd_mixart_BA0_read() 1189 ref = readl_be( MIXART_MEM( chip->mgr, MIXART_PSEUDOREG_PERF_SYSTEM_LOAD_OFFSET)); in snd_mixart_proc_read() 1192 …u32 mailbox = 100 * readl_be( MIXART_MEM( chip->mgr, MIXART_PSEUDOREG_PERF_MAILBX_LOAD_OFFSET)) … in snd_mixart_proc_read() 1193 …u32 streaming = 100 * readl_be( MIXART_MEM( chip->mgr, MIXART_PSEUDOREG_PERF_STREAM_LOAD_OFFSET)) … in snd_mixart_proc_read() 1194 …u32 interr = 100 * readl_be( MIXART_MEM( chip->mgr, MIXART_PSEUDOREG_PERF_INTERR_LOAD_OFFSET)) … in snd_mixart_proc_read()
|