Lines Matching refs:dp
148 struct seq_oss_devinfo *dp; in odev_release() local
150 if ((dp = file->private_data) == NULL) in odev_release()
153 snd_seq_oss_drain_write(dp); in odev_release()
156 snd_seq_oss_release(dp); in odev_release()
165 struct seq_oss_devinfo *dp; in odev_read() local
166 dp = file->private_data; in odev_read()
167 if (snd_BUG_ON(!dp)) in odev_read()
169 return snd_seq_oss_read(dp, buf, count); in odev_read()
176 struct seq_oss_devinfo *dp; in odev_write() local
177 dp = file->private_data; in odev_write()
178 if (snd_BUG_ON(!dp)) in odev_write()
180 return snd_seq_oss_write(dp, buf, count, file); in odev_write()
186 struct seq_oss_devinfo *dp; in odev_ioctl() local
187 dp = file->private_data; in odev_ioctl()
188 if (snd_BUG_ON(!dp)) in odev_ioctl()
190 return snd_seq_oss_ioctl(dp, cmd, arg); in odev_ioctl()
202 struct seq_oss_devinfo *dp; in odev_poll() local
203 dp = file->private_data; in odev_poll()
204 if (snd_BUG_ON(!dp)) in odev_poll()
206 return snd_seq_oss_poll(dp, file, wait); in odev_poll()