Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 169) sorted by relevance

1234567

/sound/pci/ca0106/
Dca0106_proc.c84 static void snd_ca0106_proc_dump_iec958( struct snd_info_buffer *buffer, u32 value) in snd_ca0106_proc_dump_iec958() argument
95 snd_iprintf(buffer, "Mode: consumer\n"); in snd_ca0106_proc_dump_iec958()
96 snd_iprintf(buffer, "Data: "); in snd_ca0106_proc_dump_iec958()
98 snd_iprintf(buffer, "audio\n"); in snd_ca0106_proc_dump_iec958()
100 snd_iprintf(buffer, "non-audio\n"); in snd_ca0106_proc_dump_iec958()
102 snd_iprintf(buffer, "Rate: "); in snd_ca0106_proc_dump_iec958()
105 snd_iprintf(buffer, "44100 Hz\n"); in snd_ca0106_proc_dump_iec958()
108 snd_iprintf(buffer, "48000 Hz\n"); in snd_ca0106_proc_dump_iec958()
111 snd_iprintf(buffer, "32000 Hz\n"); in snd_ca0106_proc_dump_iec958()
114 snd_iprintf(buffer, "unknown\n"); in snd_ca0106_proc_dump_iec958()
[all …]
/sound/pci/hda/
Dhda_proc.c47 static void print_nid_array(struct snd_info_buffer *buffer, in print_nid_array() argument
58 snd_iprintf(buffer, in print_nid_array()
63 snd_iprintf(buffer, in print_nid_array()
74 static void print_nid_pcms(struct snd_info_buffer *buffer, in print_nid_pcms() argument
84 snd_iprintf(buffer, " Device: name=\"%s\", " in print_nid_pcms()
93 static void print_amp_caps(struct snd_info_buffer *buffer, in print_amp_caps() argument
100 snd_iprintf(buffer, "N/A\n"); in print_amp_caps()
103 snd_iprintf(buffer, "ofs=0x%02x, nsteps=0x%02x, stepsize=0x%02x, " in print_amp_caps()
133 static void print_amp_vals(struct snd_info_buffer *buffer, in print_amp_vals() argument
145 snd_iprintf(buffer, " ["); in print_amp_vals()
[all …]
Dhda_eld.c417 struct snd_info_buffer *buffer) in hdmi_print_sad_info() argument
421 snd_iprintf(buffer, "sad%d_coding_type\t[0x%x] %s\n", in hdmi_print_sad_info()
423 snd_iprintf(buffer, "sad%d_channels\t\t%d\n", i, a->channels); in hdmi_print_sad_info()
426 snd_iprintf(buffer, "sad%d_rates\t\t[0x%x]%s\n", i, a->rates, buf); in hdmi_print_sad_info()
430 snd_iprintf(buffer, "sad%d_bits\t\t[0x%x]%s\n", in hdmi_print_sad_info()
435 snd_iprintf(buffer, "sad%d_max_bitrate\t%d\n", in hdmi_print_sad_info()
439 snd_iprintf(buffer, "sad%d_profile\t\t%d\n", i, a->profile); in hdmi_print_sad_info()
443 struct snd_info_buffer *buffer) in snd_hdmi_print_eld_info() argument
463 snd_iprintf(buffer, "monitor_present\t\t%d\n", eld->monitor_present); in snd_hdmi_print_eld_info()
464 snd_iprintf(buffer, "eld_valid\t\t%d\n", eld->eld_valid); in snd_hdmi_print_eld_info()
[all …]
/sound/usb/
Dproc.c33 static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbbus_read() argument
37 snd_iprintf(buffer, "%03d/%03d\n", chip->dev->bus->busnum, chip->dev->devnum); in proc_audio_usbbus_read()
40 static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbid_read() argument
44 snd_iprintf(buffer, "%04x:%04x\n", in proc_audio_usbid_read()
60 …ic void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) in proc_dump_substream_formats() argument
70 snd_iprintf(buffer, " Interface %d\n", fp->iface); in proc_dump_substream_formats()
71 snd_iprintf(buffer, " Altset %d\n", fp->altsetting); in proc_dump_substream_formats()
72 snd_iprintf(buffer, " Format:"); in proc_dump_substream_formats()
75 snd_iprintf(buffer, " %s", in proc_dump_substream_formats()
77 snd_iprintf(buffer, "\n"); in proc_dump_substream_formats()
[all …]
/sound/usb/6fire/
Dcomm.c22 u8 *buffer, void *context, void(*handler)(struct urb *urb)) in usb6fire_comm_init_urb() argument
25 urb->transfer_buffer = buffer; in usb6fire_comm_init_urb()
55 static void usb6fire_comm_init_buffer(u8 *buffer, u8 id, u8 request, in usb6fire_comm_init_buffer() argument
58 buffer[0] = 0x01; in usb6fire_comm_init_buffer()
59 buffer[2] = request; in usb6fire_comm_init_buffer()
60 buffer[3] = id; in usb6fire_comm_init_buffer()
63 buffer[1] = 0x05; /* length (starting at buffer[2]) */ in usb6fire_comm_init_buffer()
64 buffer[4] = reg; in usb6fire_comm_init_buffer()
65 buffer[5] = vl; in usb6fire_comm_init_buffer()
66 buffer[6] = vh; in usb6fire_comm_init_buffer()
[all …]
Dfirmware.c285 u8 *buffer = kmalloc(FPGA_BUFSIZE, GFP_KERNEL); in usb6fire_fw_fpga_upload() local
290 if (!buffer) in usb6fire_fw_fpga_upload()
297 kfree(buffer); in usb6fire_fw_fpga_upload()
306 kfree(buffer); in usb6fire_fw_fpga_upload()
315 buffer[i] = bitrev8((u8)*c); in usb6fire_fw_fpga_upload()
317 ret = usb6fire_fw_fpga_write(device, buffer, i); in usb6fire_fw_fpga_upload()
320 kfree(buffer); in usb6fire_fw_fpga_upload()
327 kfree(buffer); in usb6fire_fw_fpga_upload()
363 u8 buffer[12]; in usb6fire_fw_init() local
365 ret = usb6fire_fw_ezusb_read(device, 1, 0, buffer, 8); in usb6fire_fw_init()
[all …]
/sound/firewire/dice/
Ddice-proc.c11 static int dice_proc_read_mem(struct snd_dice *dice, void *buffer, in dice_proc_read_mem() argument
19 buffer, 4 * quadlets, 0); in dice_proc_read_mem()
24 be32_to_cpus(&((u32 *)buffer)[i]); in dice_proc_read_mem()
57 struct snd_info_buffer *buffer) in dice_proc_read() argument
119 snd_iprintf(buffer, "sections:\n"); in dice_proc_read()
121 snd_iprintf(buffer, " %s: offset %u, size %u\n", in dice_proc_read()
128 snd_iprintf(buffer, "global:\n"); in dice_proc_read()
129 snd_iprintf(buffer, " owner: %04x:%04x%08x\n", in dice_proc_read()
132 snd_iprintf(buffer, " notification: %08x\n", buf.global.notification); in dice_proc_read()
134 snd_iprintf(buffer, " nick name: %s\n", buf.global.nick_name); in dice_proc_read()
[all …]
Ddice-transaction.c166 __be64 *buffer; in register_notification_address() local
172 buffer = kmalloc(2 * 8, GFP_KERNEL); in register_notification_address()
173 if (!buffer) in register_notification_address()
177 buffer[0] = cpu_to_be64(OWNER_NO_OWNER); in register_notification_address()
178 buffer[1] = cpu_to_be64( in register_notification_address()
188 buffer, 2 * 8, in register_notification_address()
193 if (buffer[0] == cpu_to_be64(OWNER_NO_OWNER)) in register_notification_address()
196 if (buffer[0] == buffer[1]) in register_notification_address()
209 kfree(buffer); in register_notification_address()
220 __be64 *buffer; in unregister_notification_address() local
[all …]
/sound/pci/emu10k1/
Demuproc.c24 struct snd_info_buffer *buffer, in snd_emu10k1_proc_spdif_status() argument
37 snd_iprintf(buffer, "\n%s\n", title); in snd_emu10k1_proc_spdif_status()
40 snd_iprintf(buffer, "Professional Mode : %s\n", (status & SPCS_PROFESSIONAL) ? "yes" : "no"); in snd_emu10k1_proc_spdif_status()
41 snd_iprintf(buffer, "Not Audio Data : %s\n", (status & SPCS_NOTAUDIODATA) ? "yes" : "no"); in snd_emu10k1_proc_spdif_status()
42 snd_iprintf(buffer, "Copyright : %s\n", (status & SPCS_COPYRIGHT) ? "yes" : "no"); in snd_emu10k1_proc_spdif_status()
43 snd_iprintf(buffer, "Emphasis : %s\n", emphasis[(status & SPCS_EMPHASISMASK) >> 3]); in snd_emu10k1_proc_spdif_status()
44 snd_iprintf(buffer, "Mode : %i\n", (status & SPCS_MODEMASK) >> 6); in snd_emu10k1_proc_spdif_status()
45 snd_iprintf(buffer, "Category Code : 0x%x\n", (status & SPCS_CATEGORYCODEMASK) >> 8); in snd_emu10k1_proc_spdif_status()
46 …snd_iprintf(buffer, "Generation Status : %s\n", status & SPCS_GENERATIONSTATUS ? "original" : … in snd_emu10k1_proc_spdif_status()
47 snd_iprintf(buffer, "Source Mask : %i\n", (status & SPCS_SOURCENUMMASK) >> 16); in snd_emu10k1_proc_spdif_status()
[all …]
/sound/pci/lola/
Dlola_proc.c16 static void print_audio_widget(struct snd_info_buffer *buffer, in print_audio_widget() argument
22 snd_iprintf(buffer, "Node 0x%02x %s wcaps 0x%x\n", nid, name, val); in print_audio_widget()
24 snd_iprintf(buffer, " Formats: 0x%x\n", val); in print_audio_widget()
27 static void print_pin_widget(struct snd_info_buffer *buffer, in print_pin_widget() argument
34 snd_iprintf(buffer, "Node 0x%02x %s wcaps 0x%x\n", nid, name, val); in print_pin_widget()
38 snd_iprintf(buffer, " Amp-Caps: 0x%x\n", val); in print_pin_widget()
39 snd_iprintf(buffer, " mute=%d, step-size=%d, steps=%d, ofs=%d\n", in print_pin_widget()
45 snd_iprintf(buffer, " Max-level: 0x%x\n", val); in print_pin_widget()
48 static void print_clock_widget(struct snd_info_buffer *buffer, in print_clock_widget() argument
55 snd_iprintf(buffer, "Node 0x%02x [Clock] wcaps 0x%x\n", nid, val); in print_clock_widget()
[all …]
/sound/firewire/fireworks/
Dfireworks_proc.c28 proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_read_hwinfo() argument
41 snd_iprintf(buffer, "guid_hi: 0x%X\n", hwinfo->guid_hi); in proc_read_hwinfo()
42 snd_iprintf(buffer, "guid_lo: 0x%X\n", hwinfo->guid_lo); in proc_read_hwinfo()
43 snd_iprintf(buffer, "type: 0x%X\n", hwinfo->type); in proc_read_hwinfo()
44 snd_iprintf(buffer, "version: 0x%X\n", hwinfo->version); in proc_read_hwinfo()
45 snd_iprintf(buffer, "vendor_name: %s\n", hwinfo->vendor_name); in proc_read_hwinfo()
46 snd_iprintf(buffer, "model_name: %s\n", hwinfo->model_name); in proc_read_hwinfo()
48 snd_iprintf(buffer, "dsp_version: 0x%X\n", hwinfo->dsp_version); in proc_read_hwinfo()
49 snd_iprintf(buffer, "arm_version: 0x%X\n", hwinfo->arm_version); in proc_read_hwinfo()
50 snd_iprintf(buffer, "fpga_version: 0x%X\n", hwinfo->fpga_version); in proc_read_hwinfo()
[all …]
/sound/firewire/bebob/
Dbebob_proc.c36 struct snd_info_buffer *buffer) in proc_read_hw_info() argument
49 snd_iprintf(buffer, "Manufacturer:\t%.8s\n", in proc_read_hw_info()
51 snd_iprintf(buffer, "Protocol Ver:\t%d\n", info->protocol_ver); in proc_read_hw_info()
52 snd_iprintf(buffer, "Build Ver:\t%d\n", info->bld_ver); in proc_read_hw_info()
53 snd_iprintf(buffer, "GUID:\t\t0x%.8X%.8X\n", in proc_read_hw_info()
55 snd_iprintf(buffer, "Model ID:\t0x%02X\n", info->model_id); in proc_read_hw_info()
56 snd_iprintf(buffer, "Model Rev:\t%d\n", info->model_rev); in proc_read_hw_info()
57 snd_iprintf(buffer, "Firmware Date:\t%.8s\n", (char *)&info->fw_date); in proc_read_hw_info()
58 snd_iprintf(buffer, "Firmware Time:\t%.8s\n", (char *)&info->fw_time); in proc_read_hw_info()
59 snd_iprintf(buffer, "Firmware ID:\t0x%X\n", info->fw_id); in proc_read_hw_info()
[all …]
/sound/pci/ac97/
Dac97_proc.c22 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) in snd_ac97_proc_read_functions() argument
42 snd_iprintf(buffer, "\n Gain Inverted Buffer delay Location\n"); in snd_ac97_proc_read_functions()
46 snd_iprintf(buffer, "%-17s: %3d.%d dBV %c %2d/fs %s\n", in snd_ac97_proc_read_functions()
92 static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subi… in snd_ac97_proc_read_main() argument
102 snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name); in snd_ac97_proc_read_main()
107 snd_iprintf(buffer, "PCI Subsys Vendor: 0x%04x\n", in snd_ac97_proc_read_main()
109 snd_iprintf(buffer, "PCI Subsys Device: 0x%04x\n\n", in snd_ac97_proc_read_main()
112 snd_iprintf(buffer, "Flags: %x\n", ac97->flags); in snd_ac97_proc_read_main()
119 snd_iprintf(buffer, "Revision : 0x%02x\n", tmp & 0xff); in snd_ac97_proc_read_main()
120 snd_iprintf(buffer, "Compat. Class : 0x%02x\n", (tmp >> 8) & 0x1f); in snd_ac97_proc_read_main()
[all …]
/sound/isa/gus/
Dgus_dram.c18 char buffer[256], *pbuffer; in snd_gus_dram_poke() local
21 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; in snd_gus_dram_poke()
22 if (copy_from_user(buffer, _buffer, size1)) in snd_gus_dram_poke()
28 outsb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_poke()
32 pbuffer = buffer; in snd_gus_dram_poke()
44 int snd_gus_dram_write(struct snd_gus_card *gus, char __user *buffer, in snd_gus_dram_write() argument
47 return snd_gus_dram_poke(gus, buffer, address, size); in snd_gus_dram_write()
56 char buffer[256], *pbuffer; in snd_gus_dram_peek() local
59 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; in snd_gus_dram_peek()
64 insb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_peek()
[all …]
Dgus_mem.c15 struct snd_info_buffer *buffer);
270 struct snd_info_buffer *buffer) in snd_gf1_mem_info_read() argument
281 snd_iprintf(buffer, "8-bit banks : \n "); in snd_gf1_mem_info_read()
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()
284 snd_iprintf(buffer, "\n" 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()
290 snd_iprintf(buffer, "\n"); in snd_gf1_mem_info_read()
294 …snd_iprintf(buffer, "Block %i onboard 0x%x size %i (0x%x):\n", i, block->ptr, block->size, block->… in snd_gf1_mem_info_read()
298 snd_iprintf(buffer, " Share : %i [id0 0x%x] [id1 0x%x] [id2 0x%x] [id3 0x%x]\n", in snd_gf1_mem_info_read()
302 snd_iprintf(buffer, " Flags :%s\n", in snd_gf1_mem_info_read()
[all …]
Dgus_irq.c103 struct snd_info_buffer *buffer) in snd_gus_irq_info_read() argument
110 snd_iprintf(buffer, "midi out = %u\n", gus->gf1.interrupt_stat_midi_out); in snd_gus_irq_info_read()
111 snd_iprintf(buffer, "midi in = %u\n", gus->gf1.interrupt_stat_midi_in); in snd_gus_irq_info_read()
112 snd_iprintf(buffer, "timer1 = %u\n", gus->gf1.interrupt_stat_timer1); in snd_gus_irq_info_read()
113 snd_iprintf(buffer, "timer2 = %u\n", gus->gf1.interrupt_stat_timer2); in snd_gus_irq_info_read()
114 snd_iprintf(buffer, "dma write = %u\n", gus->gf1.interrupt_stat_dma_write); in snd_gus_irq_info_read()
115 snd_iprintf(buffer, "dma read = %u\n", gus->gf1.interrupt_stat_dma_read); in snd_gus_irq_info_read()
116 snd_iprintf(buffer, "voice lost = %u\n", gus->gf1.interrupt_stat_voice_lost); in snd_gus_irq_info_read()
119 snd_iprintf(buffer, "voice %i: wave = %u, volume = %u\n", in snd_gus_irq_info_read()
/sound/core/
Dinfo_oss.c75 struct snd_info_buffer *buffer) in snd_sndstat_proc_read() argument
77 snd_iprintf(buffer, "Sound Driver:3.8.1a-980706 (ALSA emulation code)\n"); in snd_sndstat_proc_read()
78 snd_iprintf(buffer, "Kernel: %s %s %s %s %s\n", in snd_sndstat_proc_read()
84 snd_iprintf(buffer, "Config options: 0\n"); in snd_sndstat_proc_read()
85 snd_iprintf(buffer, "\nInstalled drivers: \n"); in snd_sndstat_proc_read()
86 snd_iprintf(buffer, "Type 10: ALSA emulation\n"); in snd_sndstat_proc_read()
87 snd_iprintf(buffer, "\nCard config: \n"); in snd_sndstat_proc_read()
88 snd_card_info_read_oss(buffer); in snd_sndstat_proc_read()
89 snd_sndstat_show_strings(buffer, "Audio devices", SNDRV_OSS_INFO_DEV_AUDIO); in snd_sndstat_proc_read()
90 snd_sndstat_show_strings(buffer, "Synth devices", SNDRV_OSS_INFO_DEV_SYNTH); in snd_sndstat_proc_read()
[all …]
Dpcm.c331 struct snd_info_buffer *buffer) in snd_pcm_proc_info_read() argument
345 snd_iprintf(buffer, "error %d\n", err); in snd_pcm_proc_info_read()
349 snd_iprintf(buffer, "card: %d\n", info->card); in snd_pcm_proc_info_read()
350 snd_iprintf(buffer, "device: %d\n", info->device); in snd_pcm_proc_info_read()
351 snd_iprintf(buffer, "subdevice: %d\n", info->subdevice); in snd_pcm_proc_info_read()
352 snd_iprintf(buffer, "stream: %s\n", snd_pcm_stream_name(info->stream)); in snd_pcm_proc_info_read()
353 snd_iprintf(buffer, "id: %s\n", info->id); in snd_pcm_proc_info_read()
354 snd_iprintf(buffer, "name: %s\n", info->name); in snd_pcm_proc_info_read()
355 snd_iprintf(buffer, "subname: %s\n", info->subname); in snd_pcm_proc_info_read()
356 snd_iprintf(buffer, "class: %d\n", info->dev_class); in snd_pcm_proc_info_read()
[all …]
/sound/soc/au1x/
Ddma.c36 struct pcm_period *buffer; member
52 pointer = stream->buffer; in au1000_release_dma_link()
59 } while (pointer != stream->buffer); in au1000_release_dma_link()
60 stream->buffer = NULL; in au1000_release_dma_link()
84 stream->buffer = kmalloc(sizeof(struct pcm_period), GFP_KERNEL); in au1000_setup_dma_link()
85 if (!stream->buffer) in au1000_setup_dma_link()
87 pointer = stream->buffer; in au1000_setup_dma_link()
101 pointer->next = stream->buffer; in au1000_setup_dma_link()
107 if (stream->buffer) in au1000_dma_stop()
113 if (!stream->buffer) in au1000_dma_start()
[all …]
/sound/firewire/digi00x/
Damdtp-dot.c101 static void dot_encode_step(struct dot_state *state, __be32 *const buffer) in dot_encode_step() argument
103 u8 * const data = (u8 *) buffer; in dot_encode_step()
146 __be32 *buffer, unsigned int frames, in write_pcm_s32() argument
164 buffer++; in write_pcm_s32()
167 buffer[c] = cpu_to_be32((*src >> 8) | 0x40000000); in write_pcm_s32()
168 dot_encode_step(&p->state, &buffer[c]); in write_pcm_s32()
171 buffer += s->data_block_quadlets; in write_pcm_s32()
178 __be32 *buffer, unsigned int frames, in read_pcm_s32() argument
196 buffer++; in read_pcm_s32()
199 *dst = be32_to_cpu(buffer[c]) << 8; in read_pcm_s32()
[all …]
/sound/firewire/motu/
Damdtp-motu.c121 __be32 *buffer, unsigned int data_blocks, in read_pcm_s32() argument
141 byte = (u8 *)buffer + p->pcm_byte_offset; in read_pcm_s32()
150 buffer += s->data_block_quadlets; in read_pcm_s32()
157 __be32 *buffer, unsigned int data_blocks, in write_pcm_s32() argument
177 byte = (u8 *)buffer + p->pcm_byte_offset; in write_pcm_s32()
187 buffer += s->data_block_quadlets; in write_pcm_s32()
193 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence() argument
203 byte = (u8 *)buffer + p->pcm_byte_offset; in write_pcm_silence()
212 buffer += s->data_block_quadlets; in write_pcm_silence()
238 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages() argument
[all …]
Dmotu-proc.c25 struct snd_info_buffer *buffer) in proc_read_clock() argument
38 snd_iprintf(buffer, "Rate:\t%d\n", rate); in proc_read_clock()
39 snd_iprintf(buffer, "Source:\t%s\n", clock_names[source]); in proc_read_clock()
43 struct snd_info_buffer *buffer) in proc_read_format() argument
54 snd_iprintf(buffer, "tx:\tmsg\tfixed\tdiffered\n"); in proc_read_format()
59 snd_iprintf(buffer, in proc_read_format()
67 snd_iprintf(buffer, "rx:\tmsg\tfixed\tdiffered\n"); in proc_read_format()
72 snd_iprintf(buffer, in proc_read_format()
Damdtp-motu-trace.h16 static void copy_sph(u32 *frame, __be32 *buffer, unsigned int data_blocks,
18 static void copy_message(u64 *frames, __be32 *buffer, unsigned int data_blocks,
22 TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer),
23 TP_ARGS(s, data_blocks, buffer),
39 copy_sph(__get_dynamic_array(tstamps), buffer, data_blocks, s->data_block_quadlets);
51 TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer),
52 TP_ARGS(s, data_blocks, buffer),
68 copy_message(__get_dynamic_array(messages), buffer, data_blocks, s->data_block_quadlets);
/sound/firewire/tascam/
Damdtp-tascam.c36 __be32 *buffer, unsigned int frames, in write_pcm_s32() argument
56 buffer[c] = cpu_to_be32(*src); in write_pcm_s32()
59 buffer += s->data_block_quadlets; in write_pcm_s32()
66 __be32 *buffer, unsigned int frames, in read_pcm_s32() argument
85 buffer += 1; in read_pcm_s32()
89 *dst = be32_to_cpu(buffer[c]); in read_pcm_s32()
92 buffer += s->data_block_quadlets; in read_pcm_s32()
98 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence() argument
108 buffer[c] = 0x00000000; in write_pcm_silence()
109 buffer += s->data_block_quadlets; in write_pcm_silence()
[all …]
/sound/pci/cs46xx/
Ddsp_spos.c494 struct snd_info_buffer *buffer) in cs46xx_dsp_proc_symbol_table_read() argument
500 snd_iprintf(buffer, "SYMBOLS:\n"); in cs46xx_dsp_proc_symbol_table_read()
512 snd_iprintf(buffer, "%04X <%02X> %s [%s]\n", in cs46xx_dsp_proc_symbol_table_read()
522 struct snd_info_buffer *buffer) in cs46xx_dsp_proc_modules_read() argument
529 snd_iprintf(buffer, "MODULES:\n"); in cs46xx_dsp_proc_modules_read()
531 snd_iprintf(buffer, "\n%s:\n", ins->modules[i].module_name); in cs46xx_dsp_proc_modules_read()
532 snd_iprintf(buffer, " %d symbols\n", ins->modules[i].symbol_table.nsymbols); in cs46xx_dsp_proc_modules_read()
533 snd_iprintf(buffer, " %d fixups\n", ins->modules[i].nfixups); in cs46xx_dsp_proc_modules_read()
537 snd_iprintf(buffer, " segment %02x offset %08x size %08x\n", in cs46xx_dsp_proc_modules_read()
545 struct snd_info_buffer *buffer) in cs46xx_dsp_proc_task_tree_read() argument
[all …]

1234567