/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_irq.c | 53 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono16() argument 56 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_mono16() 61 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono32() argument 69 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_mono32() 73 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo16() argument 76 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16() 77 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16() 81 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo32() argument 89 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_stereo32() 90 *dst++ = (((u32)val3 << 16) | (val2 & 0xff00)) ^ xor; in pdacf_transfer_stereo32() [all …]
|
/sound/core/oss/ |
D | route.c | 30 int dst = 0; in zero_areas() local 31 for (; dst < ndsts; ++dst) { in zero_areas() 52 int nsrcs, ndsts, dst; in route_transfer() local 68 for (dst = 0; dst < ndsts; ++dst) { in route_transfer() 75 for (dst = 0; dst < ndsts && dst < nsrcs; ++dst) { in route_transfer() 80 if (dst < ndsts) in route_transfer() 81 zero_areas(dvp, ndsts - dst, frames, format); in route_transfer()
|
D | mulaw.c | 157 unsigned char *dst, u16 sample) in cvt_s16_to_native() argument 163 memset(dst, 0, data->native_bytes); in cvt_s16_to_native() 164 memcpy(dst + data->native_ofs, (char *)&sample + data->copy_ofs, in cvt_s16_to_native() 178 char *dst; in mulaw_decode() local 189 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_decode() 195 cvt_s16_to_native(data, dst, sample); in mulaw_decode() 197 dst += dst_step; in mulaw_decode() 224 char *dst; in mulaw_encode() local 235 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_encode() 241 *dst = linear2ulaw(sample); in mulaw_encode() [all …]
|
D | pcm_plugin.c | 653 unsigned char *dst; in snd_pcm_area_silence() local 659 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence() 664 return snd_pcm_format_set_silence(format, dst, samples); in snd_pcm_area_silence() 675 *dst &= 0xf0; in snd_pcm_area_silence() 677 *dst &= 0x0f; in snd_pcm_area_silence() 678 dst += dst_step; in snd_pcm_area_silence() 681 dst++; in snd_pcm_area_silence() 688 memcpy(dst, silence, width); in snd_pcm_area_silence() 689 dst += dst_step; in snd_pcm_area_silence() 700 char *src, *dst; in snd_pcm_area_copy() local [all …]
|
D | linear.c | 43 unsigned char *dst, unsigned char *src) in do_convert() argument 52 memcpy(dst, p + data->dst_ofs, data->dst_bytes); in do_convert() 65 char *dst; in convert() local 76 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in convert() 81 do_convert(data, dst, src); in convert() 83 dst += dst_step; in convert()
|
D | rate.c | 72 signed short *src, *dst; in resample_expand() local 92 dst = (signed short *)dst_channels[channel].area.addr + in resample_expand() 112 *dst = val; in resample_expand() 113 dst += dst_step; in resample_expand() 131 signed short *src, *dst; in resample_shrink() local 151 dst = (signed short *)dst_channels[channel].area.addr + in resample_shrink() 170 *dst = val; in resample_shrink() 171 dst += dst_step; in resample_shrink()
|
/sound/soc/blackfin/ |
D | bf5xx-ac97.c | 46 void bf5xx_pcm_to_ac97(struct ac97_frame *dst, const __u16 *src, in bf5xx_pcm_to_ac97() argument 50 dst->ac97_tag = TAG_VALID; in bf5xx_pcm_to_ac97() 52 dst->ac97_pcm_r = *src++; in bf5xx_pcm_to_ac97() 53 dst->ac97_tag |= TAG_PCM_RIGHT; in bf5xx_pcm_to_ac97() 56 dst->ac97_pcm_l = *src++; in bf5xx_pcm_to_ac97() 57 dst->ac97_tag |= TAG_PCM_LEFT; in bf5xx_pcm_to_ac97() 62 dst->ac97_sl = *src++; in bf5xx_pcm_to_ac97() 63 dst->ac97_tag |= TAG_PCM_SL; in bf5xx_pcm_to_ac97() 66 dst->ac97_sr = *src++; in bf5xx_pcm_to_ac97() 67 dst->ac97_tag |= TAG_PCM_SR; in bf5xx_pcm_to_ac97() [all …]
|
D | bf5xx-tdm-pcm.c | 194 unsigned int *dst; in bf5xx_pcm_copy() local 199 dst = (unsigned int *)substream->runtime->dma_area; in bf5xx_pcm_copy() 201 dst += pos * 8; in bf5xx_pcm_copy() 204 *(dst + tdm_port->tx_map[i]) = *src++; in bf5xx_pcm_copy() 205 dst += 8; in bf5xx_pcm_copy() 209 dst = buf; in bf5xx_pcm_copy() 214 *dst++ = *(src + tdm_port->rx_map[i]); in bf5xx_pcm_copy()
|
D | bf5xx-ac97.h | 53 void bf5xx_pcm_to_ac97(struct ac97_frame *dst, const __u16 *src, \ 56 void bf5xx_ac97_to_pcm(const struct ac97_frame *src, __u16 *dst, \
|
/sound/core/ |
D | memory.c | 38 int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count) in copy_to_user_fromio() argument 41 return copy_to_user(dst, (const void __force*)src, count) ? -EFAULT : 0; in copy_to_user_fromio() 49 if (copy_to_user(dst, buf, c)) in copy_to_user_fromio() 52 dst += c; in copy_to_user_fromio() 71 int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count) in copy_from_user_toio() argument 74 return copy_from_user((void __force *)dst, src, count) ? -EFAULT : 0; in copy_from_user_toio() 83 memcpy_toio(dst, buf, c); in copy_from_user_toio() 85 dst += c; in copy_from_user_toio()
|
D | hwdep_compat.c | 36 struct snd_hwdep_dsp_image __user *dst; in snd_hwdep_dsp_load_compat() local 40 dst = compat_alloc_user_space(sizeof(*dst)); in snd_hwdep_dsp_load_compat() 43 if (copy_in_user(dst, src, 4 + 64)) in snd_hwdep_dsp_load_compat() 46 put_user(compat_ptr(ptr), &dst->image)) in snd_hwdep_dsp_load_compat() 49 put_user(val, &dst->length)) in snd_hwdep_dsp_load_compat() 52 put_user(val, &dst->driver_data)) in snd_hwdep_dsp_load_compat() 55 return snd_hwdep_dsp_load(hw, dst); in snd_hwdep_dsp_load_compat()
|
D | pcm_misc.c | 395 unsigned char *dst, *pat; in snd_pcm_format_set_silence() local 413 dst = data; in snd_pcm_format_set_silence() 416 memcpy(dst, pat, width); in snd_pcm_format_set_silence() 417 dst += width; in snd_pcm_format_set_silence() 424 memcpy(dst, pat, 2); in snd_pcm_format_set_silence() 425 dst += 2; in snd_pcm_format_set_silence() 430 memcpy(dst, pat, 3); in snd_pcm_format_set_silence() 431 dst += 3; in snd_pcm_format_set_silence() 436 memcpy(dst, pat, 4); in snd_pcm_format_set_silence() 437 dst += 4; in snd_pcm_format_set_silence() [all …]
|
D | control.c | 714 struct snd_ctl_elem_id *dst, *id; in snd_ctl_elem_list() local 726 dst = vmalloc(space * sizeof(struct snd_ctl_elem_id)); in snd_ctl_elem_list() 727 if (dst == NULL) in snd_ctl_elem_list() 742 id = dst; in snd_ctl_elem_list() 756 copy_to_user(list.pids, dst, in snd_ctl_elem_list() 758 vfree(dst); in snd_ctl_elem_list() 761 vfree(dst); in snd_ctl_elem_list()
|
/sound/soc/nuc900/ |
D | nuc900-pcm.c | 231 dma_addr_t *src, dma_addr_t *dst) in nuc900_dma_getposition() argument 239 if (dst != NULL) in nuc900_dma_getposition() 240 *dst = AUDIO_READ(nuc900_audio->mmio + ACTL_RDSTC); in nuc900_dma_getposition() 248 dma_addr_t src, dst; in nuc900_dma_pointer() local 251 nuc900_dma_getposition(substream, &src, &dst); in nuc900_dma_pointer() 254 res = dst - runtime->dma_addr; in nuc900_dma_pointer()
|
/sound/pci/emu10k1/ |
D | emufx.c | 1423 #define _A_SWITCH(icode, ptr, dst, src, sw) \ in _snd_emu10k1_audigy_init_efx() argument 1424 A_OP((icode), ptr, iMACINT0, dst, A_C_00000000, src, sw); in _snd_emu10k1_audigy_init_efx() 1425 #define A_SWITCH(icode, ptr, dst, src, sw) \ in _snd_emu10k1_audigy_init_efx() argument 1426 _A_SWITCH(icode, ptr, A_GPR(dst), A_GPR(src), A_GPR(sw)) in _snd_emu10k1_audigy_init_efx() 1427 #define _A_SWITCH_NEG(icode, ptr, dst, src) \ in _snd_emu10k1_audigy_init_efx() argument 1428 A_OP((icode), ptr, iANDXOR, dst, src, A_C_00000001, A_C_00000001); in _snd_emu10k1_audigy_init_efx() 1429 #define A_SWITCH_NEG(icode, ptr, dst, src) \ in _snd_emu10k1_audigy_init_efx() argument 1430 _A_SWITCH_NEG(icode, ptr, A_GPR(dst), A_GPR(src)) in _snd_emu10k1_audigy_init_efx() 1760 static void _volume(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) in _volume() argument 1762 OP(icode, ptr, iMAC0, dst, C_00000000, src, vol); in _volume() [all …]
|
D | io.c | 295 int snd_emu1010_fpga_link_dst_src_write(struct snd_emu10k1 * emu, u32 dst, u32 src) in snd_emu1010_fpga_link_dst_src_write() argument 297 snd_emu1010_fpga_write(emu, 0x00, ((dst >> 8) & 0x3f) ); in snd_emu1010_fpga_link_dst_src_write() 298 snd_emu1010_fpga_write(emu, 0x01, (dst & 0x3f) ); in snd_emu1010_fpga_link_dst_src_write()
|
/sound/pci/lola/ |
D | lola_mixer.c | 501 int dst = chip->mixer.dest_phys_out_ofs + in init_mixer_values() local 503 lola_mixer_set_mapping_gain(chip, src, dst, 336, true); in init_mixer_values() 771 unsigned int dst, mask, i; 773 dst = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + dst_ofs; 774 mask = readl(&chip->mixer.array->dest_mix_gain_enable[dst]); 780 if (mask & (1 << dst)) 781 val = readw(&chip->mixer.array->dest_mix_gain[dst][src]) + 1; 796 unsigned int dst, mask; 810 dst = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + dst_ofs; 811 return lola_mixer_set_dest_gains(chip, dst, mask, gains);
|
/sound/usb/ |
D | stream.c | 145 unsigned int __user *dst; in usb_chmap_ctl_tlv() local 153 dst = tlv + 2; in usb_chmap_ctl_tlv() 165 if (put_user(SNDRV_CTL_TLVT_CHMAP_FIXED, dst) || in usb_chmap_ctl_tlv() 166 put_user(ch_bytes, dst + 1)) in usb_chmap_ctl_tlv() 168 dst += 2; in usb_chmap_ctl_tlv() 169 for (i = 0; i < fp->chmap->channels; i++, dst++) { in usb_chmap_ctl_tlv() 170 if (put_user(fp->chmap->map[i], dst)) in usb_chmap_ctl_tlv()
|
/sound/pci/korg1212/ |
D | korg1212.c | 1281 struct KorgAudioFrame * dst = korg1212->playDataBufsPtr[0].bufferData + pos; in snd_korg1212_silence() local 1291 if ( (void *) dst < (void *) korg1212->playDataBufsPtr || in snd_korg1212_silence() 1292 (void *) dst > (void *) korg1212->playDataBufsPtr[8].bufferData ) { in snd_korg1212_silence() 1294 dst, i); in snd_korg1212_silence() 1298 memset((void*) dst + offset, 0, size); in snd_korg1212_silence() 1299 dst++; in snd_korg1212_silence() 1305 static int snd_korg1212_copy_to(struct snd_korg1212 *korg1212, void __user *dst, int pos, int count… in snd_korg1212_copy_to() argument 1319 …ERN_DEBUG "K1212_DEBUG: snd_korg1212_copy_to KERNEL EFAULT, src=%p dst=%p iter=%d\n", src, dst, i); in snd_korg1212_copy_to() 1323 rc = copy_to_user(dst + offset, src, size); in snd_korg1212_copy_to() 1325 …DEBUG_PRINTK("K1212_DEBUG: snd_korg1212_copy_to USER EFAULT src=%p dst=%p iter=%d\n", src, dst, i); in snd_korg1212_copy_to() [all …]
|
/sound/isa/wavefront/ |
D | wavefront_synth.c | 530 unsigned char *dst, in munge_int32() argument 536 *dst = src & 0x7F; /* Mask high bit of LSB */ in munge_int32() 540 dst++; in munge_int32() 542 return dst; in munge_int32() 561 munge_buf (unsigned char *src, unsigned char *dst, unsigned int dst_size) in munge_buf() argument 568 *dst++ = src[i] & 0x7f; in munge_buf() 569 *dst++ = src[i] >> 7; in munge_buf() 571 return dst; in munge_buf() 576 demunge_buf (unsigned char *src, unsigned char *dst, unsigned int src_bytes) in demunge_buf() argument 587 dst[i] = *src++; in demunge_buf() [all …]
|
/sound/pci/ac97/ |
D | ac97_patch.h | 81 const char *dst, const char *suffix); 85 const char *dst);
|
/sound/pci/cs46xx/ |
D | dsp_spos.c | 538 void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; in cs46xx_dsp_proc_task_tree_read() local 551 val = readl(dst + (ins->tasks[i].address + j) * sizeof(u32)); in cs46xx_dsp_proc_task_tree_read() 599 void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; in cs46xx_dsp_proc_parameter_dump_read() local 617 snd_iprintf(buffer,"%08X ",readl(dst + i)); in cs46xx_dsp_proc_parameter_dump_read() 626 void __iomem *dst = chip->region.idx[2].remap_addr; in cs46xx_dsp_proc_sample_dump_read() local 639 snd_iprintf(buffer,"%08X ",readl(dst + i)); in cs46xx_dsp_proc_sample_dump_read() 655 snd_iprintf(buffer,"%08X ",readl(dst + i)); in cs46xx_dsp_proc_sample_dump_read() 670 snd_iprintf(buffer,"%08X ",readl(dst + i)); in cs46xx_dsp_proc_sample_dump_read() 686 snd_iprintf(buffer,"%08X ",readl(dst + i)); in cs46xx_dsp_proc_sample_dump_read() 702 snd_iprintf(buffer,"%08X ",readl(dst + i)); in cs46xx_dsp_proc_sample_dump_read() [all …]
|
/sound/mips/ |
D | sgio2audio.c | 373 s16 *dst; in snd_sgio2audio_dma_pull_frag() local 393 dst = (s16 *)(dst_base + dst_pos); in snd_sgio2audio_dma_pull_frag() 396 dst[0] = (x >> CHANNEL_LEFT_SHIFT) & 0xffff; in snd_sgio2audio_dma_pull_frag() 397 dst[1] = (x >> CHANNEL_RIGHT_SHIFT) & 0xffff; in snd_sgio2audio_dma_pull_frag() 421 u64 *dst; in snd_sgio2audio_dma_push_frag() local 441 dst = (u64 *)(dst_base + dst_pos); in snd_sgio2audio_dma_push_frag() 446 *dst = ((l & 0x00ffffff) << CHANNEL_LEFT_SHIFT) | in snd_sgio2audio_dma_push_frag()
|
/sound/soc/s6000/ |
D | s6000-pcm.c | 66 dma_addr_t src, dst; in s6000_pcm_enqueue_dma() local 76 dst = par->sif_out; in s6000_pcm_enqueue_dma() 80 dst = dma_pos; in s6000_pcm_enqueue_dma() 95 src, dst, period_size); in s6000_pcm_enqueue_dma()
|
/sound/soc/davinci/ |
D | davinci-pcm.c | 38 name, slot, p.opt, p.src, p.a_b_cnt, p.dst); in print_buf_info() 177 dma_addr_t src, dst; in davinci_pcm_enqueue_dma() local 201 dst = prtd->params->dma_addr; in davinci_pcm_enqueue_dma() 208 dst = dma_pos; in davinci_pcm_enqueue_dma() 217 edma_set_dest(prtd->asp_link[0], dst, INCR, W8BIT); in davinci_pcm_enqueue_dma()
|