Home
last modified time | relevance | path

Searched refs:header (Results 1 – 10 of 10) sorted by relevance

/sound/isa/wavefront/
Dwavefront_synth.c779 wavefront_send_patch (snd_wavefront_t *dev, wavefront_patch_info *header) in wavefront_send_patch() argument
786 header->number); in wavefront_send_patch()
788 dev->patch_status[header->number] |= WF_SLOT_FILLED; in wavefront_send_patch()
791 bptr = munge_int32 (header->number, buf, 2); in wavefront_send_patch()
792 munge_buf ((unsigned char *)&header->hdr.p, bptr, WF_PATCH_BYTES); in wavefront_send_patch()
803 wavefront_send_program (snd_wavefront_t *dev, wavefront_patch_info *header) in wavefront_send_program() argument
810 header->number); in wavefront_send_program()
812 dev->prog_status[header->number] = WF_SLOT_USED; in wavefront_send_program()
819 if (header->hdr.pr.layer[i].mute) { in wavefront_send_program()
820 dev->patch_status[header->hdr.pr.layer[i].patch_number] |= in wavefront_send_program()
[all …]
/sound/pci/asihpi/
Dhpidspcd.c42 struct code_header header; in hpi_dsp_code_open() local
56 if (firmware->size < sizeof(header)) { in hpi_dsp_code_open()
60 memcpy(&header, firmware->data, sizeof(header)); in hpi_dsp_code_open()
62 if ((header.type != 0x45444F43) || /* "CODE" */ in hpi_dsp_code_open()
63 (header.adapter != adapter) in hpi_dsp_code_open()
64 || (header.size != firmware->size)) { in hpi_dsp_code_open()
67 header.size, firmware->size); in hpi_dsp_code_open()
71 if ((header.version >> 9) != (HPI_VER >> 9)) { in hpi_dsp_code_open()
74 header.version, HPI_VER); in hpi_dsp_code_open()
78 if (header.version != HPI_VER) { in hpi_dsp_code_open()
[all …]
Dhpidspcd.h58 struct code_header header; member
/sound/soc/codecs/
Dwm_adsp.c343 const struct wmfw_header *header; in wm_adsp_load() local
371 pos = sizeof(*header) + sizeof(*adsp1_sizes) + sizeof(*footer); in wm_adsp_load()
378 header = (void*)&firmware->data[0]; in wm_adsp_load()
380 if (memcmp(&header->magic[0], "WMFW", 4) != 0) { in wm_adsp_load()
385 if (header->ver != 0) { in wm_adsp_load()
387 file, header->ver); in wm_adsp_load()
391 if (header->core != dsp->type) { in wm_adsp_load()
393 file, header->core, dsp->type); in wm_adsp_load()
399 pos = sizeof(*header) + sizeof(*adsp1_sizes) + sizeof(*footer); in wm_adsp_load()
400 adsp1_sizes = (void *)&(header[1]); in wm_adsp_load()
[all …]
/sound/pci/pcxhr/
Dpcxhr.c561 unsigned int header; in pcxhr_set_format() local
565 header = HEADER_FMT_BASE_LIN; in pcxhr_set_format()
568 header = HEADER_FMT_BASE_LIN | in pcxhr_set_format()
572 header = HEADER_FMT_BASE_LIN | HEADER_FMT_16BITS; in pcxhr_set_format()
575 header = HEADER_FMT_BASE_LIN | in pcxhr_set_format()
579 header = HEADER_FMT_BASE_LIN | HEADER_FMT_24BITS; in pcxhr_set_format()
582 header = HEADER_FMT_BASE_FLOAT | HEADER_FMT_INTEL; in pcxhr_set_format()
594 header |= HEADER_FMT_UPTO11; in pcxhr_set_format()
596 header |= HEADER_FMT_UPTO32; in pcxhr_set_format()
599 header |= HEADER_FMT_MONO; in pcxhr_set_format()
[all …]
/sound/drivers/vx/
Dvx_pcm.c169 unsigned int header = HEADER_FMT_BASE; in vx_set_format() local
172 header |= HEADER_FMT_MONO; in vx_set_format()
174 header |= HEADER_FMT_INTEL; in vx_set_format()
176 header |= HEADER_FMT_UPTO32; in vx_set_format()
178 header |= HEADER_FMT_UPTO11; in vx_set_format()
182 case 16: header |= HEADER_FMT_16BITS; break; in vx_set_format()
183 case 24: header |= HEADER_FMT_24BITS; break; in vx_set_format()
189 return vx_set_stream_format(chip, pipe, header); in vx_set_format()
/sound/pci/hda/
Dpatch_ca0132.c1219 unsigned int header = 0; in make_scp_header() local
1221 header = (data_size & 0x1f) << 27; in make_scp_header()
1222 header |= (error_flag & 0x01) << 26; in make_scp_header()
1223 header |= (resp_flag & 0x01) << 25; in make_scp_header()
1224 header |= (device_flag & 0x01) << 24; in make_scp_header()
1225 header |= (req & 0x7f) << 17; in make_scp_header()
1226 header |= (get_flag & 0x01) << 16; in make_scp_header()
1227 header |= (source_id & 0xff) << 8; in make_scp_header()
1228 header |= target_id & 0xff; in make_scp_header()
1230 return header; in make_scp_header()
[all …]
/sound/pci/ac97/
Dac97_proc.c39 int header = 0, function; in snd_ac97_proc_read_functions() local
56 if (!header) { in snd_ac97_proc_read_functions()
58 header = 1; in snd_ac97_proc_read_functions()
/sound/firewire/
Disight.c172 size_t header_length, void *header, void *data) in isight_packet() argument
183 length = be32_to_cpup(header) >> 16; in isight_packet()
Damdtp.c413 size_t header_length, void *header, void *data) in out_packet_callback() argument