Lines Matching refs:hdr
516 struct soundfont_voice_rec_hdr hdr; in load_info() local
527 if (count < (long)sizeof(hdr)) { in load_info()
531 if (copy_from_user((char*)&hdr, data, sizeof(hdr))) in load_info()
534 data += sizeof(hdr); in load_info()
535 count -= sizeof(hdr); in load_info()
537 if (hdr.nvoices <= 0 || hdr.nvoices >= 100) { in load_info()
539 hdr.nvoices); in load_info()
543 if (count < (long)sizeof(struct soundfont_voice_info) * hdr.nvoices) { in load_info()
546 count, hdr.nvoices); in load_info()
550 switch (hdr.write_mode) { in load_info()
556 zone->bank == hdr.bank && in load_info()
557 zone->instr == hdr.instr) in load_info()
563 remove_info(sflist, sf, hdr.bank, hdr.instr); in load_info()
567 for (i = 0; i < hdr.nvoices; i++) { in load_info()
578 tmpzone.bank = hdr.bank; in load_info()
579 tmpzone.instr = hdr.instr; in load_info()
1396 snd_sf_new(struct snd_sf_callback *callback, struct snd_util_memhdr *hdr) in snd_sf_new() argument
1406 sflist->memhdr = hdr; in snd_sf_new()