Home
last modified time | relevance | path

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

12

/sound/core/seq/oss/
Dseq_oss_event.h33 unsigned char code; member
41 unsigned char code; member
49 unsigned char code; member
57 unsigned char code; member
66 unsigned char code; member
76 unsigned char code; member
86 unsigned char code; member
104 #define ev_is_long(ev) ((ev)->s.code >= 128)
105 #define ev_length(ev) ((ev)->s.code >= 128 ? LONG_EVENT_SIZE : SHORT_EVENT_SIZE)
Dseq_oss_rw.c110 if (rec.s.code == SEQ_FULLSIZE) { in snd_seq_oss_write()
123 if (rec.s.code == SEQ_EXTENDED && in snd_seq_oss_write()
Dseq_oss_timer.c90 if (ev->t.code == EV_TIMING) { in snd_seq_oss_process_timer_event()
110 } else if (ev->s.code == SEQ_WAIT) { in snd_seq_oss_process_timer_event()
Dseq_oss_event.c57 switch (q->s.code) { in snd_seq_oss_process_event()
110 switch (q->s.code) { in old_event()
448 if (rec->s.code == SEQ_SYNCTIMER) { in snd_seq_oss_event_input()
Dseq_oss_midi.c578 ossev.v.code = EV_CHN_VOICE; in send_synth_event()
586 ossev.l.code = EV_CHN_COMMON; in send_synth_event()
592 ossev.l.code = EV_CHN_COMMON; in send_synth_event()
Dseq_oss_writeq.c115 rec->t.code = SEQ_SYNCTIMER; in snd_seq_oss_writeq_sync()
Dseq_oss_readq.c240 rec.t.code = EV_TIMING; in snd_seq_oss_readq_put_timestamp()
/sound/pci/echoaudio/
Dechoaudio_dsp.c185 u8 *code; in load_asic_generic() local
193 code = (u8 *)fw->data; in load_asic_generic()
205 if (write_dsp(chip, code[i]) < 0) in load_asic_generic()
231 u16 *code; in install_resident_loader() local
268 code = (u16 *)fw->data; in install_resident_loader()
273 index = code[0]; in install_resident_loader()
279 words = code[index++]; in install_resident_loader()
282 address = ((u32)code[index] << 16) + code[index + 1]; in install_resident_loader()
301 data = ((u32)code[index] << 16) + code[index + 1]; in install_resident_loader()
335 static int load_dsp(struct echoaudio *chip, u16 *code) in load_dsp() argument
[all …]
/sound/usb/line6/
Dmidibuf.c16 static int midibuf_message_length(unsigned char code) in midibuf_message_length() argument
20 if (code < 0x80) in midibuf_message_length()
22 else if (code < 0xf0) { in midibuf_message_length()
25 message_length = length[(code >> 4) - 8]; in midibuf_message_length()
35 message_length = length[code & 0x0f]; in midibuf_message_length()
Dpod.c181 static char *pod_alloc_sysex_buffer(struct usb_line6_pod *pod, int code, in pod_alloc_sysex_buffer() argument
184 return line6_alloc_sysex_buffer(&pod->line6, POD_SYSEX_CODE, code, in pod_alloc_sysex_buffer()
223 int code) in pod_set_system_param_int() argument
231 sysex[SYSEX_DATA_OFS] = code; in pod_set_system_param_int()
Dtoneport.c122 int code; member
240 toneport_source_info[source].code, 0x0000); in snd_toneport_source_put()
389 toneport_source_info[toneport->source].code, in toneport_setup()
/sound/pci/cs46xx/
Ddsp_spos.c73 if (ins->code.offset > 0) { in shadow_and_reallocate_code()
93 address += (ins->code.offset / 2) - overlay_begin_address; in shadow_and_reallocate_code()
116 ins->code.data[ins->code.size++] = loval; in shadow_and_reallocate_code()
117 ins->code.data[ins->code.size++] = hival; in shadow_and_reallocate_code()
176 …ins->symbol_table.symbols[ins->symbol_table.nsymbols].address += ((ins->code.offset / 2) - module-… in add_symbols()
244 ins->code.data = kmalloc(DSP_CODE_BYTE_SIZE, GFP_KERNEL); in cs46xx_dsp_spos_create()
246 if (!ins->symbol_table.symbols || !ins->code.data || !ins->modules) { in cs46xx_dsp_spos_create()
252 ins->code.offset = 0; in cs46xx_dsp_spos_create()
253 ins->code.size = 0; in cs46xx_dsp_spos_create()
281 kfree(ins->code.data); in cs46xx_dsp_spos_create()
[all …]
Dcs46xx_dsp_spos.h155 struct dsp_segment_desc code; member
/sound/drivers/pcsp/
Dpcsp_input.c49 unsigned int code, int value) in pcspkr_input_event() argument
58 switch (code) { in pcspkr_input_event()
/sound/oss/dmasound/
DKconfig10 This driver is also available as a module ( = code which can be
24 This driver is also available as a module ( = code which can be
38 This driver is also available as a module ( = code which can be
/sound/oss/
DCHANGELOG1 Note these changes relate to Hannu's code and don't include the changes
18 - Lot of fixes to audio playback code in dmabuf.c
69 for code download in the earlier versions has been eliminated. There is now
70 just one /dev/dsp# device which is used both for code download and audio.
217 since TB doesn't allow me to release that code.
222 to the initialization code. This may break modules support since
261 - Experimental detection code for Ensoniq Soundscape.
299 - Some fine tuning to the GUS v3.7 mixer code.
348 - Breakup of sb_dsp.c. Parts of the code has been moved to
DREADME.FIRST3 Hannu's code. Please bear that in mind when considering the appropriate
/sound/core/
DKconfig127 the hrtimer as a precise timing source. The ALSA sequencer code
148 timer to ALSA's timer interface. The ALSA sequencer code also
201 Say 'N' to disable Sound proc FS, which may reduce code size about
210 Say Y here to include code for verbose procfs contents (provides
226 Say Y here to enable ALSA debug code.
/sound/pci/hda/
Dhda_beep.c110 unsigned int code, int hz) in snd_hda_beep_event() argument
114 switch (code) { in snd_hda_beep_event()
Dpatch_ca0132.c1633 bool *code, bool *yram) in dsp_chip_to_dsp_addx() argument
1635 *code = *yram = false; in dsp_chip_to_dsp_addx()
1638 *code = true; in dsp_chip_to_dsp_addx()
1673 bool code, yram; in dsp_dma_setup_common() local
1687 dsp_addx = dsp_chip_to_dsp_addx(chip_addx, &code, &yram); in dsp_dma_setup_common()
1710 if (!code) in dsp_dma_setup_common()
1782 bool code, yram; in dsp_dma_setup() local
1801 dsp_addx = dsp_chip_to_dsp_addx(chip_addx, &code, &yram); in dsp_dma_setup()
1812 if (!code) { in dsp_dma_setup()
1830 (code ? 0 : 1)); in dsp_dma_setup()
/sound/ppc/
Dbeep.c100 unsigned int code, int hz) in snd_pmac_beep_event() argument
114 switch (code) { in snd_pmac_beep_event()
/sound/pci/emu10k1/
Demufx.c499 u_int32_t *code; in snd_emu10k1_write_op() local
502 code = (u_int32_t __force *)icode->code + (*ptr) * 2; in snd_emu10k1_write_op()
504 code[0] = ((x & 0x3ff) << 10) | (y & 0x3ff); in snd_emu10k1_write_op()
505 code[1] = ((op & 0x0f) << 20) | ((r & 0x3ff) << 10) | (a & 0x3ff); in snd_emu10k1_write_op()
516 u_int32_t *code; in snd_emu10k1_audigy_write_op() local
519 code = (u_int32_t __force *)icode->code + (*ptr) * 2; in snd_emu10k1_audigy_write_op()
521 code[0] = ((x & 0x7ff) << 12) | (y & 0x7ff); in snd_emu10k1_audigy_write_op()
522 code[1] = ((op & 0x0f) << 24) | ((r & 0x7ff) << 12) | (a & 0x7ff); in snd_emu10k1_audigy_write_op()
626 if (get_user(lo, &icode->code[pc + 0]) || in snd_emu10k1_code_poke()
627 get_user(hi, &icode->code[pc + 1])) in snd_emu10k1_code_poke()
[all …]
/sound/usb/
Dmixer_quirks.c206 u32 code; in snd_usb_soundblaster_remote_complete() local
211 code = mixer->rc_buffer[rc->offset]; in snd_usb_soundblaster_remote_complete()
213 code |= mixer->rc_buffer[rc->offset + 1] << 8; in snd_usb_soundblaster_remote_complete()
216 if (code == rc->mute_code) in snd_usb_soundblaster_remote_complete()
218 mixer->rc_code = code; in snd_usb_soundblaster_remote_complete()
/sound/soc/codecs/
Dcs42l52.c939 unsigned int code, int hz) in cs42l52_beep_event() argument
944 dev_dbg(codec->dev, "Beep event %x %x\n", code, hz); in cs42l52_beep_event()
946 switch (code) { in cs42l52_beep_event()
Dcs42l56.c1013 unsigned int code, int hz) in cs42l56_beep_event() argument
1018 dev_dbg(codec->dev, "Beep event %x %x\n", code, hz); in cs42l56_beep_event()
1020 switch (code) { in cs42l56_beep_event()

12