Searched refs:inf (Results 1 – 6 of 6) sorted by relevance
/sound/oss/ |
D | hex2hex.c | 15 int loadhex(FILE *inf, unsigned char *buf) in loadhex() argument 19 while ((c=getc(inf))!=EOF) in loadhex() 28 if (fscanf(inf, "%02x", &n) != 1) in loadhex() 32 if (fscanf(inf, "%04x", &addr) != 1) in loadhex() 37 if (fscanf(inf, "%02x", &linetype) != 1) in loadhex() 46 if (fscanf(inf, "%02x", &c) != 1) in loadhex() 56 if (fscanf(inf, "%02x", &check) != 1) in loadhex()
|
D | sequencer.c | 1328 struct synth_info inf; in sequencer_ioctl() local 1477 memcpy(&inf, synth_devs[dev]->info, sizeof(inf)); in sequencer_ioctl() 1478 strlcpy(inf.name, synth_devs[dev]->id, sizeof(inf.name)); in sequencer_ioctl() 1479 inf.device = dev; in sequencer_ioctl() 1480 return copy_to_user(arg, &inf, sizeof(inf))?-EFAULT:0; in sequencer_ioctl()
|
/sound/core/seq/oss/ |
D | seq_oss_synth.c | 605 snd_seq_oss_synth_make_info(struct seq_oss_devinfo *dp, int dev, struct synth_info *inf) in snd_seq_oss_synth_make_info() argument 615 inf->synth_type = SYNTH_TYPE_MIDI; in snd_seq_oss_synth_make_info() 616 inf->synth_subtype = 0; in snd_seq_oss_synth_make_info() 617 inf->nr_voices = 16; in snd_seq_oss_synth_make_info() 618 inf->device = dev; in snd_seq_oss_synth_make_info() 619 strlcpy(inf->name, minf.name, sizeof(inf->name)); in snd_seq_oss_synth_make_info() 623 inf->synth_type = rec->synth_type; in snd_seq_oss_synth_make_info() 624 inf->synth_subtype = rec->synth_subtype; in snd_seq_oss_synth_make_info() 625 inf->nr_voices = rec->nr_voices; in snd_seq_oss_synth_make_info() 626 inf->device = dev; in snd_seq_oss_synth_make_info() [all …]
|
D | seq_oss_midi.c | 656 snd_seq_oss_midi_make_info(struct seq_oss_devinfo *dp, int dev, struct midi_info *inf) in snd_seq_oss_midi_make_info() argument 662 inf->device = dev; in snd_seq_oss_midi_make_info() 663 inf->dev_type = 0; /* FIXME: ?? */ in snd_seq_oss_midi_make_info() 664 inf->capabilities = 0; /* FIXME: ?? */ in snd_seq_oss_midi_make_info() 665 strlcpy(inf->name, mdev->name, sizeof(inf->name)); in snd_seq_oss_midi_make_info()
|
D | seq_oss_midi.h | 45 int snd_seq_oss_midi_make_info(struct seq_oss_devinfo *dp, int dev, struct midi_info *inf);
|
D | seq_oss_synth.h | 49 int snd_seq_oss_synth_make_info(struct seq_oss_devinfo *dp, int dev, struct synth_info *inf);
|