Lines Matching refs:dsp
102 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) in mixart_load_elf() argument
108 elf_header = (struct snd_mixart_elf32_ehdr *)dsp->data; in mixart_load_elf()
119 memcpy( &elf_programheader, dsp->data + pos, sizeof(elf_programheader) ); in mixart_load_elf()
124 dsp->data + be32_to_cpu( elf_programheader.p_offset ), in mixart_load_elf()
345 static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) in mixart_dsp_load() argument
381 if (((u32*)(dsp->data))[0] == 0xffffffff) in mixart_dsp_load()
383 if (dsp->size % 4) in mixart_dsp_load()
392 writel_be( dsp->size, MIXART_MEM( mgr, MIXART_PSEUDOREG_MXLX_SIZE_OFFSET )); in mixart_dsp_load()
395 memcpy_toio( MIXART_MEM( mgr, MIXART_MOTHERBOARD_XLX_BASE_ADDRESS), dsp->data, dsp->size); in mixart_dsp_load()
434 err = mixart_load_elf( mgr, dsp ); in mixart_dsp_load()
488 if (((u32*)(dsp->data))[0] == 0xffffffff) in mixart_dsp_load()
490 if (dsp->size % 4) in mixart_dsp_load()
494 writel_be( dsp->size, MIXART_MEM( mgr, MIXART_PSEUDOREG_DXLX_SIZE_OFFSET )); in mixart_dsp_load()
512 memcpy_toio( MIXART_MEM( mgr, val), dsp->data, dsp->size); in mixart_dsp_load()