/sound/isa/gus/ |
D | gus_dram.c | 29 unsigned int address, unsigned int size) in snd_gus_dram_poke() argument 42 snd_gf1_dram_addr(gus, address); in snd_gus_dram_poke() 45 address += size1; in snd_gus_dram_poke() 50 snd_gf1_poke(gus, address++, *pbuffer++); in snd_gus_dram_poke() 60 unsigned int address, unsigned int size) in snd_gus_dram_write() argument 62 return snd_gus_dram_poke(gus, buffer, address, size); in snd_gus_dram_write() 66 unsigned int address, unsigned int size, in snd_gus_dram_peek() argument 78 snd_gf1_dram_addr(gus, address); in snd_gus_dram_peek() 82 address += size1; in snd_gus_dram_peek() 87 *pbuffer++ = snd_gf1_peek(gus, address++); in snd_gus_dram_peek() [all …]
|
D | gus_instr.c | 56 wave->address.memory = block->ptr; in snd_gus_iwffff_put_sample() 65 return snd_gus_dram_read(gus, data, wave->address.memory, wave->size, in snd_gus_iwffff_get_sample() 76 return snd_gf1_mem_free(&gus->gf1.mem_alloc, wave->address.memory); in snd_gus_iwffff_remove_sample() 107 wave->address.memory = block->ptr; in snd_gus_gf1_put_sample() 116 return snd_gus_dram_read(gus, data, wave->address.memory, wave->size, 0); in snd_gus_gf1_get_sample() 124 return snd_gf1_mem_free(&gus->gf1.mem_alloc, wave->address.memory); in snd_gus_gf1_remove_sample() 154 instr->address.memory = block->ptr; in snd_gus_simple_put_sample() 163 return snd_gus_dram_read(gus, data, instr->address.memory, instr->size, 0); in snd_gus_simple_get_sample() 171 return snd_gf1_mem_free(&gus->gf1.mem_alloc, instr->address.memory); in snd_gus_simple_remove_sample()
|
D | gus_dma.c | 44 unsigned int address; in snd_gf1_dma_program() local 53 address = addr >> 1; in snd_gf1_dma_program() 59 address = (addr & 0x000c0000) | ((addr & 0x0003ffff) >> 1); in snd_gf1_dma_program() 62 address = addr; in snd_gf1_dma_program() 82 address << 1, count, dma_cmd); in snd_gf1_dma_program() 86 address_high = ((address >> 16) & 0x000000f0) | (address & 0x0000000f); in snd_gf1_dma_program() 87 snd_gf1_write16(gus, SNDRV_GF1_GW_DRAM_DMA_LOW, (unsigned short) (address >> 4)); in snd_gf1_dma_program() 90 snd_gf1_write16(gus, SNDRV_GF1_GW_DRAM_DMA_LOW, (unsigned short) (address >> 4)); in snd_gf1_dma_program()
|
D | gus_mem.c | 109 unsigned int address) in snd_gf1_mem_look() argument 114 if (block->ptr == address) { in snd_gf1_mem_look() 156 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find() 158 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find() 180 block->ptr = info[idx].address; in snd_gf1_mem_find() 222 int snd_gf1_mem_free(struct snd_gf1_mem * alloc, unsigned int address) in snd_gf1_mem_free() argument 228 if ((block = snd_gf1_mem_look(alloc, address)) != NULL) { in snd_gf1_mem_free() 302 …snd_iprintf(buffer, "0x%06x (%04ik)%s", alloc->banks_8[i].address, alloc->banks_8[i].size >> 10, i… in snd_gf1_mem_info_read() 306 …snd_iprintf(buffer, "0x%06x (%04ik)%s", alloc->banks_16[i].address, alloc->banks_16[i].size >> 10,… in snd_gf1_mem_info_read()
|
D | gus_mem_proc.c | 29 unsigned int address; member 78 priv->address = gus->gf1.mem_alloc.banks_8[idx].address; in snd_gf1_mem_proc_init() 96 priv->address = idx * 4096 * 1024; in snd_gf1_mem_proc_init()
|
D | gus_main.c | 261 gus->gf1.mem_alloc.banks_8[l].address = in snd_gus_detect_memory() 263 gus->gf1.mem_alloc.banks_16[l].address = l << 18; in snd_gus_detect_memory()
|
/sound/pci/asihpi/ |
D | hpi6000.c | 190 static void hpi_write_word(struct dsp_obj *pdo, u32 address, u32 data); 192 static u32 hpi_read_word(struct dsp_obj *pdo, u32 address); 194 static void hpi_write_block(struct dsp_obj *pdo, u32 address, u32 *pdata, 197 static void hpi_read_block(struct dsp_obj *pdo, u32 address, u32 *pdata, 955 u32 address; in hpi6000_adapter_boot_load_dsp() local 965 error = hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp() 976 address, pcode, length); in hpi6000_adapter_boot_load_dsp() 990 u32 address; in hpi6000_adapter_boot_load_dsp() local 998 hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp() 1003 data = hpi_read_word(pdo, address); in hpi6000_adapter_boot_load_dsp() [all …]
|
D | hpi6205.c | 208 u32 address); 211 int dsp_index, u32 address, u32 data); 217 u32 address, u32 length); 1377 u32 address; in adapter_boot_load_dsp() local 1387 err = hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp() 1398 boot_loader_write_mem32(pao, dsp, address, in adapter_boot_load_dsp() 1404 address); in adapter_boot_load_dsp() 1406 address += 4; in adapter_boot_load_dsp() 1419 u32 address = 0; in adapter_boot_load_dsp() local 1428 hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp() [all …]
|
D | hpi6000.h | 39 u32 address; member
|
/sound/pci/cs46xx/ |
D | dsp_spos.c | 62 u32 hival,loval,address; in shadow_and_reallocate_code() local 85 address = (hival & 0x00FFF) << 5; in shadow_and_reallocate_code() 86 address |= loval >> 15; in shadow_and_reallocate_code() 90 hival, loval, address); in shadow_and_reallocate_code() 92 if ( !(address & 0x8000) ) { in shadow_and_reallocate_code() 93 address += (ins->code.offset / 2) - overlay_begin_address; in shadow_and_reallocate_code() 102 hival |= ( (address >> 5) & 0x00FFF); in shadow_and_reallocate_code() 103 loval |= ( (address << 15) & 0xF8000); in shadow_and_reallocate_code() 105 address = (hival & 0x00FFF) << 5; in shadow_and_reallocate_code() 106 address |= loval >> 15; in shadow_and_reallocate_code() [all …]
|
D | dsp_spos.h | 212 (scb->address + SCBsubListPtr) << 2, in cs46xx_dsp_spos_update_scb() 213 (scb->sub_list_ptr->address << 0x10) | in cs46xx_dsp_spos_update_scb() 214 (scb->next_scb_ptr->address)); in cs46xx_dsp_spos_update_scb() 224 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl) << 2, val); in cs46xx_dsp_scb_set_volume() 225 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl + 1) << 2, val); in cs46xx_dsp_scb_set_volume()
|
D | cs46xx_dsp_spos.h | 69 u32 address; member 108 u32 address; member 131 u32 address; member
|
D | dsp_spos_scb_lib.c | 84 snd_iprintf(buffer,"%04x %s:\n",scb->address,scb->scb_name); in cs46xx_dsp_proc_scb_info_read() 91 snd_iprintf(buffer,"%08x ",readl(dst + (scb->address + j) * sizeof(u32))); in cs46xx_dsp_proc_scb_info_read() 99 scb->parent_scb_ptr->address); in cs46xx_dsp_proc_scb_info_read() 104 scb->sub_list_ptr->address, in cs46xx_dsp_proc_scb_info_read() 106 scb->next_scb_ptr->address, in cs46xx_dsp_proc_scb_info_read() 108 scb->task_entry->address); in cs46xx_dsp_proc_scb_info_read() 306 (ins->the_null_scb->address << 0x10) | ins->the_null_scb->address; in _dsp_create_generic_scb() 309 scb_data[SCBfuncEntryPtr] |= task_entry->address; in _dsp_create_generic_scb() 933 /* 0xD */ 0,input_scb->address, in cs46xx_dsp_create_pcm_serial_input_scb() 1075 0,snoop_scb->address [all …]
|
D | cs46xx_lib.h | 118 int cs46xx_poke_via_dsp (struct snd_cs46xx *chip, u32 address, u32 data);
|
D | cs46xx_lib.c | 440 entry->address = le32_to_cpu(fwdat[fwlen++]); in load_firmware() 921 ptr = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 2) << 2); in snd_cs46xx_playback_direct_pointer() 938 ptr = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 2) << 2); in snd_cs46xx_playback_indirect_pointer() 978 snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address + in snd_cs46xx_playback_trigger() 1002 snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address + in snd_cs46xx_playback_trigger() 1233 pfie = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 1) << 2 ); in snd_cs46xx_playback_prepare() 1269 tmp = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address) << 2); in snd_cs46xx_playback_prepare() 1273 snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address) << 2, tmp); in snd_cs46xx_playback_prepare() 1276 …snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 1) << 2, pfie | cpcm->pcm_chan… in snd_cs46xx_playback_prepare()
|
/sound/ppc/ |
D | burgundy.c | 136 snd_pmac_burgundy_write_volume(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_write_volume() argument 151 snd_pmac_burgundy_wcw(chip, address, hardvolume); in snd_pmac_burgundy_write_volume() 155 snd_pmac_burgundy_read_volume(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_read_volume() argument 160 wvolume = snd_pmac_burgundy_rcw(chip, address); in snd_pmac_burgundy_read_volume() 221 snd_pmac_burgundy_write_volume_2b(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_write_volume_2b() argument 230 snd_pmac_burgundy_wcb(chip, address + off, lvolume); in snd_pmac_burgundy_write_volume_2b() 231 snd_pmac_burgundy_wcb(chip, address + off + 0x500, rvolume); in snd_pmac_burgundy_write_volume_2b() 235 snd_pmac_burgundy_read_volume_2b(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_read_volume_2b() argument 238 volume[0] = snd_pmac_burgundy_rcb(chip, address + off); in snd_pmac_burgundy_read_volume_2b() 243 volume[1] = snd_pmac_burgundy_rcb(chip, address + off + 0x100); in snd_pmac_burgundy_read_volume_2b()
|
/sound/pci/lx6464es/ |
D | lx_core.c | 78 void __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_read() local 79 return ioread32(address); in lx_dsp_reg_read() 85 u32 __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_readbuf() local 90 data[i] = ioread32(address + i); in lx_dsp_reg_readbuf() 96 void __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_write() local 97 iowrite32(data, address); in lx_dsp_reg_write() 103 u32 __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_writebuf() local 108 iowrite32(data[i], address + i); in lx_dsp_reg_writebuf() 135 void __iomem *address = lx_plx_register(chip, port); in lx_plx_reg_read() local 136 return ioread32(address); in lx_plx_reg_read() [all …]
|
/sound/pci/echoaudio/ |
D | echoaudio_dsp.c | 229 u32 address; in install_resident_loader() local 281 address = ((u32)code[index] << 16) + code[index + 1]; in install_resident_loader() 290 if (write_dsp(chip, address)) { in install_resident_loader() 333 u32 address, data; in load_dsp() local 402 address = ((u32)code[index] << 16) + code[index + 1]; in load_dsp() 409 if (write_dsp(chip, address) < 0) { in load_dsp() 1124 dma_addr_t address, size_t length) in sglist_add_mapping() argument 1130 list[head].addr = cpu_to_le32(address); in sglist_add_mapping()
|
/sound/usb/6fire/ |
D | firmware.c | 50 u16 address; member 109 record->address = usb6fire_fw_ihex_hex(record->txt_data + in usb6fire_fw_ihex_next_record() 112 record->address |= usb6fire_fw_ihex_hex(record->txt_data + in usb6fire_fw_ihex_next_record() 247 ret = usb6fire_fw_ezusb_write(device, 0xa0, rec->address, in usb6fire_fw_ezusb_upload()
|
/sound/aoa/codecs/ |
D | onyx.c | 379 u8 address = (pv >> 8) & 0xff; in onyx_snd_single_bit_get() local 383 onyx_read_register(onyx, address, &c); in onyx_snd_single_bit_get() 400 u8 address = (pv >> 8) & 0xff; in onyx_snd_single_bit_put() local 409 onyx_read_register(onyx, address, &v); in onyx_snd_single_bit_put() 414 err = onyx_write_register(onyx, address, c); in onyx_snd_single_bit_put() 422 #define SINGLE_BIT(n, type, description, address, mask, flags) \ argument 430 .private_value = (flags << 16) | (address << 8) | mask \
|
/sound/pci/ |
D | ad1889.c | 154 ad1889_load_adc_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_adc_buffer_address() argument 156 ad1889_writel(chip, AD_DMA_ADCBA, address); in ad1889_load_adc_buffer_address() 157 ad1889_writel(chip, AD_DMA_ADCCA, address); in ad1889_load_adc_buffer_address() 175 ad1889_load_wave_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_wave_buffer_address() argument 177 ad1889_writel(chip, AD_DMA_WAVBA, address); in ad1889_load_wave_buffer_address() 178 ad1889_writel(chip, AD_DMA_WAVCA, address); in ad1889_load_wave_buffer_address()
|
D | maestro3.c | 2182 int address, i; in snd_m3_assp_client_init() local 2195 address = 0x1100 + ((data_bytes/2) * index); in snd_m3_assp_client_init() 2197 if ((address + (data_bytes/2)) >= 0x1c00) { in snd_m3_assp_client_init() 2200 data_bytes, index, address); in snd_m3_assp_client_init() 2206 s->inst.data = address; in snd_m3_assp_client_init() 2208 for (i = data_bytes / 2; i > 0; address++, i--) { in snd_m3_assp_client_init() 2210 address, 0); in snd_m3_assp_client_init()
|
/sound/oss/ |
D | Kconfig | 70 Memory-mapped I/O base address for the MultiSound Classic and 78 I/O port address for the MultiSound Classic and related cards. 133 Memory-mapped I/O base address for the primary synthesizer on 141 Memory-mapped I/O base address for the primary synthesizer on 188 Memory-mapped I/O base address for the Kurzweil daughterboard 204 CD-ROM drive 0 memory-mapped I/O base address for the MultiSound 212 CD-ROM drive 1 memory-mapped I/O base address for the MultiSound 228 Memory-mapped I/O base address for the joystick port on MultiSound 511 Base I/O port address for the CD-ROM interface of the Audio Excel
|
/sound/sparc/ |
D | cs4231.c | 71 unsigned int (*address)(struct cs4231_dma_control *dma_cont); member 1006 ptr = dma_cont->address(dma_cont); in snd_cs4231_playback_pointer() 1022 ptr = dma_cont->address(dma_cont); in snd_cs4231_capture_pointer() 1836 chip->p_dma.address = sbus_dma_addr; in snd_cs4231_sbus_create() 1841 chip->c_dma.address = sbus_dma_addr; in snd_cs4231_sbus_create() 2000 chip->p_dma.address = _ebus_dma_addr; in snd_cs4231_ebus_create() 2005 chip->c_dma.address = _ebus_dma_addr; in snd_cs4231_ebus_create()
|
/sound/pci/trident/ |
D | trident_main.c | 186 unsigned int address, data; in snd_trident_codec_write() local 195 address = DX_ACR0_AC97_W; in snd_trident_codec_write() 199 if ((inw(TRID_REG(trident, address)) & DX_AC97_BUSY_WRITE) == 0) in snd_trident_codec_write() 205 address = NX_ACR1_AC97_W; in snd_trident_codec_write() 209 if ((inw(TRID_REG(trident, address)) & NX_AC97_BUSY_WRITE) == 0) in snd_trident_codec_write() 215 address = SI_AC97_WRITE; in snd_trident_codec_write() 219 if ((inw(TRID_REG(trident, address)) & (SI_AC97_BUSY_WRITE)) == 0) in snd_trident_codec_write() 227 address = 0; /* keep GCC happy */ in snd_trident_codec_write() 235 outl(data, TRID_REG(trident, address)); in snd_trident_codec_write()
|