/sound/soc/codecs/ |
D | wm_adsp.c | 305 static struct wm_adsp_region const *wm_adsp_find_region(struct wm_adsp *dsp, in wm_adsp_find_region() argument 310 for (i = 0; i < dsp->num_mems; i++) in wm_adsp_find_region() 311 if (dsp->mem[i].type == type) in wm_adsp_find_region() 312 return &dsp->mem[i]; in wm_adsp_find_region() 337 static int wm_adsp_load(struct wm_adsp *dsp) in wm_adsp_load() argument 341 struct regmap *regmap = dsp->regmap; in wm_adsp_load() 360 snprintf(file, PAGE_SIZE, "%s-dsp%d-%s.wmfw", dsp->part, dsp->num, in wm_adsp_load() 361 wm_adsp_fw[dsp->fw].file); in wm_adsp_load() 364 ret = request_firmware(&firmware, file, dsp->dev); in wm_adsp_load() 366 adsp_err(dsp, "Failed to request '%s'\n", file); in wm_adsp_load() [all …]
|
D | wm2200.c | 87 struct wm_adsp dsp[2]; member 2225 wm2200->dsp[i].type = WMFW_ADSP1; in wm2200_i2c_probe() 2226 wm2200->dsp[i].part = "wm2200"; in wm2200_i2c_probe() 2227 wm2200->dsp[i].num = i + 1; in wm2200_i2c_probe() 2228 wm2200->dsp[i].dev = &i2c->dev; in wm2200_i2c_probe() 2229 wm2200->dsp[i].regmap = wm2200->regmap; in wm2200_i2c_probe() 2230 wm2200->dsp[i].sysclk_reg = WM2200_CLOCKING_3; in wm2200_i2c_probe() 2231 wm2200->dsp[i].sysclk_mask = WM2200_SYSCLK_FREQ_MASK; in wm2200_i2c_probe() 2232 wm2200->dsp[i].sysclk_shift = WM2200_SYSCLK_FREQ_SHIFT; in wm2200_i2c_probe() 2235 wm2200->dsp[0].base = WM2200_DSP1_CONTROL_1; in wm2200_i2c_probe() [all …]
|
D | wm0010.c | 357 u8 *out, dsp; in wm0010_firmware_load() local 372 dsp = inforec->dsp_target; in wm0010_firmware_load() 396 if (dsp != DEVICE_ID_WM0010) { in wm0010_firmware_load()
|
D | wm8996.c | 1744 int dsp = 0; in wm8996_hw_params() local 1796 dsp |= i << dsp_shift; in wm8996_hw_params() 1811 WM8996_DSP1_DIV_MASK << dsp_shift, dsp); in wm8996_hw_params()
|
/sound/pci/mixart/ |
D | mixart_hwdep.c | 101 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) in mixart_load_elf() argument 107 elf_header = (struct snd_mixart_elf32_ehdr *)dsp->data; in mixart_load_elf() 118 memcpy( &elf_programheader, dsp->data + pos, sizeof(elf_programheader) ); in mixart_load_elf() 123 dsp->data + be32_to_cpu( elf_programheader.p_offset ), in mixart_load_elf() 336 static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) in mixart_dsp_load() argument 371 if (((u32*)(dsp->data))[0] == 0xffffffff) in mixart_dsp_load() 373 if (dsp->size % 4) in mixart_dsp_load() 382 writel_be( dsp->size, MIXART_MEM( mgr, MIXART_PSEUDOREG_MXLX_SIZE_OFFSET )); in mixart_dsp_load() 385 memcpy_toio( MIXART_MEM( mgr, MIXART_MOTHERBOARD_XLX_BASE_ADDRESS), dsp->data, dsp->size); in mixart_dsp_load() 423 err = mixart_load_elf( mgr, dsp ); in mixart_dsp_load() [all …]
|
/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 199 struct snd_hwdep_dsp_image *dsp) in snd_usX2Y_hwdep_dsp_load() argument 203 snd_printdd( "dsp_load %s\n", dsp->name); in snd_usX2Y_hwdep_dsp_load() 205 if (access_ok(VERIFY_READ, dsp->image, dsp->length)) { in snd_usX2Y_hwdep_dsp_load() 209 buf = memdup_user(dsp->image, dsp->length); in snd_usX2Y_hwdep_dsp_load() 217 err = usb_bulk_msg(dev, usb_sndbulkpipe(dev, 2), buf, dsp->length, &lret, 6000); in snd_usX2Y_hwdep_dsp_load() 222 if (dsp->index == 1) { in snd_usX2Y_hwdep_dsp_load()
|
/sound/isa/sb/ |
D | Makefile | 7 snd-sb8-dsp-objs := sb8_main.o sb8_midi.o 8 snd-sb16-dsp-objs := sb16_main.o 18 obj-$(CONFIG_SND_SB16_DSP) += snd-sb16-dsp.o 19 obj-$(CONFIG_SND_SB8_DSP) += snd-sb8-dsp.o
|
/sound/pci/pcxhr/ |
D | pcxhr_hwdep.c | 288 const struct firmware *dsp) in pcxhr_dsp_load() argument 292 snd_printdd("loading dsp [%d] size = %Zd\n", index, dsp->size); in pcxhr_dsp_load() 297 return pcxhr_load_xilinx_binary(mgr, dsp, 0); in pcxhr_dsp_load() 301 return pcxhr_load_xilinx_binary(mgr, dsp, 1); in pcxhr_dsp_load() 305 return pcxhr_load_eeprom_binary(mgr, dsp); in pcxhr_dsp_load() 308 return pcxhr_load_boot_binary(mgr, dsp); in pcxhr_dsp_load() 311 err = pcxhr_load_dsp_binary(mgr, dsp); in pcxhr_dsp_load()
|
D | pcxhr_core.c | 332 static int pcxhr_download_dsp(struct pcxhr_mgr *mgr, const struct firmware *dsp) in pcxhr_download_dsp() argument 340 if (dsp->size <= 0) in pcxhr_download_dsp() 342 if (dsp->size % 3) in pcxhr_download_dsp() 344 if (snd_BUG_ON(!dsp->data)) in pcxhr_download_dsp() 347 for (i = 0; i < dsp->size; i += 3) { in pcxhr_download_dsp() 348 data = dsp->data + i; in pcxhr_download_dsp() 354 if (len && (dsp->size != (len + 2) * 3)) in pcxhr_download_dsp() 444 int pcxhr_load_dsp_binary(struct pcxhr_mgr *mgr, const struct firmware *dsp) in pcxhr_load_dsp_binary() argument 454 err = pcxhr_download_dsp(mgr, dsp); in pcxhr_load_dsp_binary()
|
D | pcxhr_core.h | 36 int pcxhr_load_dsp_binary(struct pcxhr_mgr *mgr, const struct firmware *dsp);
|
/sound/pci/asihpi/ |
D | hpi6205.c | 1256 int dsp = 0, i = 0; in adapter_boot_load_dsp() local 1348 for (dsp = 0; dsp < HPI6205_MAX_FILES_TO_LOAD; dsp++) { in adapter_boot_load_dsp() 1350 if (boot_code_id[dsp] == 0) in adapter_boot_load_dsp() 1353 err = boot_loader_config_emif(pao, dsp); in adapter_boot_load_dsp() 1357 err = boot_loader_test_internal_memory(pao, dsp); in adapter_boot_load_dsp() 1361 err = boot_loader_test_external_memory(pao, dsp); in adapter_boot_load_dsp() 1365 err = boot_loader_test_pld(pao, dsp); in adapter_boot_load_dsp() 1370 err = hpi_dsp_code_open(boot_code_id[dsp], pao->pci.pci_dev, in adapter_boot_load_dsp() 1398 boot_loader_write_mem32(pao, dsp, address, in adapter_boot_load_dsp() 1403 boot_loader_read_mem32(pao, dsp, in adapter_boot_load_dsp() [all …]
|
/sound/oss/ |
D | CHANGELOG | 68 DMA channel. The extra audio/dsp device (the "Not functional" one) used 70 just one /dev/dsp# device which is used both for code download and audio. 180 - Added support for synchronizing dsp/audio devices with /dev/sequencer. 181 - mmap() support for dsp/audio devices. 227 - select() for /dev/dsp and /dev/audio (Linux only). 245 the MSS mode (/dev/dsp). 308 - Fixed truncated sound on /dev/dsp when the device is closed. 359 - Significantly improved /dev/dsp and /dev/audio support.
|
/sound/drivers/vx/ |
D | vx_core.c | 674 int snd_vx_dsp_load(struct vx_core *chip, const struct firmware *dsp) in snd_vx_dsp_load() argument 681 if (dsp->size % 3) in snd_vx_dsp_load() 687 for (i = 0; i < dsp->size; i += 3) { in snd_vx_dsp_load() 688 image = dsp->data + i; in snd_vx_dsp_load()
|
/sound/pci/vx222/ |
D | vx222_ops.c | 411 static int vx2_load_dsp(struct vx_core *vx, int index, const struct firmware *dsp) in vx2_load_dsp() argument 418 if ((err = vx2_load_xilinx_binary(vx, dsp)) < 0) in vx2_load_dsp() 425 return snd_vx_dsp_boot(vx, dsp); in vx2_load_dsp() 428 return snd_vx_dsp_load(vx, dsp); in vx2_load_dsp()
|
/sound/oss/dmasound/ |
D | dmasound_core.c | 255 dmasound.dsp.speed = dmasound.soft.speed; in sound_set_speed() 269 dmasound.dsp.stereo = stereo; in sound_set_stereo() 789 dmasound.dsp = dmasound.mach.default_soft ; in sq_open() 1186 dmasound.dsp = dmasound.mach.default_soft ; in sq_init()
|
D | dmasound.h | 164 SETTINGS dsp; /* /dev/dsp default settings */ member
|
D | dmasound_q40.c | 563 dmasound.dsp.format = format; in Q40SetFormat() 564 dmasound.dsp.size = 8; in Q40SetFormat()
|
D | dmasound_paula.c | 413 dmasound.dsp.format = format; in AmiSetFormat() 414 dmasound.dsp.size = dmasound.soft.size; in AmiSetFormat()
|
D | dmasound_atari.c | 975 dmasound.dsp.format = format; in TTSetFormat() 976 dmasound.dsp.size = 8; in TTSetFormat() 1140 dmasound.dsp.format = format; in FalconSetFormat() 1141 dmasound.dsp.size = dmasound.soft.size; in FalconSetFormat()
|
/sound/pci/echoaudio/ |
D | echoaudio.c | 2049 char *dsp; in snd_echo_probe() local 2076 dsp = "56301"; in snd_echo_probe() 2078 dsp = "56361"; in snd_echo_probe() 2081 card->shortname, pci_id->subdevice & 0x000f, dsp, in snd_echo_probe()
|
/sound/core/ |
D | Kconfig | 70 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
|