Lines Matching refs:p

90 #define SF_CLIENT_NO(p)	((p) + 0x1000)  argument
99 struct snd_emux_port *p; in snd_emux_open_seq_oss() local
115 p = snd_emux_create_port(emu, tmpname, 32, in snd_emux_open_seq_oss()
117 if (p == NULL) { in snd_emux_open_seq_oss()
124 arg->private_data = p; in snd_emux_open_seq_oss()
125 arg->addr.client = p->chset.client; in snd_emux_open_seq_oss()
126 arg->addr.port = p->chset.port; in snd_emux_open_seq_oss()
127 p->oss_arg = arg; in snd_emux_open_seq_oss()
129 reset_port_mode(p, arg->seq_mode); in snd_emux_open_seq_oss()
131 snd_emux_reset_port(p); in snd_emux_open_seq_oss()
165 struct snd_emux_port *p; in snd_emux_close_seq_oss() local
169 p = arg->private_data; in snd_emux_close_seq_oss()
170 if (snd_BUG_ON(!p)) in snd_emux_close_seq_oss()
173 emu = p->emu; in snd_emux_close_seq_oss()
177 snd_emux_sounds_off_all(p); in snd_emux_close_seq_oss()
178 snd_soundfont_close_check(emu->sflist, SF_CLIENT_NO(p->chset.port)); in snd_emux_close_seq_oss()
179 snd_seq_event_port_detach(p->chset.client, p->chset.port); in snd_emux_close_seq_oss()
194 struct snd_emux_port *p; in snd_emux_load_patch_seq_oss() local
199 p = arg->private_data; in snd_emux_load_patch_seq_oss()
200 if (snd_BUG_ON(!p)) in snd_emux_load_patch_seq_oss()
203 emu = p->emu; in snd_emux_load_patch_seq_oss()
209 SF_CLIENT_NO(p->chset.port)); in snd_emux_load_patch_seq_oss()
218 rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port)); in snd_emux_load_patch_seq_oss()
237 struct snd_emux_port *p; in snd_emux_ioctl_seq_oss() local
242 p = arg->private_data; in snd_emux_ioctl_seq_oss()
243 if (snd_BUG_ON(!p)) in snd_emux_ioctl_seq_oss()
246 emu = p->emu; in snd_emux_ioctl_seq_oss()
271 struct snd_emux_port *p; in snd_emux_reset_seq_oss() local
275 p = arg->private_data; in snd_emux_reset_seq_oss()
276 if (snd_BUG_ON(!p)) in snd_emux_reset_seq_oss()
278 snd_emux_reset_port(p); in snd_emux_reset_seq_oss()
291 struct snd_emux_port *p; in snd_emux_event_oss_input() local
294 p = private_data; in snd_emux_event_oss_input()
295 if (snd_BUG_ON(!p)) in snd_emux_event_oss_input()
297 emu = p->emu; in snd_emux_event_oss_input()
309 emuspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()
311 gusspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()