/sound/firewire/bebob/ |
D | bebob_hwdep.c | 42 event.lock_status.status = (bebob->dev_lock_count > 0); in hwdep_read() 99 if (bebob->dev_lock_count == 0) { in hwdep_lock() 100 bebob->dev_lock_count = -1; in hwdep_lock() 118 if (bebob->dev_lock_count == -1) { in hwdep_unlock() 119 bebob->dev_lock_count = 0; in hwdep_unlock() 136 if (bebob->dev_lock_count == -1) in hwdep_release() 137 bebob->dev_lock_count = 0; in hwdep_release()
|
D | bebob_stream.c | 978 if (bebob->dev_lock_count < 0) { in snd_bebob_stream_lock_try() 984 if (bebob->dev_lock_count++ == 0) in snd_bebob_stream_lock_try() 996 if (WARN_ON(bebob->dev_lock_count <= 0)) in snd_bebob_stream_lock_release() 998 if (--bebob->dev_lock_count == 0) in snd_bebob_stream_lock_release()
|
D | bebob.h | 109 int dev_lock_count; member
|
/sound/firewire/digi00x/ |
D | digi00x-hwdep.c | 41 event.lock_status.status = (dg00x->dev_lock_count > 0); in hwdep_read() 105 if (dg00x->dev_lock_count == 0) { in hwdep_lock() 106 dg00x->dev_lock_count = -1; in hwdep_lock() 123 if (dg00x->dev_lock_count == -1) { in hwdep_unlock() 124 dg00x->dev_lock_count = 0; in hwdep_unlock() 140 if (dg00x->dev_lock_count == -1) in hwdep_release() 141 dg00x->dev_lock_count = 0; in hwdep_release()
|
D | digi00x-stream.c | 424 if (dg00x->dev_lock_count < 0) { in snd_dg00x_stream_lock_try() 430 if (dg00x->dev_lock_count++ == 0) in snd_dg00x_stream_lock_try() 442 if (WARN_ON(dg00x->dev_lock_count <= 0)) in snd_dg00x_stream_lock_release() 444 if (--dg00x->dev_lock_count == 0) in snd_dg00x_stream_lock_release()
|
D | digi00x.h | 52 int dev_lock_count; member
|
/sound/firewire/fireface/ |
D | ff-hwdep.c | 40 event.lock_status.status = (ff->dev_lock_count > 0); in hwdep_read() 97 if (ff->dev_lock_count == 0) { in hwdep_lock() 98 ff->dev_lock_count = -1; in hwdep_lock() 115 if (ff->dev_lock_count == -1) { in hwdep_unlock() 116 ff->dev_lock_count = 0; in hwdep_unlock() 132 if (ff->dev_lock_count == -1) in hwdep_release() 133 ff->dev_lock_count = 0; in hwdep_release()
|
D | ff-stream.c | 250 if (ff->dev_lock_count < 0) { in snd_ff_stream_lock_try() 256 if (ff->dev_lock_count++ == 0) in snd_ff_stream_lock_try() 268 if (WARN_ON(ff->dev_lock_count <= 0)) in snd_ff_stream_lock_release() 270 if (--ff->dev_lock_count == 0) in snd_ff_stream_lock_release()
|
D | ff.h | 91 int dev_lock_count; member
|
/sound/firewire/dice/ |
D | dice-hwdep.c | 33 event.lock_status.status = dice->dev_lock_count > 0; in hwdep_read() 97 if (dice->dev_lock_count == 0) { in hwdep_lock() 98 dice->dev_lock_count = -1; in hwdep_lock() 115 if (dice->dev_lock_count == -1) { in hwdep_unlock() 116 dice->dev_lock_count = 0; in hwdep_unlock() 132 if (dice->dev_lock_count == -1) in hwdep_release() 133 dice->dev_lock_count = 0; in hwdep_release()
|
D | dice-stream.c | 696 if (dice->dev_lock_count < 0) { in snd_dice_stream_lock_try() 701 if (dice->dev_lock_count++ == 0) in snd_dice_stream_lock_try() 713 if (WARN_ON(dice->dev_lock_count <= 0)) in snd_dice_stream_lock_release() 716 if (--dice->dev_lock_count == 0) in snd_dice_stream_lock_release()
|
D | dice.h | 103 int dev_lock_count; /* > 0 driver, < 0 userspace */ member
|
/sound/firewire/oxfw/ |
D | oxfw-hwdep.c | 40 event.lock_status.status = (oxfw->dev_lock_count > 0); in hwdep_read() 97 if (oxfw->dev_lock_count == 0) { in hwdep_lock() 98 oxfw->dev_lock_count = -1; in hwdep_lock() 115 if (oxfw->dev_lock_count == -1) { in hwdep_unlock() 116 oxfw->dev_lock_count = 0; in hwdep_unlock() 132 if (oxfw->dev_lock_count == -1) in hwdep_release() 133 oxfw->dev_lock_count = 0; in hwdep_release()
|
D | oxfw-stream.c | 782 if (oxfw->dev_lock_count < 0) { in snd_oxfw_stream_lock_try() 788 if (oxfw->dev_lock_count++ == 0) in snd_oxfw_stream_lock_try() 800 if (WARN_ON(oxfw->dev_lock_count <= 0)) in snd_oxfw_stream_lock_release() 802 if (--oxfw->dev_lock_count == 0) in snd_oxfw_stream_lock_release()
|
D | oxfw.h | 60 int dev_lock_count; member
|
/sound/firewire/motu/ |
D | motu-hwdep.c | 41 event.lock_status.status = (motu->dev_lock_count > 0); in hwdep_read() 104 if (motu->dev_lock_count == 0) { in hwdep_lock() 105 motu->dev_lock_count = -1; in hwdep_lock() 122 if (motu->dev_lock_count == -1) { in hwdep_unlock() 123 motu->dev_lock_count = 0; in hwdep_unlock() 139 if (motu->dev_lock_count == -1) in hwdep_release() 140 motu->dev_lock_count = 0; in hwdep_release()
|
D | motu-stream.c | 374 if (motu->dev_lock_count < 0) { in snd_motu_stream_lock_try() 379 if (motu->dev_lock_count++ == 0) in snd_motu_stream_lock_try() 391 if (WARN_ON(motu->dev_lock_count <= 0)) in snd_motu_stream_lock_release() 394 if (--motu->dev_lock_count == 0) in snd_motu_stream_lock_release()
|
D | motu.h | 69 int dev_lock_count; member
|
/sound/firewire/tascam/ |
D | tascam-hwdep.c | 25 event.status = (tscm->dev_lock_count > 0); in tscm_hwdep_read_locked() 170 if (tscm->dev_lock_count == 0) { in hwdep_lock() 171 tscm->dev_lock_count = -1; in hwdep_lock() 188 if (tscm->dev_lock_count == -1) { in hwdep_unlock() 189 tscm->dev_lock_count = 0; in hwdep_unlock() 213 if (tscm->dev_lock_count == -1) in hwdep_release() 214 tscm->dev_lock_count = 0; in hwdep_release()
|
D | tascam-stream.c | 511 if (tscm->dev_lock_count < 0) { in snd_tscm_stream_lock_try() 517 if (tscm->dev_lock_count++ == 0) in snd_tscm_stream_lock_try() 529 if (WARN_ON(tscm->dev_lock_count <= 0)) in snd_tscm_stream_lock_release() 531 if (--tscm->dev_lock_count == 0) in snd_tscm_stream_lock_release()
|
D | tascam.h | 83 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 | 334 if (efw->dev_lock_count < 0) { in snd_efw_stream_lock_try() 340 if (efw->dev_lock_count++ == 0) in snd_efw_stream_lock_try() 352 if (WARN_ON(efw->dev_lock_count <= 0)) in snd_efw_stream_lock_release() 354 if (--efw->dev_lock_count == 0) in snd_efw_stream_lock_release()
|
D | fireworks.h | 102 int dev_lock_count; member
|