Lines Matching defs:data
45 static int shadow_and_reallocate_code (struct snd_cs46xx * chip, u32 * data, u32 size,
57 loval = data[i++];
58 hival = data[i++];
104 ins->code.data[ins->code.size++] = loval;
105 ins->code.data[ins->code.size++] = hival;
233 ins->code.data = kmalloc(DSP_CODE_BYTE_SIZE, GFP_KERNEL);
237 if (!ins->symbol_table.symbols || !ins->code.data || !ins->modules) {
272 kfree(ins->code.data);
292 kfree(ins->scbs[i].data);
296 kfree(ins->code.data);
318 "dsp_spos: downloading parameter data to chip (%08x-%08x)\n",
320 if (snd_cs46xx_download (chip, parameter->data, doffset, dsize)) {
322 "dsp_spos: failed to download parameter data to DSP\n");
343 "dsp_spos: downloading sample data to chip (%08x-%08x)\n",
346 if (snd_cs46xx_download (chip,sample->data,doffset,dsize)) {
348 "dsp_spos: failed to sample data to DSP\n");
424 module->nfixups = shadow_and_reallocate_code(chip,code->data,code->size,module->overlay_begin_address);
426 if (snd_cs46xx_download (chip,(ins->code.data + ins->code.offset),doffset,dsize)) {
436 statically allocated. Case that module data is
980 /* copy the data for resume */
988 desc->data = scb_data;
1009 desc->data = task_data;
1821 int cs46xx_poke_via_dsp (struct snd_cs46xx *chip, u32 address, u32 data)
1831 /* initialize the SP_IO_WRITE SCB with the data. */
1835 snd_cs46xx_poke(chip,((SPIOWRITE_SCB_ADDR + 1) << 2), data); /* offset 1 <-- data1 */
1836 snd_cs46xx_poke(chip,((SPIOWRITE_SCB_ADDR + 2) << 2), data); /* offset 1 <-- data2 */
1942 ins->code.data + module->load_address,
1950 _dsp_create_task_tree(chip, t->data, t->address, t->size);
1957 _dsp_create_scb(chip, s->data, s->address);