tag | line | file | source code |
ins | 127 | drivers/sound/opl3.c | struct sbi_instrument ins; |
ins | 129 | drivers/sound/opl3.c | IOCTL_FROM_USER ((char *) &ins, (char *) arg, 0, sizeof (ins)); |
ins | 131 | drivers/sound/opl3.c | if (ins.channel < 0 || ins.channel >= SBFM_MAXINSTR) |
ins | 133 | drivers/sound/opl3.c | printk ("FM Error: Invalid instrument number %d\n", ins.channel); |
ins | 137 | drivers/sound/opl3.c | pmgr_inform (dev, PM_E_PATCH_LOADED, ins.channel, 0, 0, 0); |
ins | 138 | drivers/sound/opl3.c | return store_instr (ins.channel, &ins); |
ins | 726 | drivers/sound/opl3.c | struct sbi_instrument ins; |
ins | 728 | drivers/sound/opl3.c | if (count < sizeof (ins)) |
ins | 734 | drivers/sound/opl3.c | COPY_FROM_USER (&((char *) &ins)[offs], (char *) addr, offs, sizeof (ins) - offs); |
ins | 736 | drivers/sound/opl3.c | if (ins.channel < 0 || ins.channel >= SBFM_MAXINSTR) |
ins | 738 | drivers/sound/opl3.c | printk ("FM Error: Invalid instrument number %d\n", ins.channel); |
ins | 741 | drivers/sound/opl3.c | ins.key = format; |
ins | 743 | drivers/sound/opl3.c | return store_instr (ins.channel, &ins); |