/sound/pci/hda/ |
D | hda_proc.c | 61 static void print_nid_array(struct snd_info_buffer *buffer, in print_nid_array() argument 72 snd_iprintf(buffer, in print_nid_array() 77 snd_iprintf(buffer, in print_nid_array() 88 static void print_nid_pcms(struct snd_info_buffer *buffer, in print_nid_pcms() argument 98 snd_iprintf(buffer, " Device: name=\"%s\", " in print_nid_pcms() 107 static void print_amp_caps(struct snd_info_buffer *buffer, in print_amp_caps() argument 114 snd_iprintf(buffer, "N/A\n"); in print_amp_caps() 117 snd_iprintf(buffer, "ofs=0x%02x, nsteps=0x%02x, stepsize=0x%02x, " in print_amp_caps() 147 static void print_amp_vals(struct snd_info_buffer *buffer, in print_amp_vals() argument 159 snd_iprintf(buffer, " ["); in print_amp_vals() [all …]
|
/sound/pci/ca0106/ |
D | ca0106_proc.c | 98 static void snd_ca0106_proc_dump_iec958( struct snd_info_buffer *buffer, u32 value) in snd_ca0106_proc_dump_iec958() argument 109 snd_iprintf(buffer, "Mode: consumer\n"); in snd_ca0106_proc_dump_iec958() 110 snd_iprintf(buffer, "Data: "); in snd_ca0106_proc_dump_iec958() 112 snd_iprintf(buffer, "audio\n"); in snd_ca0106_proc_dump_iec958() 114 snd_iprintf(buffer, "non-audio\n"); in snd_ca0106_proc_dump_iec958() 116 snd_iprintf(buffer, "Rate: "); in snd_ca0106_proc_dump_iec958() 119 snd_iprintf(buffer, "44100 Hz\n"); in snd_ca0106_proc_dump_iec958() 122 snd_iprintf(buffer, "48000 Hz\n"); in snd_ca0106_proc_dump_iec958() 125 snd_iprintf(buffer, "32000 Hz\n"); in snd_ca0106_proc_dump_iec958() 128 snd_iprintf(buffer, "unknown\n"); in snd_ca0106_proc_dump_iec958() [all …]
|
/sound/usb/6fire/ |
D | comm.c | 26 u8 *buffer, void *context, void(*handler)(struct urb *urb)) in usb6fire_comm_init_urb() argument 29 urb->transfer_buffer = buffer; in usb6fire_comm_init_urb() 59 static void usb6fire_comm_init_buffer(u8 *buffer, u8 id, u8 request, in usb6fire_comm_init_buffer() argument 62 buffer[0] = 0x01; in usb6fire_comm_init_buffer() 63 buffer[2] = request; in usb6fire_comm_init_buffer() 64 buffer[3] = id; in usb6fire_comm_init_buffer() 67 buffer[1] = 0x05; /* length (starting at buffer[2]) */ in usb6fire_comm_init_buffer() 68 buffer[4] = reg; in usb6fire_comm_init_buffer() 69 buffer[5] = vl; in usb6fire_comm_init_buffer() 70 buffer[6] = vh; in usb6fire_comm_init_buffer() [all …]
|
D | firmware.c | 289 u8 *buffer = kmalloc(FPGA_BUFSIZE, GFP_KERNEL); in usb6fire_fw_fpga_upload() local 294 if (!buffer) in usb6fire_fw_fpga_upload() 301 kfree(buffer); in usb6fire_fw_fpga_upload() 310 kfree(buffer); in usb6fire_fw_fpga_upload() 319 buffer[i] = bitrev8((u8)*c); in usb6fire_fw_fpga_upload() 321 ret = usb6fire_fw_fpga_write(device, buffer, i); in usb6fire_fw_fpga_upload() 324 kfree(buffer); in usb6fire_fw_fpga_upload() 331 kfree(buffer); in usb6fire_fw_fpga_upload() 367 u8 buffer[12]; in usb6fire_fw_init() local 369 ret = usb6fire_fw_ezusb_read(device, 1, 0, buffer, 8); in usb6fire_fw_init() [all …]
|
/sound/usb/ |
D | proc.c | 46 static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbbus_read() argument 50 snd_iprintf(buffer, "%03d/%03d\n", chip->dev->bus->busnum, chip->dev->devnum); in proc_audio_usbbus_read() 53 static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbid_read() argument 57 snd_iprintf(buffer, "%04x:%04x\n", in proc_audio_usbid_read() 74 …ic void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) in proc_dump_substream_formats() argument 84 snd_iprintf(buffer, " Interface %d\n", fp->iface); in proc_dump_substream_formats() 85 snd_iprintf(buffer, " Altset %d\n", fp->altsetting); in proc_dump_substream_formats() 86 snd_iprintf(buffer, " Format:"); in proc_dump_substream_formats() 89 snd_iprintf(buffer, " %s", in proc_dump_substream_formats() 91 snd_iprintf(buffer, "\n"); in proc_dump_substream_formats() [all …]
|
/sound/firewire/fireface/ |
D | ff-protocol-ff400.c | 175 struct snd_info_buffer *buffer) in ff400_dump_sync_status() argument 188 snd_iprintf(buffer, "External source detection:\n"); in ff400_dump_sync_status() 190 snd_iprintf(buffer, "Word Clock:"); in ff400_dump_sync_status() 193 snd_iprintf(buffer, "sync\n"); in ff400_dump_sync_status() 195 snd_iprintf(buffer, "lock\n"); in ff400_dump_sync_status() 197 snd_iprintf(buffer, "none\n"); in ff400_dump_sync_status() 200 snd_iprintf(buffer, "S/PDIF:"); in ff400_dump_sync_status() 203 snd_iprintf(buffer, "sync\n"); in ff400_dump_sync_status() 205 snd_iprintf(buffer, "lock\n"); in ff400_dump_sync_status() 207 snd_iprintf(buffer, "none\n"); in ff400_dump_sync_status() [all …]
|
D | amdtp-ff.c | 33 __le32 *buffer, unsigned int frames) in write_pcm_s32() argument 47 buffer[c] = cpu_to_le32(*src); in write_pcm_s32() 50 buffer += s->data_block_quadlets; in write_pcm_s32() 58 __le32 *buffer, unsigned int frames) in read_pcm_s32() argument 72 *dst = le32_to_cpu(buffer[c]) & 0xffffff00; in read_pcm_s32() 75 buffer += s->data_block_quadlets; in read_pcm_s32() 82 __le32 *buffer, unsigned int frames) in write_pcm_silence() argument 89 buffer[c] = cpu_to_le32(0x00000000); in write_pcm_silence() 90 buffer += s->data_block_quadlets; in write_pcm_silence() 107 __be32 *buffer, in process_rx_data_blocks() argument [all …]
|
/sound/pci/emu10k1/ |
D | emuproc.c | 38 struct snd_info_buffer *buffer, in snd_emu10k1_proc_spdif_status() argument 51 snd_iprintf(buffer, "\n%s\n", title); in snd_emu10k1_proc_spdif_status() 54 snd_iprintf(buffer, "Professional Mode : %s\n", (status & SPCS_PROFESSIONAL) ? "yes" : "no"); in snd_emu10k1_proc_spdif_status() 55 snd_iprintf(buffer, "Not Audio Data : %s\n", (status & SPCS_NOTAUDIODATA) ? "yes" : "no"); in snd_emu10k1_proc_spdif_status() 56 snd_iprintf(buffer, "Copyright : %s\n", (status & SPCS_COPYRIGHT) ? "yes" : "no"); in snd_emu10k1_proc_spdif_status() 57 snd_iprintf(buffer, "Emphasis : %s\n", emphasis[(status & SPCS_EMPHASISMASK) >> 3]); in snd_emu10k1_proc_spdif_status() 58 snd_iprintf(buffer, "Mode : %i\n", (status & SPCS_MODEMASK) >> 6); in snd_emu10k1_proc_spdif_status() 59 snd_iprintf(buffer, "Category Code : 0x%x\n", (status & SPCS_CATEGORYCODEMASK) >> 8); in snd_emu10k1_proc_spdif_status() 60 …snd_iprintf(buffer, "Generation Status : %s\n", status & SPCS_GENERATIONSTATUS ? "original" : … in snd_emu10k1_proc_spdif_status() 61 snd_iprintf(buffer, "Source Mask : %i\n", (status & SPCS_SOURCENUMMASK) >> 16); in snd_emu10k1_proc_spdif_status() [all …]
|
/sound/firewire/fireworks/ |
D | fireworks_proc.c | 29 proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_read_hwinfo() argument 42 snd_iprintf(buffer, "guid_hi: 0x%X\n", hwinfo->guid_hi); in proc_read_hwinfo() 43 snd_iprintf(buffer, "guid_lo: 0x%X\n", hwinfo->guid_lo); in proc_read_hwinfo() 44 snd_iprintf(buffer, "type: 0x%X\n", hwinfo->type); in proc_read_hwinfo() 45 snd_iprintf(buffer, "version: 0x%X\n", hwinfo->version); in proc_read_hwinfo() 46 snd_iprintf(buffer, "vendor_name: %s\n", hwinfo->vendor_name); in proc_read_hwinfo() 47 snd_iprintf(buffer, "model_name: %s\n", hwinfo->model_name); in proc_read_hwinfo() 49 snd_iprintf(buffer, "dsp_version: 0x%X\n", hwinfo->dsp_version); in proc_read_hwinfo() 50 snd_iprintf(buffer, "arm_version: 0x%X\n", hwinfo->arm_version); in proc_read_hwinfo() 51 snd_iprintf(buffer, "fpga_version: 0x%X\n", hwinfo->fpga_version); in proc_read_hwinfo() [all …]
|
/sound/pci/lola/ |
D | lola_proc.c | 29 static void print_audio_widget(struct snd_info_buffer *buffer, in print_audio_widget() argument 35 snd_iprintf(buffer, "Node 0x%02x %s wcaps 0x%x\n", nid, name, val); in print_audio_widget() 37 snd_iprintf(buffer, " Formats: 0x%x\n", val); in print_audio_widget() 40 static void print_pin_widget(struct snd_info_buffer *buffer, in print_pin_widget() argument 47 snd_iprintf(buffer, "Node 0x%02x %s wcaps 0x%x\n", nid, name, val); in print_pin_widget() 51 snd_iprintf(buffer, " Amp-Caps: 0x%x\n", val); in print_pin_widget() 52 snd_iprintf(buffer, " mute=%d, step-size=%d, steps=%d, ofs=%d\n", in print_pin_widget() 58 snd_iprintf(buffer, " Max-level: 0x%x\n", val); in print_pin_widget() 61 static void print_clock_widget(struct snd_info_buffer *buffer, in print_clock_widget() argument 68 snd_iprintf(buffer, "Node 0x%02x [Clock] wcaps 0x%x\n", nid, val); in print_clock_widget() [all …]
|
/sound/firewire/dice/ |
D | dice-proc.c | 12 static int dice_proc_read_mem(struct snd_dice *dice, void *buffer, in dice_proc_read_mem() argument 20 buffer, 4 * quadlets, 0); in dice_proc_read_mem() 25 be32_to_cpus(&((u32 *)buffer)[i]); in dice_proc_read_mem() 58 struct snd_info_buffer *buffer) in dice_proc_read() argument 120 snd_iprintf(buffer, "sections:\n"); in dice_proc_read() 122 snd_iprintf(buffer, " %s: offset %u, size %u\n", in dice_proc_read() 129 snd_iprintf(buffer, "global:\n"); in dice_proc_read() 130 snd_iprintf(buffer, " owner: %04x:%04x%08x\n", in dice_proc_read() 133 snd_iprintf(buffer, " notification: %08x\n", buf.global.notification); in dice_proc_read() 135 snd_iprintf(buffer, " nick name: %s\n", buf.global.nick_name); in dice_proc_read() [all …]
|
D | dice-transaction.c | 167 __be64 *buffer; in register_notification_address() local 173 buffer = kmalloc(2 * 8, GFP_KERNEL); in register_notification_address() 174 if (!buffer) in register_notification_address() 178 buffer[0] = cpu_to_be64(OWNER_NO_OWNER); in register_notification_address() 179 buffer[1] = cpu_to_be64( in register_notification_address() 189 buffer, 2 * 8, in register_notification_address() 194 if (buffer[0] == cpu_to_be64(OWNER_NO_OWNER)) in register_notification_address() 197 if (buffer[0] == buffer[1]) in register_notification_address() 210 kfree(buffer); in register_notification_address() 221 __be64 *buffer; in unregister_notification_address() local [all …]
|
/sound/firewire/bebob/ |
D | bebob_proc.c | 37 struct snd_info_buffer *buffer) in proc_read_hw_info() argument 50 snd_iprintf(buffer, "Manufacturer:\t%.8s\n", in proc_read_hw_info() 52 snd_iprintf(buffer, "Protocol Ver:\t%d\n", info->protocol_ver); in proc_read_hw_info() 53 snd_iprintf(buffer, "Build Ver:\t%d\n", info->bld_ver); in proc_read_hw_info() 54 snd_iprintf(buffer, "GUID:\t\t0x%.8X%.8X\n", in proc_read_hw_info() 56 snd_iprintf(buffer, "Model ID:\t0x%02X\n", info->model_id); in proc_read_hw_info() 57 snd_iprintf(buffer, "Model Rev:\t%d\n", info->model_rev); in proc_read_hw_info() 58 snd_iprintf(buffer, "Firmware Date:\t%.8s\n", (char *)&info->fw_date); in proc_read_hw_info() 59 snd_iprintf(buffer, "Firmware Time:\t%.8s\n", (char *)&info->fw_time); in proc_read_hw_info() 60 snd_iprintf(buffer, "Firmware ID:\t0x%X\n", info->fw_id); in proc_read_hw_info() [all …]
|
/sound/pci/ac97/ |
D | ac97_proc.c | 37 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) in snd_ac97_proc_read_functions() argument 57 snd_iprintf(buffer, "\n Gain Inverted Buffer delay Location\n"); in snd_ac97_proc_read_functions() 61 snd_iprintf(buffer, "%-17s: %3d.%d dBV %c %2d/fs %s\n", in snd_ac97_proc_read_functions() 107 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 117 snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name); in snd_ac97_proc_read_main() 122 snd_iprintf(buffer, "PCI Subsys Vendor: 0x%04x\n", in snd_ac97_proc_read_main() 124 snd_iprintf(buffer, "PCI Subsys Device: 0x%04x\n\n", in snd_ac97_proc_read_main() 127 snd_iprintf(buffer, "Flags: %x\n", ac97->flags); in snd_ac97_proc_read_main() 134 snd_iprintf(buffer, "Revision : 0x%02x\n", tmp & 0xff); in snd_ac97_proc_read_main() 135 snd_iprintf(buffer, "Compat. Class : 0x%02x\n", (tmp >> 8) & 0x1f); in snd_ac97_proc_read_main() [all …]
|
/sound/isa/gus/ |
D | gus_dram.c | 33 char buffer[256], *pbuffer; in snd_gus_dram_poke() local 36 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; in snd_gus_dram_poke() 37 if (copy_from_user(buffer, _buffer, size1)) in snd_gus_dram_poke() 43 outsb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_poke() 47 pbuffer = buffer; in snd_gus_dram_poke() 59 int snd_gus_dram_write(struct snd_gus_card *gus, char __user *buffer, in snd_gus_dram_write() argument 62 return snd_gus_dram_poke(gus, buffer, address, size); in snd_gus_dram_write() 71 char buffer[256], *pbuffer; in snd_gus_dram_peek() local 74 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; in snd_gus_dram_peek() 79 insb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_peek() [all …]
|
D | gus_mem.c | 30 struct snd_info_buffer *buffer); 289 struct snd_info_buffer *buffer) in snd_gf1_mem_info_read() argument 300 snd_iprintf(buffer, "8-bit banks : \n "); in snd_gf1_mem_info_read() 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() 303 snd_iprintf(buffer, "\n" 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() 309 snd_iprintf(buffer, "\n"); in snd_gf1_mem_info_read() 313 …snd_iprintf(buffer, "Block %i at 0x%lx onboard 0x%x size %i (0x%x):\n", i, (long) block, block->pt… in snd_gf1_mem_info_read() 317 snd_iprintf(buffer, " Share : %i [id0 0x%x] [id1 0x%x] [id2 0x%x] [id3 0x%x]\n", in snd_gf1_mem_info_read() 321 snd_iprintf(buffer, " Flags :%s\n", in snd_gf1_mem_info_read() [all …]
|
/sound/firewire/motu/ |
D | amdtp-motu.c | 123 __be32 *buffer, unsigned int data_blocks) in read_pcm_s32() argument 136 byte = (u8 *)buffer + p->pcm_byte_offset; in read_pcm_s32() 145 buffer += s->data_block_quadlets; in read_pcm_s32() 153 __be32 *buffer, unsigned int data_blocks) in write_pcm_s32() argument 166 byte = (u8 *)buffer + p->pcm_byte_offset; in write_pcm_s32() 176 buffer += s->data_block_quadlets; in write_pcm_s32() 182 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence() argument 192 byte = (u8 *)buffer + p->pcm_byte_offset; in write_pcm_silence() 201 buffer += s->data_block_quadlets; in write_pcm_silence() 227 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages() argument [all …]
|
D | amdtp-motu-trace.h | 16 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), 34 copy_sph(__get_dynamic_array(tstamps), buffer, data_blocks, s->data_block_quadlets); 46 TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer), 47 TP_ARGS(s, data_blocks, buffer), 58 copy_sph(__get_dynamic_array(tstamps), buffer, data_blocks, s->data_block_quadlets); 70 TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer), 71 TP_ARGS(s, data_blocks, buffer), [all …]
|
/sound/firewire/digi00x/ |
D | amdtp-dot.c | 102 static void dot_encode_step(struct dot_state *state, __be32 *const buffer) in dot_encode_step() argument 104 u8 * const data = (u8 *) buffer; in dot_encode_step() 147 __be32 *buffer, unsigned int frames) in write_pcm_s32() argument 159 buffer++; in write_pcm_s32() 162 buffer[c] = cpu_to_be32((*src >> 8) | 0x40000000); in write_pcm_s32() 163 dot_encode_step(&p->state, &buffer[c]); in write_pcm_s32() 166 buffer += s->data_block_quadlets; in write_pcm_s32() 173 __be32 *buffer, unsigned int frames) in read_pcm_s32() argument 185 buffer++; in read_pcm_s32() 188 *dst = be32_to_cpu(buffer[c]) << 8; in read_pcm_s32() [all …]
|
/sound/core/ |
D | info_oss.c | 90 struct snd_info_buffer *buffer) in snd_sndstat_proc_read() argument 92 snd_iprintf(buffer, "Sound Driver:3.8.1a-980706 (ALSA emulation code)\n"); in snd_sndstat_proc_read() 93 snd_iprintf(buffer, "Kernel: %s %s %s %s %s\n", in snd_sndstat_proc_read() 99 snd_iprintf(buffer, "Config options: 0\n"); in snd_sndstat_proc_read() 100 snd_iprintf(buffer, "\nInstalled drivers: \n"); in snd_sndstat_proc_read() 101 snd_iprintf(buffer, "Type 10: ALSA emulation\n"); in snd_sndstat_proc_read() 102 snd_iprintf(buffer, "\nCard config: \n"); in snd_sndstat_proc_read() 103 snd_card_info_read_oss(buffer); in snd_sndstat_proc_read() 104 snd_sndstat_show_strings(buffer, "Audio devices", SNDRV_OSS_INFO_DEV_AUDIO); in snd_sndstat_proc_read() 105 snd_sndstat_show_strings(buffer, "Synth devices", SNDRV_OSS_INFO_DEV_SYNTH); in snd_sndstat_proc_read() [all …]
|
D | pcm.c | 346 struct snd_info_buffer *buffer) in snd_pcm_proc_info_read() argument 360 snd_iprintf(buffer, "error %d\n", err); in snd_pcm_proc_info_read() 364 snd_iprintf(buffer, "card: %d\n", info->card); in snd_pcm_proc_info_read() 365 snd_iprintf(buffer, "device: %d\n", info->device); in snd_pcm_proc_info_read() 366 snd_iprintf(buffer, "subdevice: %d\n", info->subdevice); in snd_pcm_proc_info_read() 367 snd_iprintf(buffer, "stream: %s\n", snd_pcm_stream_name(info->stream)); in snd_pcm_proc_info_read() 368 snd_iprintf(buffer, "id: %s\n", info->id); in snd_pcm_proc_info_read() 369 snd_iprintf(buffer, "name: %s\n", info->name); in snd_pcm_proc_info_read() 370 snd_iprintf(buffer, "subname: %s\n", info->subname); in snd_pcm_proc_info_read() 371 snd_iprintf(buffer, "class: %d\n", info->dev_class); in snd_pcm_proc_info_read() [all …]
|
/sound/firewire/tascam/ |
D | amdtp-tascam.c | 38 __be32 *buffer, unsigned int frames) in write_pcm_s32() argument 52 buffer[c] = cpu_to_be32(*src); in write_pcm_s32() 55 buffer += s->data_block_quadlets; in write_pcm_s32() 63 __be32 *buffer, unsigned int frames) in read_pcm_s32() argument 76 buffer += 1; in read_pcm_s32() 80 *dst = be32_to_cpu(buffer[c]); in read_pcm_s32() 83 buffer += s->data_block_quadlets; in read_pcm_s32() 89 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence() argument 99 buffer[c] = 0x00000000; in write_pcm_silence() 100 buffer += s->data_block_quadlets; in write_pcm_silence() [all …]
|
/sound/firewire/ |
D | amdtp-am824.c | 152 __be32 *buffer, unsigned int frames) in write_pcm_s32() argument 166 buffer[p->pcm_positions[c]] = in write_pcm_s32() 170 buffer += s->data_block_quadlets; in write_pcm_s32() 178 __be32 *buffer, unsigned int frames) in read_pcm_s32() argument 192 *dst = be32_to_cpu(buffer[p->pcm_positions[c]]) << 8; in read_pcm_s32() 195 buffer += s->data_block_quadlets; in read_pcm_s32() 202 __be32 *buffer, unsigned int frames) in write_pcm_silence() argument 209 buffer[p->pcm_positions[c]] = cpu_to_be32(0x40000000); in write_pcm_silence() 210 buffer += s->data_block_quadlets; in write_pcm_silence() 287 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages() argument [all …]
|
D | amdtp-stream.c | 413 err = fw_iso_context_queue(s->context, &p, &s->buffer.iso_buffer, in queue_packet() 414 s->buffer.packets[s->packet_index].offset); in queue_packet() 441 __be32 *buffer; in handle_out_packet() local 447 buffer = s->buffer.packets[s->packet_index].buffer; in handle_out_packet() 450 pcm_frames = s->process_data_blocks(s, buffer + 2, data_blocks, &syt); in handle_out_packet() 456 buffer[0] = cpu_to_be32(ACCESS_ONCE(s->source_node_id_field) | in handle_out_packet() 460 buffer[1] = cpu_to_be32(CIP_EOH | in handle_out_packet() 470 trace_out_packet(s, cycle, buffer, payload_length, index); in handle_out_packet() 487 __be32 *buffer; in handle_out_packet_without_header() local 493 buffer = s->buffer.packets[s->packet_index].buffer; in handle_out_packet_without_header() [all …]
|
/sound/soc/au1x/ |
D | dma.c | 33 struct pcm_period *buffer; member 49 pointer = stream->buffer; in au1000_release_dma_link() 56 } while (pointer != stream->buffer); in au1000_release_dma_link() 57 stream->buffer = NULL; in au1000_release_dma_link() 81 stream->buffer = kmalloc(sizeof(struct pcm_period), GFP_KERNEL); in au1000_setup_dma_link() 82 if (!stream->buffer) in au1000_setup_dma_link() 84 pointer = stream->buffer; in au1000_setup_dma_link() 98 pointer->next = stream->buffer; in au1000_setup_dma_link() 104 if (stream->buffer) in au1000_dma_stop() 110 if (!stream->buffer) in au1000_dma_start() [all …]
|