tag | line | file | source code |
mbox | 38 | drivers/sound/patmgr.c | static struct patmgr_info *mbox[MAX_SYNTH_DEV] = |
mbox | 70 | drivers/sound/patmgr.c | if (mbox[dev]) /* |
mbox | 75 | drivers/sound/patmgr.c | mbox[dev]->key = PM_ERROR; |
mbox | 76 | drivers/sound/patmgr.c | mbox[dev]->parm1 = RET_ERROR (EIO); |
mbox | 101 | drivers/sound/patmgr.c | while (!(mbox[dev] && msg_direction[dev] == A_TO_S) && |
mbox | 107 | drivers/sound/patmgr.c | if (mbox[dev] && msg_direction[dev] == A_TO_S) |
mbox | 109 | drivers/sound/patmgr.c | COPY_TO_USER (buf, 0, (char *) mbox[dev], count); |
mbox | 134 | drivers/sound/patmgr.c | COPY_FROM_USER (mbox[dev], buf, 0, 4); |
mbox | 136 | drivers/sound/patmgr.c | if (*(unsigned char *) mbox[dev] == SEQ_FULLSIZE) |
mbox | 140 | drivers/sound/patmgr.c | tmp_dev = ((unsigned short *) mbox[dev])[2]; |
mbox | 144 | drivers/sound/patmgr.c | return synth_devs[dev]->load_patch (dev, *(unsigned short *) mbox[dev], |
mbox | 161 | drivers/sound/patmgr.c | if (mbox[dev] && !msg_direction[dev]) |
mbox | 163 | drivers/sound/patmgr.c | COPY_FROM_USER (&((char *) mbox[dev])[4], buf, 4, count - 4); |
mbox | 185 | drivers/sound/patmgr.c | if (mbox[dev]) |
mbox | 190 | drivers/sound/patmgr.c | mbox[dev] = rec; |
mbox | 212 | drivers/sound/patmgr.c | mbox[dev] = NULL; |
mbox | 233 | drivers/sound/patmgr.c | if (mbox[dev]) |
mbox | 237 | drivers/sound/patmgr.c | if ((mbox[dev] = |
mbox | 244 | drivers/sound/patmgr.c | mbox[dev]->key = PM_K_EVENT; |
mbox | 245 | drivers/sound/patmgr.c | mbox[dev]->command = event; |
mbox | 246 | drivers/sound/patmgr.c | mbox[dev]->parm1 = p1; |
mbox | 247 | drivers/sound/patmgr.c | mbox[dev]->parm2 = p2; |
mbox | 248 | drivers/sound/patmgr.c | mbox[dev]->parm3 = p3; |
mbox | 257 | drivers/sound/patmgr.c | if (mbox[dev]) |
mbox | 258 | drivers/sound/patmgr.c | KERNEL_FREE (mbox[dev]); |
mbox | 259 | drivers/sound/patmgr.c | mbox[dev] = NULL; |