Home
last modified time | relevance | path

Searched refs:seq_oss_devinfo (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_synth.h33 void snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp);
34 void snd_seq_oss_synth_setup_midi(struct seq_oss_devinfo *dp);
35 void snd_seq_oss_synth_cleanup(struct seq_oss_devinfo *dp);
37 void snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev);
38 int snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt,
40 struct seq_oss_synthinfo *snd_seq_oss_synth_info(struct seq_oss_devinfo *dp,
42 int snd_seq_oss_synth_sysex(struct seq_oss_devinfo *dp, int dev, unsigned char *buf,
44 int snd_seq_oss_synth_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_event *ev);
45 int snd_seq_oss_synth_ioctl(struct seq_oss_devinfo *dp, int dev, unsigned int cmd,
47 int snd_seq_oss_synth_raw_event(struct seq_oss_devinfo *dp, int dev,
[all …]
Dseq_oss_midi.h34 void snd_seq_oss_midi_setup(struct seq_oss_devinfo *dp);
35 void snd_seq_oss_midi_cleanup(struct seq_oss_devinfo *dp);
37 int snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int file_mode);
38 void snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode);
39 int snd_seq_oss_midi_close(struct seq_oss_devinfo *dp, int dev);
40 void snd_seq_oss_midi_reset(struct seq_oss_devinfo *dp, int dev);
41 int snd_seq_oss_midi_putc(struct seq_oss_devinfo *dp, int dev, unsigned char c,
44 int snd_seq_oss_midi_filemode(struct seq_oss_devinfo *dp, int dev);
45 int snd_seq_oss_midi_make_info(struct seq_oss_devinfo *dp, int dev, struct midi_info *inf);
46 void snd_seq_oss_midi_get_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_addr *addr);
Dseq_oss_device.h82 struct seq_oss_devinfo { struct
123 void snd_seq_oss_release(struct seq_oss_devinfo *dp); argument
124 int snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long arg);
125 int snd_seq_oss_read(struct seq_oss_devinfo *dev, char __user *buf, int count);
126 int snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *o…
127 __poll_t snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait);
129 void snd_seq_oss_reset(struct seq_oss_devinfo *dp);
132 void snd_seq_oss_process_queue(struct seq_oss_devinfo *dp, abstime_t time);
148 snd_seq_oss_dispatch(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int atomic, int hop) in snd_seq_oss_dispatch()
155 snd_seq_oss_control(struct seq_oss_devinfo *dp, unsigned int type, void *arg) in snd_seq_oss_control()
[all …]
Dseq_oss_event.c35 static int extended_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev);
36 static int chn_voice_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event…
37 static int chn_common_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_even…
38 static int timing_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *e…
39 static int local_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *ev…
40 static int old_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev);
41 static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd…
42 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct sn…
43 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel,…
44 static int set_control_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int param, int …
[all …]
Dseq_oss_init.c47 static struct seq_oss_devinfo *client_table[SNDRV_SEQ_OSS_MAX_CLIENTS];
55 static int create_port(struct seq_oss_devinfo *dp);
56 static int delete_port(struct seq_oss_devinfo *dp);
57 static int alloc_seq_queue(struct seq_oss_devinfo *dp);
188 struct seq_oss_devinfo *dp; in snd_seq_oss_open()
313 create_port(struct seq_oss_devinfo *dp) in create_port()
347 delete_port(struct seq_oss_devinfo *dp) in delete_port()
361 alloc_seq_queue(struct seq_oss_devinfo *dp) in alloc_seq_queue()
402 struct seq_oss_devinfo *dp = (struct seq_oss_devinfo *)private; in free_devinfo()
418 snd_seq_oss_release(struct seq_oss_devinfo *dp) in snd_seq_oss_release()
[all …]
Dseq_oss_midi.c51 struct seq_oss_devinfo *devinfo; /* assigned OSSseq device */
68 static struct seq_oss_midi *get_mididev(struct seq_oss_devinfo *dp, int dev);
69 static int send_synth_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int dev);
70 static int send_midi_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, struct seq_oss_mid…
281 snd_seq_oss_midi_setup(struct seq_oss_devinfo *dp) in snd_seq_oss_midi_setup()
290 snd_seq_oss_midi_cleanup(struct seq_oss_devinfo *dp) in snd_seq_oss_midi_cleanup()
303 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all()
315 get_mididev(struct seq_oss_devinfo *dp, int dev) in get_mididev()
328 snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int fmode) in snd_seq_oss_midi_open()
395 snd_seq_oss_midi_close(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_midi_close()
[all …]
Dseq_oss_synth.c86 static struct seq_oss_synth *get_synthdev(struct seq_oss_devinfo *dp, int dev);
213 snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp) in snd_seq_oss_synth_setup()
272 snd_seq_oss_synth_setup_midi(struct seq_oss_devinfo *dp) in snd_seq_oss_synth_setup_midi()
306 snd_seq_oss_synth_cleanup(struct seq_oss_devinfo *dp) in snd_seq_oss_synth_cleanup()
344 get_synthinfo_nospec(struct seq_oss_devinfo *dp, int dev) in get_synthinfo_nospec()
356 get_synthdev(struct seq_oss_devinfo *dp, int dev) in get_synthdev()
403 snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_synth_reset()
454 snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt, in snd_seq_oss_synth_load_patch()
482 snd_seq_oss_synth_info(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_synth_info()
501 snd_seq_oss_synth_sysex(struct seq_oss_devinfo *dp, int dev, unsigned char *buf, struct snd_seq_eve… in snd_seq_oss_synth_sysex()
[all …]
Dseq_oss_rw.c36 static int insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt);
44 snd_seq_oss_read(struct seq_oss_devinfo *dp, char __user *buf, int count) in snd_seq_oss_read()
96 snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt) in snd_seq_oss_write()
164 insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt) in insert_queue()
200 snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait) in snd_seq_oss_poll()
Dseq_oss.c147 struct seq_oss_devinfo *dp; in odev_release()
162 struct seq_oss_devinfo *dp; in odev_read()
173 struct seq_oss_devinfo *dp; in odev_write()
183 struct seq_oss_devinfo *dp; in odev_ioctl()
203 struct seq_oss_devinfo *dp; in odev_poll()
Dseq_oss_ioctl.c31 static int snd_seq_oss_synth_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_synth_info_user()
44 static int snd_seq_oss_midi_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_midi_info_user()
57 static int snd_seq_oss_oob_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_oob_user()
74 snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long carg) in snd_seq_oss_ioctl()
Dseq_oss_writeq.h29 struct seq_oss_devinfo *dp;
41 struct seq_oss_writeq *snd_seq_oss_writeq_new(struct seq_oss_devinfo *dp, int maxlen);
Dseq_oss_timer.c38 static int send_timer_event(struct seq_oss_devinfo *dp, int type, int value);
46 snd_seq_oss_timer_new(struct seq_oss_devinfo *dp) in snd_seq_oss_timer_new()
140 send_timer_event(struct seq_oss_devinfo *dp, int type, int value) in send_timer_event()
162 struct seq_oss_devinfo *dp = timer->dp; in snd_seq_oss_timer_start()
Dseq_oss_timer.h31 struct seq_oss_devinfo *dp;
40 struct seq_oss_timer *snd_seq_oss_timer_new(struct seq_oss_devinfo *dp);
Dseq_oss_writeq.c38 snd_seq_oss_writeq_new(struct seq_oss_devinfo *dp, int maxlen) in snd_seq_oss_writeq_new()
97 struct seq_oss_devinfo *dp = q->dp; in snd_seq_oss_writeq_sync()
Dseq_oss_readq.h42 struct seq_oss_readq *snd_seq_oss_readq_new(struct seq_oss_devinfo *dp, int maxlen);
Dseq_oss_event.h107 int snd_seq_oss_process_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev);
Dseq_oss_readq.c46 snd_seq_oss_readq_new(struct seq_oss_devinfo *dp, int maxlen) in snd_seq_oss_readq_new()