Lines Matching defs:hwdep
54 struct snd_hwdep *hwdep = opl3->hwdep;
56 mutex_lock(&hwdep->open_mutex);
57 if (hwdep->used) {
58 mutex_unlock(&hwdep->open_mutex);
61 hwdep->used++;
62 mutex_unlock(&hwdep->open_mutex);
85 struct snd_hwdep *hwdep;
96 hwdep = opl3->hwdep;
97 mutex_lock(&hwdep->open_mutex);
98 hwdep->used--;
99 mutex_unlock(&hwdep->open_mutex);
100 wake_up(&hwdep->open_wait);