Home
last modified time | relevance | path

Searched refs:dsp_code (Results 1 – 9 of 9) sorted by relevance

/sound/pci/asihpi/
Dhpidspcd.c34 short hpi_dsp_code_open(u32 adapter, void *os_data, struct dsp_code *dsp_code, in hpi_dsp_code_open() argument
83 dsp_code->pvt = kmalloc(sizeof(*dsp_code->pvt), GFP_KERNEL); in hpi_dsp_code_open()
84 if (!dsp_code->pvt) { in hpi_dsp_code_open()
89 dsp_code->pvt->dev = dev; in hpi_dsp_code_open()
90 dsp_code->pvt->firmware = firmware; in hpi_dsp_code_open()
91 dsp_code->header = header; in hpi_dsp_code_open()
92 dsp_code->block_length = header.size / sizeof(u32); in hpi_dsp_code_open()
93 dsp_code->word_count = sizeof(header) / sizeof(u32); in hpi_dsp_code_open()
99 dsp_code->block_length = 0; in hpi_dsp_code_open()
104 void hpi_dsp_code_close(struct dsp_code *dsp_code) in hpi_dsp_code_close() argument
[all …]
Dhpidspcd.h56 struct dsp_code { struct
77 struct dsp_code *ps_dsp_code, argument
82 void hpi_dsp_code_close(struct dsp_code *ps_dsp_code);
85 void hpi_dsp_code_rewind(struct dsp_code *ps_dsp_code);
90 short hpi_dsp_code_read_word(struct dsp_code *ps_dsp_code,
102 struct dsp_code *ps_dsp_code,
Dhpi6000.c655 struct dsp_code dsp_code; in hpi6000_adapter_boot_load_dsp() local
948 &dsp_code, pos_error_code); in hpi6000_adapter_boot_load_dsp()
959 error = hpi_dsp_code_read_word(&dsp_code, &length); in hpi6000_adapter_boot_load_dsp()
965 error = hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp()
968 error = hpi_dsp_code_read_word(&dsp_code, &type); in hpi6000_adapter_boot_load_dsp()
971 error = hpi_dsp_code_read_block(length, &dsp_code, in hpi6000_adapter_boot_load_dsp()
982 hpi_dsp_code_close(&dsp_code); in hpi6000_adapter_boot_load_dsp()
987 hpi_dsp_code_rewind(&dsp_code); in hpi6000_adapter_boot_load_dsp()
994 hpi_dsp_code_read_word(&dsp_code, &length); in hpi6000_adapter_boot_load_dsp()
998 hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp()
[all …]
Dhpi6205.c1276 struct dsp_code dsp_code; in adapter_boot_load_dsp() local
1398 &dsp_code, pos_error_code); in adapter_boot_load_dsp()
1408 err = hpi_dsp_code_read_word(&dsp_code, &length); in adapter_boot_load_dsp()
1414 err = hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp()
1417 err = hpi_dsp_code_read_word(&dsp_code, &type); in adapter_boot_load_dsp()
1420 err = hpi_dsp_code_read_block(length, &dsp_code, in adapter_boot_load_dsp()
1438 hpi_dsp_code_close(&dsp_code); in adapter_boot_load_dsp()
1443 hpi_dsp_code_rewind(&dsp_code); in adapter_boot_load_dsp()
1451 hpi_dsp_code_read_word(&dsp_code, &length); in adapter_boot_load_dsp()
1455 hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp()
[all …]
/sound/pci/echoaudio/
Dechoaudio_dsp.c340 if (chip->dsp_code == code) { in load_dsp()
345 chip->dsp_code = NULL; /* Current DSP code not loaded */ in load_dsp()
473 chip->dsp_code = code; /* Show which DSP code loaded */ in load_dsp()
497 if (chip->dsp_code) { in load_firmware()
501 chip->dsp_code = NULL; in load_firmware()
961 if (chip->dsp_code) { in rest_in_peace()
963 chip->dsp_code = NULL; in rest_in_peace()
985 chip->dsp_code = NULL; /* Current DSP code not loaded */ in init_dsp_comm_page()
Dechoaudio.h412 u16 *dsp_code; /* Current DSP code loaded, member
Dechoaudio_3g.c49 chip->dsp_code = NULL; in check_asic_status()
Dechoaudio.c2192 chip->dsp_code = NULL; in snd_echo_suspend()
/sound/pci/korg1212/
Dkorg1212.c2170 const struct firmware *dsp_code; in snd_korg1212_create() local
2350 err = request_firmware(&dsp_code, "korg/k1212.dsp", &pci->dev); in snd_korg1212_create()
2352 release_firmware(dsp_code); in snd_korg1212_create()
2359 dsp_code->size, &korg1212->dma_dsp) < 0) { in snd_korg1212_create()
2360 snd_printk(KERN_ERR "korg1212: cannot allocate dsp code memory (%zd bytes)\n", dsp_code->size); in snd_korg1212_create()
2362 release_firmware(dsp_code); in snd_korg1212_create()
2367 korg1212->dma_dsp.area, korg1212->dma_dsp.addr, dsp_code->size, in snd_korg1212_create()
2370 memcpy(korg1212->dma_dsp.area, dsp_code->data, dsp_code->size); in snd_korg1212_create()
2372 release_firmware(dsp_code); in snd_korg1212_create()