Searched refs:dsp_code (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/sound/pci/asihpi/ |
D | hpidspcd.c | 23 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 …]
|
D | hpidspcd.h | 45 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,
|
D | hpi6000.c | 644 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 …]
|
D | hpi6205.c | 1260 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-v5.10/sound/pci/echoaudio/ |
D | echoaudio_dsp.c | 340 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() 955 if (chip->dsp_code) { in rest_in_peace() 957 chip->dsp_code = NULL; in rest_in_peace() 979 chip->dsp_code = NULL; /* Current DSP code not loaded */ in init_dsp_comm_page()
|
D | echoaudio.h | 416 u16 *dsp_code; /* Current DSP code loaded, member
|
D | echoaudio_3g.c | 49 chip->dsp_code = NULL; in check_asic_status()
|
D | echoaudio.c | 2189 chip->dsp_code = NULL; in snd_echo_suspend()
|
/Linux-v5.10/sound/pci/korg1212/ |
D | korg1212.c | 2156 const struct firmware *dsp_code; in snd_korg1212_create() local 2336 err = request_firmware(&dsp_code, "korg/k1212.dsp", &pci->dev); in snd_korg1212_create() 2344 dsp_code->size, &korg1212->dma_dsp) < 0) { in snd_korg1212_create() 2345 snd_printk(KERN_ERR "korg1212: cannot allocate dsp code memory (%zd bytes)\n", dsp_code->size); in snd_korg1212_create() 2347 release_firmware(dsp_code); in snd_korg1212_create() 2352 korg1212->dma_dsp.area, korg1212->dma_dsp.addr, dsp_code->size, in snd_korg1212_create() 2355 memcpy(korg1212->dma_dsp.area, dsp_code->data, dsp_code->size); in snd_korg1212_create() 2357 release_firmware(dsp_code); in snd_korg1212_create()
|