Home
last modified time | relevance | path

Searched refs:address (Results 1 – 23 of 23) sorted by relevance

/sound/isa/gus/
Dgus_dram.c29 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 …]
Dgus_instr.c56 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()
Dgus_dma.c44 unsigned int address; in snd_gf1_dma_program() local
52 address = addr >> 1; in snd_gf1_dma_program()
58 address = (addr & 0x000c0000) | ((addr & 0x0003ffff) >> 1); in snd_gf1_dma_program()
61 address = addr; in snd_gf1_dma_program()
80 snd_printk("address = 0x%x, count = 0x%x, dma_cmd = 0x%x\n", address << 1, count, dma_cmd); in snd_gf1_dma_program()
84 address_high = ((address >> 16) & 0x000000f0) | (address & 0x0000000f); in snd_gf1_dma_program()
85 snd_gf1_write16(gus, SNDRV_GF1_GW_DRAM_DMA_LOW, (unsigned short) (address >> 4)); in snd_gf1_dma_program()
88 snd_gf1_write16(gus, SNDRV_GF1_GW_DRAM_DMA_LOW, (unsigned short) (address >> 4)); in snd_gf1_dma_program()
Dgus_mem.c109 unsigned int address) in snd_gf1_mem_look() argument
114 if (block->ptr == address) { in snd_gf1_mem_look()
155 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
157 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
179 block->ptr = info[idx].address; in snd_gf1_mem_find()
221 int snd_gf1_mem_free(struct snd_gf1_mem * alloc, unsigned int address) in snd_gf1_mem_free() argument
227 if ((block = snd_gf1_mem_look(alloc, address)) != NULL) { in snd_gf1_mem_free()
301 …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()
305 …snd_iprintf(buffer, "0x%06x (%04ik)%s", alloc->banks_16[i].address, alloc->banks_16[i].size >> 10,… in snd_gf1_mem_info_read()
Dgus_mem_proc.c29 unsigned int address; member
110 priv->address = gus->gf1.mem_alloc.banks_8[idx].address; in snd_gf1_mem_proc_init()
128 priv->address = idx * 4096 * 1024; in snd_gf1_mem_proc_init()
Dgus_main.c260 gus->gf1.mem_alloc.banks_8[l].address = in snd_gus_detect_memory()
262 gus->gf1.mem_alloc.banks_16[l].address = l << 18; in snd_gus_detect_memory()
Dinterwave.c427 gus->gf1.mem_alloc.banks_8[i].address = in snd_interwave_detect_memory()
428 gus->gf1.mem_alloc.banks_16[i].address = i << 22; in snd_interwave_detect_memory()
/sound/pci/cs46xx/
Ddsp_spos.c62 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()
88 snd_printdd("handle_wideop[1]: %05x:%05x addr %04x\n",hival,loval,address); in shadow_and_reallocate_code()
90 if ( !(address & 0x8000) ) { in shadow_and_reallocate_code()
91 address += (ins->code.offset / 2) - overlay_begin_address; in shadow_and_reallocate_code()
99 hival |= ( (address >> 5) & 0x00FFF); in shadow_and_reallocate_code()
100 loval |= ( (address << 15) & 0xF8000); in shadow_and_reallocate_code()
102 address = (hival & 0x00FFF) << 5; in shadow_and_reallocate_code()
103 address |= loval >> 15; in shadow_and_reallocate_code()
[all …]
Ddsp_spos.h212 (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()
223 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl) << 2, val); in cs46xx_dsp_scb_set_volume()
224 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl + 1) << 2, val); in cs46xx_dsp_scb_set_volume()
Ddsp_spos_scb_lib.c84 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()
303 (ins->the_null_scb->address << 0x10) | ins->the_null_scb->address; in _dsp_create_generic_scb()
306 scb_data[SCBfuncEntryPtr] |= task_entry->address; in _dsp_create_generic_scb()
920 /* 0xD */ 0,input_scb->address, in cs46xx_dsp_create_pcm_serial_input_scb()
1062 0,snoop_scb->address
[all …]
Dcs46xx_lib.h114 int cs46xx_poke_via_dsp (struct snd_cs46xx *chip, u32 address, u32 data);
Dcs46xx_lib.c733 ptr = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 2) << 2); in snd_cs46xx_playback_direct_pointer()
750 ptr = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 2) << 2); in snd_cs46xx_playback_indirect_pointer()
790 snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address + in snd_cs46xx_playback_trigger()
814 snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address + in snd_cs46xx_playback_trigger()
1042 pfie = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 1) << 2 ); in snd_cs46xx_playback_prepare()
1078 tmp = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address) << 2); in snd_cs46xx_playback_prepare()
1082 snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address) << 2, tmp); in snd_cs46xx_playback_prepare()
1085 …snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 1) << 2, pfie | cpcm->pcm_chan… in snd_cs46xx_playback_prepare()
/sound/ppc/
Dburgundy.c137 snd_pmac_burgundy_write_volume(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_write_volume() argument
152 snd_pmac_burgundy_wcw(chip, address, hardvolume); in snd_pmac_burgundy_write_volume()
156 snd_pmac_burgundy_read_volume(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_read_volume() argument
161 wvolume = snd_pmac_burgundy_rcw(chip, address); in snd_pmac_burgundy_read_volume()
222 snd_pmac_burgundy_write_volume_2b(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_write_volume_2b() argument
231 snd_pmac_burgundy_wcb(chip, address + off, lvolume); in snd_pmac_burgundy_write_volume_2b()
232 snd_pmac_burgundy_wcb(chip, address + off + 0x500, rvolume); in snd_pmac_burgundy_write_volume_2b()
236 snd_pmac_burgundy_read_volume_2b(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_read_volume_2b() argument
239 volume[0] = snd_pmac_burgundy_rcb(chip, address + off); in snd_pmac_burgundy_read_volume_2b()
244 volume[1] = snd_pmac_burgundy_rcb(chip, address + off + 0x100); in snd_pmac_burgundy_read_volume_2b()
/sound/pci/echoaudio/
Dechoaudio_dsp.c228 u32 address; in install_resident_loader() local
279 address = ((u32)code[index] << 16) + code[index + 1]; in install_resident_loader()
288 if (write_dsp(chip, address)) { in install_resident_loader()
331 u32 address, data; in load_dsp() local
400 address = ((u32)code[index] << 16) + code[index + 1]; in load_dsp()
407 if (write_dsp(chip, address) < 0) { in load_dsp()
1102 dma_addr_t address, size_t length) in sglist_add_mapping() argument
1108 list[head].addr = cpu_to_le32(address); in sglist_add_mapping()
/sound/aoa/codecs/
Donyx.c378 u8 address = (pv >> 8) & 0xff; in onyx_snd_single_bit_get() local
382 onyx_read_register(onyx, address, &c); in onyx_snd_single_bit_get()
399 u8 address = (pv >> 8) & 0xff; in onyx_snd_single_bit_put() local
408 onyx_read_register(onyx, address, &v); in onyx_snd_single_bit_put()
413 err = onyx_write_register(onyx, address, c); in onyx_snd_single_bit_put()
421 #define SINGLE_BIT(n, type, description, address, mask, flags) \ argument
429 .private_value = (flags << 16) | (address << 8) | mask \
/sound/pci/
Dad1889.c156 ad1889_load_adc_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_adc_buffer_address() argument
158 ad1889_writel(chip, AD_DMA_ADCBA, address); in ad1889_load_adc_buffer_address()
159 ad1889_writel(chip, AD_DMA_ADCCA, address); in ad1889_load_adc_buffer_address()
177 ad1889_load_wave_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_wave_buffer_address() argument
179 ad1889_writel(chip, AD_DMA_WAVBA, address); in ad1889_load_wave_buffer_address()
180 ad1889_writel(chip, AD_DMA_WAVCA, address); in ad1889_load_wave_buffer_address()
Dmaestro3.c2212 int address, i; in snd_m3_assp_client_init() local
2225 address = 0x1100 + ((data_bytes/2) * index); in snd_m3_assp_client_init()
2227 if ((address + (data_bytes/2)) >= 0x1c00) { in snd_m3_assp_client_init()
2229 data_bytes, index, address); in snd_m3_assp_client_init()
2235 s->inst.data = address; in snd_m3_assp_client_init()
2237 for (i = data_bytes / 2; i > 0; address++, i--) { in snd_m3_assp_client_init()
2239 address, 0); in snd_m3_assp_client_init()
/sound/oss/
DKconfig85 Memory-mapped I/O base address for the MultiSound Classic and
93 I/O port address for the MultiSound Classic and related cards.
148 Memory-mapped I/O base address for the primary synthesizer on
156 Memory-mapped I/O base address for the primary synthesizer on
203 Memory-mapped I/O base address for the Kurzweil daughterboard
219 CD-ROM drive 0 memory-mapped I/O base address for the MultiSound
227 CD-ROM drive 1 memory-mapped I/O base address for the MultiSound
243 Memory-mapped I/O base address for the joystick port on MultiSound
539 Base I/O port address for the CD-ROM interface of the Audio Excel
DCHANGELOG281 the base address bust be the base address of the codec chip not the
/sound/sparc/
Dcs4231.c72 unsigned int (*address)(struct cs4231_dma_control *dma_cont); member
1000 ptr = dma_cont->address(dma_cont); in snd_cs4231_playback_pointer()
1016 ptr = dma_cont->address(dma_cont); in snd_cs4231_capture_pointer()
1828 chip->p_dma.address = sbus_dma_addr; in snd_cs4231_sbus_create()
1833 chip->c_dma.address = sbus_dma_addr; in snd_cs4231_sbus_create()
1992 chip->p_dma.address = _ebus_dma_addr; in snd_cs4231_ebus_create()
1997 chip->c_dma.address = _ebus_dma_addr; in snd_cs4231_ebus_create()
/sound/pci/trident/
Dtrident_main.c184 unsigned int address, data; in snd_trident_codec_write() local
193 address = DX_ACR0_AC97_W; in snd_trident_codec_write()
197 if ((inw(TRID_REG(trident, address)) & DX_AC97_BUSY_WRITE) == 0) in snd_trident_codec_write()
203 address = NX_ACR1_AC97_W; in snd_trident_codec_write()
207 if ((inw(TRID_REG(trident, address)) & NX_AC97_BUSY_WRITE) == 0) in snd_trident_codec_write()
213 address = SI_AC97_WRITE; in snd_trident_codec_write()
217 if ((inw(TRID_REG(trident, address)) & (SI_AC97_BUSY_WRITE)) == 0) in snd_trident_codec_write()
225 address = 0; /* keep GCC happy */ in snd_trident_codec_write()
233 outl(data, TRID_REG(trident, address)); in snd_trident_codec_write()
/sound/pci/cs46xx/imgs/
Dcwcdma.asp158 // Load child routine entry and data address
/sound/pci/rme9652/
Drme9652.c684 static void rme9652_write_spdif_codec (struct snd_rme9652 *rme9652, const int address, const int da… in rme9652_write_spdif_codec() argument
688 rme9652_spdif_write_byte (rme9652, address); in rme9652_write_spdif_codec()
694 static int rme9652_spdif_read_codec (struct snd_rme9652 *rme9652, const int address) in rme9652_spdif_read_codec() argument
700 rme9652_spdif_write_byte (rme9652, address); in rme9652_spdif_read_codec()