/sound/firewire/tascam/ |
D | tascam-hwdep.c | 40 event.lock_status.status = (tscm->dev_lock_count > 0); in hwdep_read() 96 if (tscm->dev_lock_count == 0) { in hwdep_lock() 97 tscm->dev_lock_count = -1; in hwdep_lock() 114 if (tscm->dev_lock_count == -1) { in hwdep_unlock() 115 tscm->dev_lock_count = 0; in hwdep_unlock() 131 if (tscm->dev_lock_count == -1) in hwdep_release() 132 tscm->dev_lock_count = 0; in hwdep_release()
|
D | tascam-stream.c | 484 if (tscm->dev_lock_count < 0) { in snd_tscm_stream_lock_try() 490 if (tscm->dev_lock_count++ == 0) in snd_tscm_stream_lock_try() 502 if (WARN_ON(tscm->dev_lock_count <= 0)) in snd_tscm_stream_lock_release() 504 if (--tscm->dev_lock_count == 0) in snd_tscm_stream_lock_release()
|
D | tascam.h | 82 int dev_lock_count; member
|
/sound/firewire/bebob/ |
D | bebob_hwdep.c | 42 event.lock_status.status = (bebob->dev_lock_count > 0); in hwdep_read() 101 if (bebob->dev_lock_count == 0) { in hwdep_lock() 102 bebob->dev_lock_count = -1; in hwdep_lock() 120 if (bebob->dev_lock_count == -1) { in hwdep_unlock() 121 bebob->dev_lock_count = 0; in hwdep_unlock() 138 if (bebob->dev_lock_count == -1) in hwdep_release() 139 bebob->dev_lock_count = 0; in hwdep_release()
|
D | bebob_stream.c | 980 if (bebob->dev_lock_count < 0) { in snd_bebob_stream_lock_try() 986 if (bebob->dev_lock_count++ == 0) in snd_bebob_stream_lock_try() 998 if (WARN_ON(bebob->dev_lock_count <= 0)) in snd_bebob_stream_lock_release() 1000 if (--bebob->dev_lock_count == 0) in snd_bebob_stream_lock_release()
|
D | bebob.h | 112 int dev_lock_count; member
|
/sound/firewire/dice/ |
D | dice-hwdep.c | 34 event.lock_status.status = dice->dev_lock_count > 0; in hwdep_read() 98 if (dice->dev_lock_count == 0) { in hwdep_lock() 99 dice->dev_lock_count = -1; in hwdep_lock() 116 if (dice->dev_lock_count == -1) { in hwdep_unlock() 117 dice->dev_lock_count = 0; in hwdep_unlock() 133 if (dice->dev_lock_count == -1) in hwdep_release() 134 dice->dev_lock_count = 0; in hwdep_release()
|
D | dice-stream.c | 499 if (dice->dev_lock_count < 0) { in snd_dice_stream_lock_try() 504 if (dice->dev_lock_count++ == 0) in snd_dice_stream_lock_try() 516 if (WARN_ON(dice->dev_lock_count <= 0)) in snd_dice_stream_lock_release() 519 if (--dice->dev_lock_count == 0) in snd_dice_stream_lock_release()
|
D | dice.h | 89 int dev_lock_count; /* > 0 driver, < 0 userspace */ member
|
/sound/firewire/digi00x/ |
D | digi00x-hwdep.c | 42 event.lock_status.status = (dg00x->dev_lock_count > 0); in hwdep_read() 106 if (dg00x->dev_lock_count == 0) { in hwdep_lock() 107 dg00x->dev_lock_count = -1; in hwdep_lock() 124 if (dg00x->dev_lock_count == -1) { in hwdep_unlock() 125 dg00x->dev_lock_count = 0; in hwdep_unlock() 141 if (dg00x->dev_lock_count == -1) in hwdep_release() 142 dg00x->dev_lock_count = 0; in hwdep_release()
|
D | digi00x-stream.c | 398 if (dg00x->dev_lock_count < 0) { in snd_dg00x_stream_lock_try() 404 if (dg00x->dev_lock_count++ == 0) in snd_dg00x_stream_lock_try() 416 if (WARN_ON(dg00x->dev_lock_count <= 0)) in snd_dg00x_stream_lock_release() 418 if (--dg00x->dev_lock_count == 0) in snd_dg00x_stream_lock_release()
|
D | digi00x.h | 53 int dev_lock_count; member
|
/sound/firewire/oxfw/ |
D | oxfw-hwdep.c | 41 event.lock_status.status = (oxfw->dev_lock_count > 0); in hwdep_read() 98 if (oxfw->dev_lock_count == 0) { in hwdep_lock() 99 oxfw->dev_lock_count = -1; in hwdep_lock() 116 if (oxfw->dev_lock_count == -1) { in hwdep_unlock() 117 oxfw->dev_lock_count = 0; in hwdep_unlock() 133 if (oxfw->dev_lock_count == -1) in hwdep_release() 134 oxfw->dev_lock_count = 0; in hwdep_release()
|
D | oxfw-stream.c | 706 if (oxfw->dev_lock_count < 0) { in snd_oxfw_stream_lock_try() 712 if (oxfw->dev_lock_count++ == 0) in snd_oxfw_stream_lock_try() 724 if (WARN_ON(oxfw->dev_lock_count <= 0)) in snd_oxfw_stream_lock_release() 726 if (--oxfw->dev_lock_count == 0) in snd_oxfw_stream_lock_release()
|
D | oxfw.h | 61 int dev_lock_count; member
|
/sound/firewire/motu/ |
D | motu-hwdep.c | 42 event.lock_status.status = (motu->dev_lock_count > 0); in hwdep_read() 105 if (motu->dev_lock_count == 0) { in hwdep_lock() 106 motu->dev_lock_count = -1; in hwdep_lock() 123 if (motu->dev_lock_count == -1) { in hwdep_unlock() 124 motu->dev_lock_count = 0; in hwdep_unlock() 140 if (motu->dev_lock_count == -1) in hwdep_release() 141 motu->dev_lock_count = 0; in hwdep_release()
|
D | motu-stream.c | 391 if (motu->dev_lock_count < 0) { in snd_motu_stream_lock_try() 396 if (motu->dev_lock_count++ == 0) in snd_motu_stream_lock_try() 408 if (WARN_ON(motu->dev_lock_count <= 0)) in snd_motu_stream_lock_release() 411 if (--motu->dev_lock_count == 0) in snd_motu_stream_lock_release()
|
D | motu.h | 71 int dev_lock_count; member
|
/sound/firewire/fireface/ |
D | ff-hwdep.c | 41 event.lock_status.status = (ff->dev_lock_count > 0); in hwdep_read() 98 if (ff->dev_lock_count == 0) { in hwdep_lock() 99 ff->dev_lock_count = -1; in hwdep_lock() 116 if (ff->dev_lock_count == -1) { in hwdep_unlock() 117 ff->dev_lock_count = 0; in hwdep_unlock() 133 if (ff->dev_lock_count == -1) in hwdep_release() 134 ff->dev_lock_count = 0; in hwdep_release()
|
D | ff-stream.c | 258 if (ff->dev_lock_count < 0) { in snd_ff_stream_lock_try() 264 if (ff->dev_lock_count++ == 0) in snd_ff_stream_lock_try() 276 if (WARN_ON(ff->dev_lock_count <= 0)) in snd_ff_stream_lock_release() 278 if (--ff->dev_lock_count == 0) in snd_ff_stream_lock_release()
|
D | ff.h | 84 int dev_lock_count; member
|
/sound/firewire/fireworks/ |
D | fireworks_hwdep.c | 108 event.lock_status.status = (efw->dev_lock_count > 0); in hwdep_read_locked() 232 if (efw->dev_lock_count == 0) { in hwdep_lock() 233 efw->dev_lock_count = -1; in hwdep_lock() 251 if (efw->dev_lock_count == -1) { in hwdep_unlock() 252 efw->dev_lock_count = 0; in hwdep_unlock() 269 if (efw->dev_lock_count == -1) in hwdep_release() 270 efw->dev_lock_count = 0; in hwdep_release()
|
D | fireworks_stream.c | 295 if (efw->dev_lock_count < 0) { in snd_efw_stream_lock_try() 301 if (efw->dev_lock_count++ == 0) in snd_efw_stream_lock_try() 313 if (WARN_ON(efw->dev_lock_count <= 0)) in snd_efw_stream_lock_release() 315 if (--efw->dev_lock_count == 0) in snd_efw_stream_lock_release()
|
D | fireworks.h | 104 int dev_lock_count; member
|