Home
last modified time | relevance | path

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

/openbmc/linux/sound/pci/asihpi/
H A 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()
93 void hpi_dsp_code_close(struct dsp_code *dsp_code) in hpi_dsp_code_close() argument
97 kfree(dsp_code->pvt); in hpi_dsp_code_close()
101 void hpi_dsp_code_rewind(struct dsp_code *dsp_code) in hpi_dsp_code_rewind() argument
108 short hpi_dsp_code_read_word(struct dsp_code *dsp_code, u32 *pword) in hpi_dsp_code_read_word() argument
110 if (dsp_code->word_count + 1 > dsp_code->block_length) in hpi_dsp_code_read_word()
113 *pword = ((u32 *)(dsp_code->pvt->firmware->data))[dsp_code-> in hpi_dsp_code_read_word()
121 struct dsp_code *dsp_code, u32 **ppblock) in hpi_dsp_code_read_block() argument
[all …]
H A 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,
H A 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()
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()
988 hpi_dsp_code_read_word(&dsp_code, &type); in hpi6000_adapter_boot_load_dsp()
[all …]
H A 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()
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()
1440 hpi_dsp_code_read_word(&dsp_code, &type); in adapter_boot_load_dsp()
[all …]
/openbmc/linux/sound/pci/echoaudio/
H A 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()
H A Dechoaudio.h416 u16 *dsp_code; /* Current DSP code loaded, member
H A Dechoaudio_3g.c49 chip->dsp_code = NULL; in check_asic_status()
H A Dechoaudio.c2172 chip->dsp_code = NULL; in snd_echo_suspend()
/openbmc/linux/sound/pci/korg1212/
H A 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()