Home
last modified time | relevance | path

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

/sound/pci/asihpi/
Dhpidspcd.c37 short hpi_dsp_code_open(u32 adapter, void *os_data, struct dsp_code *dsp_code, in hpi_dsp_code_open() argument
85 dsp_code->pvt = kmalloc(sizeof(*dsp_code->pvt), GFP_KERNEL); in hpi_dsp_code_open()
86 if (!dsp_code->pvt) { in hpi_dsp_code_open()
91 dsp_code->pvt->dev = dev; in hpi_dsp_code_open()
92 dsp_code->pvt->firmware = firmware; in hpi_dsp_code_open()
93 dsp_code->header = header; in hpi_dsp_code_open()
94 dsp_code->block_length = header.size / sizeof(u32); in hpi_dsp_code_open()
95 dsp_code->word_count = sizeof(header) / sizeof(u32); in hpi_dsp_code_open()
101 dsp_code->block_length = 0; in hpi_dsp_code_open()
106 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.c1253 struct dsp_code dsp_code; in adapter_boot_load_dsp() local
1371 &dsp_code, pos_error_code); in adapter_boot_load_dsp()
1381 err = hpi_dsp_code_read_word(&dsp_code, &length); in adapter_boot_load_dsp()
1387 err = hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp()
1390 err = hpi_dsp_code_read_word(&dsp_code, &type); in adapter_boot_load_dsp()
1393 err = hpi_dsp_code_read_block(length, &dsp_code, in adapter_boot_load_dsp()
1411 hpi_dsp_code_close(&dsp_code); in adapter_boot_load_dsp()
1416 hpi_dsp_code_rewind(&dsp_code); in adapter_boot_load_dsp()
1424 hpi_dsp_code_read_word(&dsp_code, &length); in adapter_boot_load_dsp()
1428 hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp()
[all …]
/sound/pci/echoaudio/
Dechoaudio_dsp.c336 if (chip->dsp_code == code) { in load_dsp()
341 chip->dsp_code = NULL; /* Current DSP code not loaded */ in load_dsp()
459 chip->dsp_code = code; /* Show which DSP code loaded */ in load_dsp()
483 if (chip->dsp_code) { in load_firmware()
487 chip->dsp_code = NULL; in load_firmware()
952 if (chip->dsp_code) { in rest_in_peace()
954 chip->dsp_code = NULL; in rest_in_peace()
975 chip->dsp_code = NULL; /* Current DSP code not loaded */ in init_dsp_comm_page()
Dechoaudio.h443 u16 *dsp_code; /* Current DSP code loaded, member
Dechoaudio_3g.c49 chip->dsp_code = NULL; in check_asic_status()
Dechoaudio.c2228 chip->dsp_code = NULL; in snd_echo_suspend()
/sound/pci/korg1212/
Dkorg1212.c2165 const struct firmware *dsp_code; in snd_korg1212_create() local
2346 err = request_firmware(&dsp_code, "korg/k1212.dsp", &pci->dev); in snd_korg1212_create()
2348 release_firmware(dsp_code); in snd_korg1212_create()
2355 dsp_code->size, &korg1212->dma_dsp) < 0) { in snd_korg1212_create()
2356 snd_printk(KERN_ERR "korg1212: cannot allocate dsp code memory (%zd bytes)\n", dsp_code->size); in snd_korg1212_create()
2358 release_firmware(dsp_code); in snd_korg1212_create()
2363 korg1212->dma_dsp.area, korg1212->dma_dsp.addr, dsp_code->size, in snd_korg1212_create()
2366 memcpy(korg1212->dma_dsp.area, dsp_code->data, dsp_code->size); in snd_korg1212_create()
2368 release_firmware(dsp_code); in snd_korg1212_create()