/kernel/linux/linux-5.10/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 | 807 if (oxfw->dev_lock_count < 0) { in snd_oxfw_stream_lock_try() 813 if (oxfw->dev_lock_count++ == 0) in snd_oxfw_stream_lock_try() 825 if (WARN_ON(oxfw->dev_lock_count <= 0)) in snd_oxfw_stream_lock_release() 827 if (--oxfw->dev_lock_count == 0) in snd_oxfw_stream_lock_release()
|
D | oxfw.h | 61 int dev_lock_count; member
|
/kernel/linux/linux-5.10/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 | 260 if (ff->dev_lock_count < 0) { in snd_ff_stream_lock_try() 266 if (ff->dev_lock_count++ == 0) in snd_ff_stream_lock_try() 278 if (WARN_ON(ff->dev_lock_count <= 0)) in snd_ff_stream_lock_release() 280 if (--ff->dev_lock_count == 0) in snd_ff_stream_lock_release()
|
D | ff.h | 98 int dev_lock_count; member
|
/kernel/linux/linux-5.10/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 | 432 if (dg00x->dev_lock_count < 0) { in snd_dg00x_stream_lock_try() 438 if (dg00x->dev_lock_count++ == 0) in snd_dg00x_stream_lock_try() 450 if (WARN_ON(dg00x->dev_lock_count <= 0)) in snd_dg00x_stream_lock_release() 452 if (--dg00x->dev_lock_count == 0) in snd_dg00x_stream_lock_release()
|
D | digi00x.h | 52 int dev_lock_count; member
|
/kernel/linux/linux-5.10/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 | 700 if (dice->dev_lock_count < 0) { in snd_dice_stream_lock_try() 705 if (dice->dev_lock_count++ == 0) in snd_dice_stream_lock_try() 717 if (WARN_ON(dice->dev_lock_count <= 0)) in snd_dice_stream_lock_release() 720 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
|
/kernel/linux/linux-5.10/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 | 384 if (motu->dev_lock_count < 0) { in snd_motu_stream_lock_try() 389 if (motu->dev_lock_count++ == 0) in snd_motu_stream_lock_try() 401 if (WARN_ON(motu->dev_lock_count <= 0)) in snd_motu_stream_lock_release() 404 if (--motu->dev_lock_count == 0) in snd_motu_stream_lock_release()
|
D | motu.h | 68 int dev_lock_count; member
|
/kernel/linux/linux-5.10/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 | 995 if (bebob->dev_lock_count < 0) { in snd_bebob_stream_lock_try() 1001 if (bebob->dev_lock_count++ == 0) in snd_bebob_stream_lock_try() 1013 if (WARN_ON(bebob->dev_lock_count <= 0)) in snd_bebob_stream_lock_release() 1015 if (--bebob->dev_lock_count == 0) in snd_bebob_stream_lock_release()
|
D | bebob.h | 109 int dev_lock_count; member
|
/kernel/linux/linux-5.10/sound/firewire/tascam/ |
D | tascam-hwdep.c | 26 event.status = (tscm->dev_lock_count > 0); in tscm_hwdep_read_locked() 172 if (tscm->dev_lock_count == 0) { in hwdep_lock() 173 tscm->dev_lock_count = -1; in hwdep_lock() 190 if (tscm->dev_lock_count == -1) { in hwdep_unlock() 191 tscm->dev_lock_count = 0; in hwdep_unlock() 215 if (tscm->dev_lock_count == -1) in hwdep_release() 216 tscm->dev_lock_count = 0; in hwdep_release()
|
D | tascam-stream.c | 521 if (tscm->dev_lock_count < 0) { in snd_tscm_stream_lock_try() 527 if (tscm->dev_lock_count++ == 0) in snd_tscm_stream_lock_try() 539 if (WARN_ON(tscm->dev_lock_count <= 0)) in snd_tscm_stream_lock_release() 541 if (--tscm->dev_lock_count == 0) in snd_tscm_stream_lock_release()
|
D | tascam.h | 83 int dev_lock_count; member
|
/kernel/linux/linux-5.10/sound/firewire/fireworks/ |
D | fireworks_hwdep.c | 107 event.lock_status.status = (efw->dev_lock_count > 0); in hwdep_read_locked() 231 if (efw->dev_lock_count == 0) { in hwdep_lock() 232 efw->dev_lock_count = -1; in hwdep_lock() 250 if (efw->dev_lock_count == -1) { in hwdep_unlock() 251 efw->dev_lock_count = 0; in hwdep_unlock() 268 if (efw->dev_lock_count == -1) in hwdep_release() 269 efw->dev_lock_count = 0; in hwdep_release()
|
D | fireworks_stream.c | 344 if (efw->dev_lock_count < 0) { in snd_efw_stream_lock_try() 350 if (efw->dev_lock_count++ == 0) in snd_efw_stream_lock_try() 362 if (WARN_ON(efw->dev_lock_count <= 0)) in snd_efw_stream_lock_release() 364 if (--efw->dev_lock_count == 0) in snd_efw_stream_lock_release()
|
D | fireworks.h | 102 int dev_lock_count; member
|