Home
last modified time | relevance | path

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

12

/sound/isa/gus/
Dgus_dram.c14 unsigned int address, unsigned int size) in snd_gus_dram_poke() argument
27 snd_gf1_dram_addr(gus, address); in snd_gus_dram_poke()
30 address += size1; in snd_gus_dram_poke()
35 snd_gf1_poke(gus, address++, *pbuffer++); in snd_gus_dram_poke()
45 unsigned int address, unsigned int size) in snd_gus_dram_write() argument
47 return snd_gus_dram_poke(gus, buffer, address, size); in snd_gus_dram_write()
51 unsigned int address, unsigned int size, in snd_gus_dram_peek() argument
63 snd_gf1_dram_addr(gus, address); in snd_gus_dram_peek()
67 address += size1; in snd_gus_dram_peek()
72 *pbuffer++ = snd_gf1_peek(gus, address++); in snd_gus_dram_peek()
[all …]
Dgus_dma.c29 unsigned int address; in snd_gf1_dma_program() local
38 address = addr >> 1; in snd_gf1_dma_program()
44 address = (addr & 0x000c0000) | ((addr & 0x0003ffff) >> 1); in snd_gf1_dma_program()
47 address = addr; in snd_gf1_dma_program()
67 address << 1, count, dma_cmd); in snd_gf1_dma_program()
71 address_high = ((address >> 16) & 0x000000f0) | (address & 0x0000000f); in snd_gf1_dma_program()
72 snd_gf1_write16(gus, SNDRV_GF1_GW_DRAM_DMA_LOW, (unsigned short) (address >> 4)); in snd_gf1_dma_program()
75 snd_gf1_write16(gus, SNDRV_GF1_GW_DRAM_DMA_LOW, (unsigned short) (address >> 4)); in snd_gf1_dma_program()
Dgus_mem.c94 unsigned int address) in snd_gf1_mem_look() argument
99 if (block->ptr == address) { in snd_gf1_mem_look()
141 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
143 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
165 block->ptr = info[idx].address; in snd_gf1_mem_find()
207 int snd_gf1_mem_free(struct snd_gf1_mem * alloc, unsigned int address) in snd_gf1_mem_free() argument
213 if ((block = snd_gf1_mem_look(alloc, address)) != NULL) { in snd_gf1_mem_free()
283 …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()
287 …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.c14 unsigned int address; member
63 priv->address = gus->gf1.mem_alloc.banks_8[idx].address; in snd_gf1_mem_proc_init()
81 priv->address = idx * 4096 * 1024; in snd_gf1_mem_proc_init()
Dgus_main.c255 gus->gf1.mem_alloc.banks_8[l].address = in snd_gus_detect_memory()
257 gus->gf1.mem_alloc.banks_16[l].address = l << 18; in snd_gus_detect_memory()
/sound/pci/asihpi/
Dhpi6000.c179 static void hpi_write_word(struct dsp_obj *pdo, u32 address, u32 data);
181 static u32 hpi_read_word(struct dsp_obj *pdo, u32 address);
183 static void hpi_write_block(struct dsp_obj *pdo, u32 address, u32 *pdata,
186 static void hpi_read_block(struct dsp_obj *pdo, u32 address, u32 *pdata,
944 u32 address; in hpi6000_adapter_boot_load_dsp() local
954 error = hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp()
965 address, pcode, length); in hpi6000_adapter_boot_load_dsp()
979 u32 address; in hpi6000_adapter_boot_load_dsp() local
987 hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp()
992 data = hpi_read_word(pdo, address); in hpi6000_adapter_boot_load_dsp()
[all …]
Dhpi6205.c200 u32 address);
203 int dsp_index, u32 address, u32 data);
209 u32 address, u32 length);
1388 u32 address; in adapter_boot_load_dsp() local
1398 err = hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp()
1409 boot_loader_write_mem32(pao, dsp, address, in adapter_boot_load_dsp()
1415 address); in adapter_boot_load_dsp()
1417 address += 4; in adapter_boot_load_dsp()
1430 u32 address = 0; in adapter_boot_load_dsp() local
1439 hpi_dsp_code_read_word(&dsp_code, &address); in adapter_boot_load_dsp()
[all …]
Dhpi6000.h28 u32 address; member
/sound/pci/cs46xx/
Ddsp_spos.c49 u32 hival,loval,address; in shadow_and_reallocate_code() local
72 address = (hival & 0x00FFF) << 5; in shadow_and_reallocate_code()
73 address |= loval >> 15; in shadow_and_reallocate_code()
77 hival, loval, address); in shadow_and_reallocate_code()
79 if ( !(address & 0x8000) ) { in shadow_and_reallocate_code()
80 address += (ins->code.offset / 2) - overlay_begin_address; in shadow_and_reallocate_code()
89 hival |= ( (address >> 5) & 0x00FFF); in shadow_and_reallocate_code()
90 loval |= ( (address << 15) & 0xF8000); in shadow_and_reallocate_code()
92 address = (hival & 0x00FFF) << 5; in shadow_and_reallocate_code()
93 address |= loval >> 15; in shadow_and_reallocate_code()
[all …]
Ddsp_spos.h197 (scb->address + SCBsubListPtr) << 2, in cs46xx_dsp_spos_update_scb()
198 (scb->sub_list_ptr->address << 0x10) | in cs46xx_dsp_spos_update_scb()
199 (scb->next_scb_ptr->address)); in cs46xx_dsp_spos_update_scb()
209 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl) << 2, val); in cs46xx_dsp_scb_set_volume()
210 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl + 1) << 2, val); in cs46xx_dsp_scb_set_volume()
Dcs46xx_dsp_spos.h54 u32 address; member
93 u32 address; member
116 u32 address; member
Ddsp_spos_scb_lib.c67 snd_iprintf(buffer,"%04x %s:\n",scb->address,scb->scb_name); in cs46xx_dsp_proc_scb_info_read()
74 snd_iprintf(buffer,"%08x ",readl(dst + (scb->address + j) * sizeof(u32))); in cs46xx_dsp_proc_scb_info_read()
82 scb->parent_scb_ptr->address); in cs46xx_dsp_proc_scb_info_read()
87 scb->sub_list_ptr->address, in cs46xx_dsp_proc_scb_info_read()
89 scb->next_scb_ptr->address, in cs46xx_dsp_proc_scb_info_read()
91 scb->task_entry->address); in cs46xx_dsp_proc_scb_info_read()
280 (ins->the_null_scb->address << 0x10) | ins->the_null_scb->address; in _dsp_create_generic_scb()
283 scb_data[SCBfuncEntryPtr] |= task_entry->address; in _dsp_create_generic_scb()
907 /* 0xD */ 0,input_scb->address, in cs46xx_dsp_create_pcm_serial_input_scb()
1049 0,snoop_scb->address
[all …]
Dcs46xx_lib.h103 int cs46xx_poke_via_dsp (struct snd_cs46xx *chip, u32 address, u32 data);
Dcs46xx_lib.c425 entry->address = le32_to_cpu(fwdat[fwlen++]); in load_firmware()
906 ptr = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 2) << 2); in snd_cs46xx_playback_direct_pointer()
923 ptr = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 2) << 2); in snd_cs46xx_playback_indirect_pointer()
963 snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address + in snd_cs46xx_playback_trigger()
987 snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address + in snd_cs46xx_playback_trigger()
1218 pfie = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 1) << 2 ); in snd_cs46xx_playback_prepare()
1254 tmp = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address) << 2); in snd_cs46xx_playback_prepare()
1258 snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address) << 2, tmp); in snd_cs46xx_playback_prepare()
1261 …snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 1) << 2, pfie | cpcm->pcm_chan… in snd_cs46xx_playback_prepare()
/sound/soc/sof/intel/
Dhda-codec.c83 static int hda_codec_probe(struct snd_sof_dev *sdev, int address) in hda_codec_probe() argument
90 u32 hda_cmd = (address << 28) | (AC_NODE_ROOT << 20) | in hda_codec_probe()
97 snd_hdac_bus_get_response(&hbus->core, address, &resp); in hda_codec_probe()
102 address, resp); in hda_codec_probe()
112 ret = snd_hdac_ext_bus_device_init(&hbus->core, address, hdev); in hda_codec_probe()
128 ret = snd_hdac_ext_bus_device_init(&hbus->core, address, hdev); in hda_codec_probe()
/sound/ppc/
Dburgundy.c123 snd_pmac_burgundy_write_volume(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_write_volume() argument
138 snd_pmac_burgundy_wcw(chip, address, hardvolume); in snd_pmac_burgundy_write_volume()
142 snd_pmac_burgundy_read_volume(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_read_volume() argument
147 wvolume = snd_pmac_burgundy_rcw(chip, address); in snd_pmac_burgundy_read_volume()
208 snd_pmac_burgundy_write_volume_2b(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_write_volume_2b() argument
217 snd_pmac_burgundy_wcb(chip, address + off, lvolume); in snd_pmac_burgundy_write_volume_2b()
218 snd_pmac_burgundy_wcb(chip, address + off + 0x500, rvolume); in snd_pmac_burgundy_write_volume_2b()
222 snd_pmac_burgundy_read_volume_2b(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_read_volume_2b() argument
225 volume[0] = snd_pmac_burgundy_rcb(chip, address + off); in snd_pmac_burgundy_read_volume_2b()
230 volume[1] = snd_pmac_burgundy_rcb(chip, address + off + 0x100); in snd_pmac_burgundy_read_volume_2b()
/sound/pci/lx6464es/
Dlx_core.c63 void __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_read() local
64 return ioread32(address); in lx_dsp_reg_read()
70 u32 __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_readbuf() local
75 data[i] = ioread32(address + i); in lx_dsp_reg_readbuf()
81 void __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_write() local
82 iowrite32(data, address); in lx_dsp_reg_write()
88 u32 __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_writebuf() local
93 iowrite32(data[i], address + i); in lx_dsp_reg_writebuf()
120 void __iomem *address = lx_plx_register(chip, port); in lx_plx_reg_read() local
121 return ioread32(address); in lx_plx_reg_read()
[all …]
/sound/usb/6fire/
Dfirmware.c46 u16 address; member
105 record->address = usb6fire_fw_ihex_hex(record->txt_data + in usb6fire_fw_ihex_next_record()
108 record->address |= usb6fire_fw_ihex_hex(record->txt_data + in usb6fire_fw_ihex_next_record()
243 ret = usb6fire_fw_ezusb_write(device, 0xa0, rec->address, in usb6fire_fw_ezusb_upload()
/sound/usb/line6/
Ddriver.h183 extern int line6_read_data(struct usb_line6 *line6, unsigned address,
194 extern int line6_write_data(struct usb_line6 *line6, unsigned address,
Ddriver.c334 int line6_read_data(struct usb_line6 *line6, unsigned address, void *data, in line6_read_data() argument
342 if (address > 0xffff || datalen > 0xff) in line6_read_data()
352 (datalen << 8) | 0x21, address, in line6_read_data()
410 int line6_write_data(struct usb_line6 *line6, unsigned address, void *data, in line6_write_data() argument
418 if (address > 0xffff || datalen > 0xffff) in line6_write_data()
427 0x0022, address, data, datalen, in line6_write_data()
/sound/pci/echoaudio/
Dechoaudio_dsp.c229 u32 address; in install_resident_loader() local
282 address = ((u32)code[index] << 16) + code[index + 1]; in install_resident_loader()
292 if (write_dsp(chip, address)) { in install_resident_loader()
337 u32 address, data; in load_dsp() local
408 address = ((u32)code[index] << 16) + code[index + 1]; in load_dsp()
416 if (write_dsp(chip, address) < 0) { in load_dsp()
1130 dma_addr_t address, size_t length) in sglist_add_mapping() argument
1136 list[head].addr = cpu_to_le32(address); in sglist_add_mapping()
/sound/aoa/codecs/
Donyx.c372 u8 address = (pv >> 8) & 0xff; in onyx_snd_single_bit_get() local
376 onyx_read_register(onyx, address, &c); in onyx_snd_single_bit_get()
393 u8 address = (pv >> 8) & 0xff; in onyx_snd_single_bit_put() local
402 onyx_read_register(onyx, address, &v); in onyx_snd_single_bit_put()
407 err = onyx_write_register(onyx, address, c); in onyx_snd_single_bit_put()
415 #define SINGLE_BIT(n, type, description, address, mask, flags) \ argument
423 .private_value = (flags << 16) | (address << 8) | mask \
/sound/pci/
Dad1889.c141 ad1889_load_adc_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_adc_buffer_address() argument
143 ad1889_writel(chip, AD_DMA_ADCBA, address); in ad1889_load_adc_buffer_address()
144 ad1889_writel(chip, AD_DMA_ADCCA, address); in ad1889_load_adc_buffer_address()
162 ad1889_load_wave_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_wave_buffer_address() argument
164 ad1889_writel(chip, AD_DMA_WAVBA, address); in ad1889_load_wave_buffer_address()
165 ad1889_writel(chip, AD_DMA_WAVCA, address); in ad1889_load_wave_buffer_address()
Dmaestro3.c2184 int address, i; in snd_m3_assp_client_init() local
2197 address = 0x1100 + ((data_bytes/2) * index); in snd_m3_assp_client_init()
2199 if ((address + (data_bytes/2)) >= 0x1c00) { in snd_m3_assp_client_init()
2202 data_bytes, index, address); in snd_m3_assp_client_init()
2208 s->inst.data = address; in snd_m3_assp_client_init()
2210 for (i = data_bytes / 2; i > 0; address++, i--) { in snd_m3_assp_client_init()
2212 address, 0); in snd_m3_assp_client_init()
/sound/sparc/
Dcs4231.c72 unsigned int (*address)(struct cs4231_dma_control *dma_cont); member
1007 ptr = dma_cont->address(dma_cont); in snd_cs4231_playback_pointer()
1023 ptr = dma_cont->address(dma_cont); in snd_cs4231_capture_pointer()
1825 chip->p_dma.address = sbus_dma_addr; in snd_cs4231_sbus_create()
1830 chip->c_dma.address = sbus_dma_addr; in snd_cs4231_sbus_create()
1989 chip->p_dma.address = _ebus_dma_addr; in snd_cs4231_ebus_create()
1994 chip->c_dma.address = _ebus_dma_addr; in snd_cs4231_ebus_create()

12