Lines Matching refs:dsp
90 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) in mixart_load_elf() argument
96 elf_header = (struct snd_mixart_elf32_ehdr *)dsp->data; in mixart_load_elf()
107 memcpy( &elf_programheader, dsp->data + pos, sizeof(elf_programheader) ); in mixart_load_elf()
112 dsp->data + be32_to_cpu( elf_programheader.p_offset ), in mixart_load_elf()
337 static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) in mixart_dsp_load() argument
373 if (((u32*)(dsp->data))[0] == 0xffffffff) in mixart_dsp_load()
375 if (dsp->size % 4) in mixart_dsp_load()
384 writel_be( dsp->size, MIXART_MEM( mgr, MIXART_PSEUDOREG_MXLX_SIZE_OFFSET )); in mixart_dsp_load()
387 memcpy_toio( MIXART_MEM( mgr, MIXART_MOTHERBOARD_XLX_BASE_ADDRESS), dsp->data, dsp->size); in mixart_dsp_load()
426 err = mixart_load_elf( mgr, dsp ); in mixart_dsp_load()
480 if (((u32*)(dsp->data))[0] == 0xffffffff) in mixart_dsp_load()
482 if (dsp->size % 4) in mixart_dsp_load()
486 writel_be( dsp->size, MIXART_MEM( mgr, MIXART_PSEUDOREG_DXLX_SIZE_OFFSET )); in mixart_dsp_load()
504 memcpy_toio( MIXART_MEM( mgr, val), dsp->data, dsp->size); in mixart_dsp_load()