/linux/sound/core/seq/oss/ |
H A D | seq_oss_synth.h | 20 void snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp); 21 void snd_seq_oss_synth_setup_midi(struct seq_oss_devinfo *dp); 22 void snd_seq_oss_synth_cleanup(struct seq_oss_devinfo *dp); 24 void snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev); 25 int snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt, 27 struct seq_oss_synthinfo *snd_seq_oss_synth_info(struct seq_oss_devinfo *dp, 29 int snd_seq_oss_synth_sysex(struct seq_oss_devinfo *dp, int dev, unsigned char *buf, 31 int snd_seq_oss_synth_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_event *ev); 32 int snd_seq_oss_synth_ioctl(struct seq_oss_devinfo *dp, int dev, unsigned int cmd, 34 int snd_seq_oss_synth_raw_event(struct seq_oss_devinfo *dp, int dev, [all …]
|
H A D | seq_oss_midi.h | 21 void snd_seq_oss_midi_setup(struct seq_oss_devinfo *dp); 22 void snd_seq_oss_midi_cleanup(struct seq_oss_devinfo *dp); 24 int snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int file_mode); 25 void snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode); 26 int snd_seq_oss_midi_close(struct seq_oss_devinfo *dp, int dev); 27 void snd_seq_oss_midi_reset(struct seq_oss_devinfo *dp, int dev); 28 int snd_seq_oss_midi_putc(struct seq_oss_devinfo *dp, int dev, unsigned char c, 31 int snd_seq_oss_midi_filemode(struct seq_oss_devinfo *dp, int dev); 32 int snd_seq_oss_midi_make_info(struct seq_oss_devinfo *dp, int dev, struct midi_info *inf); 33 void snd_seq_oss_midi_get_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_addr *addr);
|
H A D | seq_oss_device.h | 70 struct seq_oss_devinfo { struct 111 void snd_seq_oss_release(struct seq_oss_devinfo *dp); argument 112 int snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long arg); 113 int snd_seq_oss_read(struct seq_oss_devinfo *dev, char __user *buf, int count); 114 int snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *o… 115 __poll_t snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait); 117 void snd_seq_oss_reset(struct seq_oss_devinfo *dp); 132 snd_seq_oss_dispatch(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int atomic, int hop) in snd_seq_oss_dispatch() 139 snd_seq_oss_control(struct seq_oss_devinfo *dp, unsigned int type, void *arg) in snd_seq_oss_control() 151 snd_seq_oss_fill_addr(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, in snd_seq_oss_fill_addr()
|
H A D | seq_oss_event.c | 22 static int extended_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev); 23 static int chn_voice_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event… 24 static int chn_common_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_even… 25 static int timing_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *e… 26 static int local_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *ev… 27 static int old_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev); 28 static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd… 29 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct sn… 30 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel,… 31 static int set_control_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int param, int … [all …]
|
H A D | seq_oss_init.c | 34 static struct seq_oss_devinfo *client_table[SNDRV_SEQ_OSS_MAX_CLIENTS]; 42 static int create_port(struct seq_oss_devinfo *dp); 43 static int delete_port(struct seq_oss_devinfo *dp); 44 static int alloc_seq_queue(struct seq_oss_devinfo *dp); 169 struct seq_oss_devinfo *dp; in snd_seq_oss_open() 294 create_port(struct seq_oss_devinfo *dp) in create_port() 328 delete_port(struct seq_oss_devinfo *dp) in delete_port() 342 alloc_seq_queue(struct seq_oss_devinfo *dp) in alloc_seq_queue() 384 struct seq_oss_devinfo *dp = (struct seq_oss_devinfo *)private; in free_devinfo() 400 snd_seq_oss_release(struct seq_oss_devinfo *dp) in snd_seq_oss_release() [all …]
|
H A D | seq_oss_midi.c | 38 struct seq_oss_devinfo *devinfo; /* assigned OSSseq device */ 56 static struct seq_oss_midi *get_mididev(struct seq_oss_devinfo *dp, int dev); 57 static int send_synth_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int dev); 58 static int send_midi_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, struct seq_oss_mid… 268 snd_seq_oss_midi_setup(struct seq_oss_devinfo *dp) in snd_seq_oss_midi_setup() 279 snd_seq_oss_midi_cleanup(struct seq_oss_devinfo *dp) in snd_seq_oss_midi_cleanup() 292 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all() 304 get_mididev(struct seq_oss_devinfo *dp, int dev) in get_mididev() 317 snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int fmode) in snd_seq_oss_midi_open() 391 snd_seq_oss_midi_close(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_midi_close() [all …]
|
H A D | seq_oss_synth.c | 73 static struct seq_oss_synth *get_synthdev(struct seq_oss_devinfo *dp, int dev); 200 snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp) in snd_seq_oss_synth_setup() 259 snd_seq_oss_synth_setup_midi(struct seq_oss_devinfo *dp) in snd_seq_oss_synth_setup_midi() 293 snd_seq_oss_synth_cleanup(struct seq_oss_devinfo *dp) in snd_seq_oss_synth_cleanup() 331 get_synthinfo_nospec(struct seq_oss_devinfo *dp, int dev) in get_synthinfo_nospec() 343 get_synthdev(struct seq_oss_devinfo *dp, int dev) in get_synthdev() 390 snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_synth_reset() 441 snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt, in snd_seq_oss_synth_load_patch() 470 snd_seq_oss_synth_info(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_synth_info() 489 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 …]
|
H A D | seq_oss_rw.c | 23 static int insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt); 31 snd_seq_oss_read(struct seq_oss_devinfo *dp, char __user *buf, int count) in snd_seq_oss_read() 83 snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt) in snd_seq_oss_write() 152 insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt) in insert_queue() 185 snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait) in snd_seq_oss_poll()
|
H A D | seq_oss.c | 137 struct seq_oss_devinfo *dp; in odev_release() 153 struct seq_oss_devinfo *dp; in odev_read() 164 struct seq_oss_devinfo *dp; in odev_write() 174 struct seq_oss_devinfo *dp; in odev_ioctl() 203 struct seq_oss_devinfo *dp; in odev_poll()
|
H A D | seq_oss_ioctl.c | 18 static int snd_seq_oss_synth_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_synth_info_user() 31 static int snd_seq_oss_midi_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_midi_info_user() 44 static int snd_seq_oss_oob_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_oob_user() 61 snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long carg) in snd_seq_oss_ioctl()
|
H A D | seq_oss_timer.c | 25 static int send_timer_event(struct seq_oss_devinfo *dp, int type, int value); 33 snd_seq_oss_timer_new(struct seq_oss_devinfo *dp) in snd_seq_oss_timer_new() 127 send_timer_event(struct seq_oss_devinfo *dp, int type, int value) in send_timer_event() 149 struct seq_oss_devinfo *dp = timer->dp; in snd_seq_oss_timer_start()
|
H A D | seq_oss_writeq.h | 16 struct seq_oss_devinfo *dp; 28 struct seq_oss_writeq *snd_seq_oss_writeq_new(struct seq_oss_devinfo *dp, int maxlen);
|
H A D | seq_oss_timer.h | 18 struct seq_oss_devinfo *dp; 27 struct seq_oss_timer *snd_seq_oss_timer_new(struct seq_oss_devinfo *dp);
|
H A D | seq_oss_writeq.c | 25 snd_seq_oss_writeq_new(struct seq_oss_devinfo *dp, int maxlen) in snd_seq_oss_writeq_new() 85 struct seq_oss_devinfo *dp = q->dp; in snd_seq_oss_writeq_sync()
|
H A D | seq_oss_readq.h | 29 struct seq_oss_readq *snd_seq_oss_readq_new(struct seq_oss_devinfo *dp, int maxlen);
|
H A D | seq_oss_event.h | 94 int snd_seq_oss_process_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev);
|
H A D | seq_oss_readq.c | 33 snd_seq_oss_readq_new(struct seq_oss_devinfo *dp, int maxlen) in snd_seq_oss_readq_new()
|