Home
last modified time | relevance | path

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

/linux-6.6.21/sound/pci/asihpi/
Dhpidspcd.c23 short hpi_dsp_code_open(u32 adapter, void *os_data, struct dsp_code *dsp_code, in hpi_dsp_code_open() argument
72 dsp_code->pvt = kmalloc(sizeof(*dsp_code->pvt), GFP_KERNEL); in hpi_dsp_code_open()
73 if (!dsp_code->pvt) { in hpi_dsp_code_open()
78 dsp_code->pvt->dev = dev; in hpi_dsp_code_open()
79 dsp_code->pvt->firmware = firmware; in hpi_dsp_code_open()
80 dsp_code->header = header; in hpi_dsp_code_open()
81 dsp_code->block_length = header.size / sizeof(u32); in hpi_dsp_code_open()
82 dsp_code->word_count = sizeof(header) / sizeof(u32); in hpi_dsp_code_open()
88 dsp_code->block_length = 0; in hpi_dsp_code_open()
93 void hpi_dsp_code_close(struct dsp_code *dsp_code) in hpi_dsp_code_close() argument
[all …]
Dhpidspcd.h45 struct dsp_code { struct
66 struct dsp_code *ps_dsp_code, argument
71 void hpi_dsp_code_close(struct dsp_code *ps_dsp_code);
74 void hpi_dsp_code_rewind(struct dsp_code *ps_dsp_code);
79 short hpi_dsp_code_read_word(struct dsp_code *ps_dsp_code,
91 struct dsp_code *ps_dsp_code,
Dhpi6000.c644 struct dsp_code dsp_code; in hpi6000_adapter_boot_load_dsp() local
937 &dsp_code, pos_error_code); in hpi6000_adapter_boot_load_dsp()
948 error = hpi_dsp_code_read_word(&dsp_code, &length); in hpi6000_adapter_boot_load_dsp()
954 error = hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp()
957 error = hpi_dsp_code_read_word(&dsp_code, &type); in hpi6000_adapter_boot_load_dsp()
960 error = hpi_dsp_code_read_block(length, &dsp_code, in hpi6000_adapter_boot_load_dsp()
971 hpi_dsp_code_close(&dsp_code); in hpi6000_adapter_boot_load_dsp()
976 hpi_dsp_code_rewind(&dsp_code); in hpi6000_adapter_boot_load_dsp()
983 hpi_dsp_code_read_word(&dsp_code, &length); in hpi6000_adapter_boot_load_dsp()
987 hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp()
[all …]
Dhpi6205.c1260 struct dsp_code dsp_code; in adapter_boot_load_dsp() local
1382 &dsp_code, pos_error_code); in adapter_boot_load_dsp()
1392 err = hpi_dsp_code_read_word(&dsp_code, &length); in adapter_boot_load_dsp()
1398 err = hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp()
1401 err = hpi_dsp_code_read_word(&dsp_code, &type); in adapter_boot_load_dsp()
1404 err = hpi_dsp_code_read_block(length, &dsp_code, in adapter_boot_load_dsp()
1422 hpi_dsp_code_close(&dsp_code); in adapter_boot_load_dsp()
1427 hpi_dsp_code_rewind(&dsp_code); in adapter_boot_load_dsp()
1435 hpi_dsp_code_read_word(&dsp_code, &length); in adapter_boot_load_dsp()
1439 hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp()
[all …]
/linux-6.6.21/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()
474 chip->dsp_code = code; /* Show which DSP code loaded */ in load_dsp()
498 if (chip->dsp_code) { in load_firmware()
503 chip->dsp_code = NULL; in load_firmware()
959 if (chip->dsp_code) { in rest_in_peace()
961 chip->dsp_code = NULL; in rest_in_peace()
983 chip->dsp_code = NULL; /* Current DSP code not loaded */ in init_dsp_comm_page()
Dechoaudio.h416 u16 *dsp_code; /* Current DSP code loaded, member
Dechoaudio_3g.c49 chip->dsp_code = NULL; in check_asic_status()
Dechoaudio.c2172 chip->dsp_code = NULL; in snd_echo_suspend()
/linux-6.6.21/sound/pci/korg1212/
Dkorg1212.c2075 const struct firmware *dsp_code; in snd_korg1212_create() local
2233 err = request_firmware(&dsp_code, "korg/k1212.dsp", &pci->dev); in snd_korg1212_create()
2240 dsp_code->size); in snd_korg1212_create()
2242 release_firmware(dsp_code); in snd_korg1212_create()
2247 korg1212->dma_dsp->area, korg1212->dma_dsp->addr, dsp_code->size, in snd_korg1212_create()
2250 memcpy(korg1212->dma_dsp->area, dsp_code->data, dsp_code->size); in snd_korg1212_create()
2252 release_firmware(dsp_code); in snd_korg1212_create()