| /linux/sound/firewire/bebob/ |
| H A D | bebob_hwdep.c | 41 event.lock_status.status = (bebob->dev_lock_count > 0); in hwdep_read() 91 if (bebob->dev_lock_count == 0) { in hwdep_lock() 92 bebob->dev_lock_count = -1; in hwdep_lock() 104 if (bebob->dev_lock_count == -1) { in hwdep_unlock() 105 bebob->dev_lock_count = 0; in hwdep_unlock() 118 if (bebob->dev_lock_count == -1) in hwdep_release() 119 bebob->dev_lock_count = 0; in hwdep_release()
|
| H A D | bebob_stream.c | 970 if (bebob->dev_lock_count < 0) in snd_bebob_stream_lock_try() 974 if (bebob->dev_lock_count++ == 0) in snd_bebob_stream_lock_try() 983 if (WARN_ON(bebob->dev_lock_count <= 0)) in snd_bebob_stream_lock_release() 985 if (--bebob->dev_lock_count == 0) in snd_bebob_stream_lock_release()
|
| H A D | bebob.h | 111 int dev_lock_count; member
|
| /linux/sound/firewire/oxfw/ |
| H A D | oxfw-hwdep.c | 39 event.lock_status.status = (oxfw->dev_lock_count > 0); in hwdep_read() 89 if (oxfw->dev_lock_count == 0) { in hwdep_lock() 90 oxfw->dev_lock_count = -1; in hwdep_lock() 101 if (oxfw->dev_lock_count == -1) { in hwdep_unlock() 102 oxfw->dev_lock_count = 0; in hwdep_unlock() 114 if (oxfw->dev_lock_count == -1) in hwdep_release() 115 oxfw->dev_lock_count = 0; in hwdep_release()
|
| H A D | oxfw-stream.c | 872 if (oxfw->dev_lock_count < 0) in snd_oxfw_stream_lock_try() 876 if (oxfw->dev_lock_count++ == 0) in snd_oxfw_stream_lock_try() 885 if (WARN_ON(oxfw->dev_lock_count <= 0)) in snd_oxfw_stream_lock_release() 887 if (--oxfw->dev_lock_count == 0) in snd_oxfw_stream_lock_release()
|
| H A D | oxfw.h | 86 int dev_lock_count; member
|
| /linux/sound/firewire/digi00x/ |
| H A D | digi00x-hwdep.c | 41 event.lock_status.status = (dg00x->dev_lock_count > 0); in hwdep_read() 99 if (dg00x->dev_lock_count == 0) { in hwdep_lock() 100 dg00x->dev_lock_count = -1; in hwdep_lock() 111 if (dg00x->dev_lock_count == -1) { in hwdep_unlock() 112 dg00x->dev_lock_count = 0; in hwdep_unlock() 124 if (dg00x->dev_lock_count == -1) in hwdep_release() 125 dg00x->dev_lock_count = 0; in hwdep_release()
|
| H A D | digi00x-stream.c | 433 if (dg00x->dev_lock_count < 0) in snd_dg00x_stream_lock_try() 437 if (dg00x->dev_lock_count++ == 0) in snd_dg00x_stream_lock_try() 446 if (WARN_ON(dg00x->dev_lock_count <= 0)) in snd_dg00x_stream_lock_release() 448 if (--dg00x->dev_lock_count == 0) in snd_dg00x_stream_lock_release()
|
| H A D | digi00x.h | 49 int dev_lock_count; member
|
| /linux/sound/firewire/dice/ |
| H A D | dice-hwdep.c | 33 event.lock_status.status = dice->dev_lock_count > 0; in hwdep_read() 91 if (dice->dev_lock_count == 0) { in hwdep_lock() 92 dice->dev_lock_count = -1; in hwdep_lock() 103 if (dice->dev_lock_count == -1) { in hwdep_unlock() 104 dice->dev_lock_count = 0; in hwdep_unlock() 116 if (dice->dev_lock_count == -1) in hwdep_release() 117 dice->dev_lock_count = 0; in hwdep_release()
|
| H A D | dice-stream.c | 682 if (dice->dev_lock_count < 0) in snd_dice_stream_lock_try() 685 if (dice->dev_lock_count++ == 0) in snd_dice_stream_lock_try() 694 if (WARN_ON(dice->dev_lock_count <= 0)) in snd_dice_stream_lock_release() 697 if (--dice->dev_lock_count == 0) in snd_dice_stream_lock_release()
|
| H A D | dice.h | 99 int dev_lock_count; /* > 0 driver, < 0 userspace */ member
|
| /linux/sound/firewire/fireface/ |
| H A D | ff-hwdep.c | 47 .status = (ff->dev_lock_count > 0), in hwdep_read() 108 if (ff->dev_lock_count == 0) { in hwdep_lock() 109 ff->dev_lock_count = -1; in hwdep_lock() 120 if (ff->dev_lock_count == -1) { in hwdep_unlock() 121 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()
|
| H A D | ff-stream.c | 259 if (ff->dev_lock_count < 0) in snd_ff_stream_lock_try() 263 if (ff->dev_lock_count++ == 0) in snd_ff_stream_lock_try() 272 if (WARN_ON(ff->dev_lock_count <= 0)) in snd_ff_stream_lock_release() 274 if (--ff->dev_lock_count == 0) in snd_ff_stream_lock_release()
|
| H A D | ff.h | 95 int dev_lock_count; member
|
| /linux/sound/firewire/tascam/ |
| H A D | tascam-hwdep.c | 26 event.status = (tscm->dev_lock_count > 0); in tscm_hwdep_read_locked() 166 if (tscm->dev_lock_count == 0) { in hwdep_lock() 167 tscm->dev_lock_count = -1; in hwdep_lock() 178 if (tscm->dev_lock_count == -1) { in hwdep_unlock() 179 tscm->dev_lock_count = 0; in hwdep_unlock() 199 if (tscm->dev_lock_count == -1) in hwdep_release() 200 tscm->dev_lock_count = 0; in hwdep_release()
|
| H A D | tascam-stream.c | 534 if (tscm->dev_lock_count < 0) in snd_tscm_stream_lock_try() 538 if (tscm->dev_lock_count++ == 0) in snd_tscm_stream_lock_try() 547 if (WARN_ON(tscm->dev_lock_count <= 0)) in snd_tscm_stream_lock_release() 549 if (--tscm->dev_lock_count == 0) in snd_tscm_stream_lock_release()
|
| H A D | tascam.h | 81 int dev_lock_count; member
|
| /linux/sound/firewire/fireworks/ |
| H A D | fireworks_hwdep.c | 107 event.lock_status.status = (efw->dev_lock_count > 0); in hwdep_read_locked() 226 if (efw->dev_lock_count == 0) { in hwdep_lock() 227 efw->dev_lock_count = -1; in hwdep_lock() 239 if (efw->dev_lock_count == -1) { in hwdep_unlock() 240 efw->dev_lock_count = 0; in hwdep_unlock() 253 if (efw->dev_lock_count == -1) in hwdep_release() 254 efw->dev_lock_count = 0; in hwdep_release()
|
| H A D | fireworks_stream.c | 351 if (efw->dev_lock_count < 0) in snd_efw_stream_lock_try() 355 if (efw->dev_lock_count++ == 0) in snd_efw_stream_lock_try() 364 if (WARN_ON(efw->dev_lock_count <= 0)) in snd_efw_stream_lock_release() 366 if (--efw->dev_lock_count == 0) in snd_efw_stream_lock_release()
|
| H A D | fireworks.h | 99 int dev_lock_count; member
|
| /linux/sound/firewire/motu/ |
| H A D | motu-hwdep.c | 49 event.lock_status.status = (motu->dev_lock_count > 0); in hwdep_read() 137 if (motu->dev_lock_count == 0) { in hwdep_lock() 138 motu->dev_lock_count = -1; in hwdep_lock() 149 if (motu->dev_lock_count == -1) { in hwdep_unlock() 150 motu->dev_lock_count = 0; in hwdep_unlock() 162 if (motu->dev_lock_count == -1) in hwdep_release() 163 motu->dev_lock_count = 0; in hwdep_release()
|
| H A D | motu-stream.c | 412 if (motu->dev_lock_count < 0) in snd_motu_stream_lock_try() 415 if (motu->dev_lock_count++ == 0) in snd_motu_stream_lock_try() 424 if (WARN_ON(motu->dev_lock_count <= 0)) in snd_motu_stream_lock_release() 427 if (--motu->dev_lock_count == 0) in snd_motu_stream_lock_release()
|
| H A D | motu.h | 74 int dev_lock_count; member
|