Lines Matching refs:ins
114 struct sbi_instrument ins; in opl3_ioctl() local
119 if (copy_from_user(&ins, arg, sizeof(ins))) in opl3_ioctl()
121 if (ins.channel < 0 || ins.channel >= SBFM_MAXINSTR) { in opl3_ioctl()
122 printk(KERN_WARNING "FM Error: Invalid instrument number %d\n", ins.channel); in opl3_ioctl()
125 return store_instr(ins.channel, &ins); in opl3_ioctl()
824 struct sbi_instrument ins; in opl3_load_patch() local
826 if (count <sizeof(ins)) in opl3_load_patch()
832 if (copy_from_user(&ins, addr, sizeof(ins))) in opl3_load_patch()
835 if (ins.channel < 0 || ins.channel >= SBFM_MAXINSTR) in opl3_load_patch()
837 printk(KERN_WARNING "FM Error: Invalid instrument number %d\n", ins.channel); in opl3_load_patch()
840 ins.key = format; in opl3_load_patch()
842 return store_instr(ins.channel, &ins); in opl3_load_patch()