/Linux-v5.15/sound/firewire/oxfw/ |
D | oxfw-hwdep.c | 39 event.lock_status.status = (oxfw->dev_lock_count > 0); in hwdep_read() 95 if (oxfw->dev_lock_count == 0) { in hwdep_lock() 96 oxfw->dev_lock_count = -1; in hwdep_lock() 113 if (oxfw->dev_lock_count == -1) { in hwdep_unlock() 114 oxfw->dev_lock_count = 0; in hwdep_unlock() 130 if (oxfw->dev_lock_count == -1) in hwdep_release() 131 oxfw->dev_lock_count = 0; in hwdep_release()
|
D | oxfw-stream.c | 817 if (oxfw->dev_lock_count < 0) { in snd_oxfw_stream_lock_try() 823 if (oxfw->dev_lock_count++ == 0) in snd_oxfw_stream_lock_try() 835 if (WARN_ON(oxfw->dev_lock_count <= 0)) in snd_oxfw_stream_lock_release() 837 if (--oxfw->dev_lock_count == 0) in snd_oxfw_stream_lock_release()
|
D | oxfw.h | 76 int dev_lock_count; member
|
/Linux-v5.15/sound/firewire/bebob/ |
D | bebob_hwdep.c | 41 event.lock_status.status = (bebob->dev_lock_count > 0); in hwdep_read() 97 if (bebob->dev_lock_count == 0) { in hwdep_lock() 98 bebob->dev_lock_count = -1; in hwdep_lock() 116 if (bebob->dev_lock_count == -1) { in hwdep_unlock() 117 bebob->dev_lock_count = 0; in hwdep_unlock() 134 if (bebob->dev_lock_count == -1) in hwdep_release() 135 bebob->dev_lock_count = 0; in hwdep_release()
|
D | bebob_stream.c | 972 if (bebob->dev_lock_count < 0) { in snd_bebob_stream_lock_try() 978 if (bebob->dev_lock_count++ == 0) in snd_bebob_stream_lock_try() 990 if (WARN_ON(bebob->dev_lock_count <= 0)) in snd_bebob_stream_lock_release() 992 if (--bebob->dev_lock_count == 0) in snd_bebob_stream_lock_release()
|
D | bebob.h | 111 int dev_lock_count; member
|
/Linux-v5.15/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 | 404 if (motu->dev_lock_count < 0) { in snd_motu_stream_lock_try() 409 if (motu->dev_lock_count++ == 0) in snd_motu_stream_lock_try() 421 if (WARN_ON(motu->dev_lock_count <= 0)) in snd_motu_stream_lock_release() 424 if (--motu->dev_lock_count == 0) in snd_motu_stream_lock_release()
|
D | motu.h | 74 int dev_lock_count; member
|
/Linux-v5.15/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 | 433 if (dg00x->dev_lock_count < 0) { in snd_dg00x_stream_lock_try() 439 if (dg00x->dev_lock_count++ == 0) in snd_dg00x_stream_lock_try() 451 if (WARN_ON(dg00x->dev_lock_count <= 0)) in snd_dg00x_stream_lock_release() 453 if (--dg00x->dev_lock_count == 0) in snd_dg00x_stream_lock_release()
|
D | digi00x.h | 49 int dev_lock_count; member
|
/Linux-v5.15/sound/firewire/fireface/ |
D | ff-hwdep.c | 39 event.lock_status.status = (ff->dev_lock_count > 0); in hwdep_read() 95 if (ff->dev_lock_count == 0) { in hwdep_lock() 96 ff->dev_lock_count = -1; in hwdep_lock() 113 if (ff->dev_lock_count == -1) { in hwdep_unlock() 114 ff->dev_lock_count = 0; in hwdep_unlock() 130 if (ff->dev_lock_count == -1) in hwdep_release() 131 ff->dev_lock_count = 0; in hwdep_release()
|
D | ff-stream.c | 261 if (ff->dev_lock_count < 0) { in snd_ff_stream_lock_try() 267 if (ff->dev_lock_count++ == 0) in snd_ff_stream_lock_try() 279 if (WARN_ON(ff->dev_lock_count <= 0)) in snd_ff_stream_lock_release() 281 if (--ff->dev_lock_count == 0) in snd_ff_stream_lock_release()
|
D | ff.h | 95 int dev_lock_count; member
|
/Linux-v5.15/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 | 682 if (dice->dev_lock_count < 0) { in snd_dice_stream_lock_try() 687 if (dice->dev_lock_count++ == 0) in snd_dice_stream_lock_try() 699 if (WARN_ON(dice->dev_lock_count <= 0)) in snd_dice_stream_lock_release() 702 if (--dice->dev_lock_count == 0) in snd_dice_stream_lock_release()
|
D | dice.h | 99 int dev_lock_count; /* > 0 driver, < 0 userspace */ member
|
/Linux-v5.15/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 | 535 if (tscm->dev_lock_count < 0) { in snd_tscm_stream_lock_try() 541 if (tscm->dev_lock_count++ == 0) in snd_tscm_stream_lock_try() 553 if (WARN_ON(tscm->dev_lock_count <= 0)) in snd_tscm_stream_lock_release() 555 if (--tscm->dev_lock_count == 0) in snd_tscm_stream_lock_release()
|
D | tascam.h | 81 int dev_lock_count; member
|
/Linux-v5.15/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 | 352 if (efw->dev_lock_count < 0) { in snd_efw_stream_lock_try() 358 if (efw->dev_lock_count++ == 0) in snd_efw_stream_lock_try() 370 if (WARN_ON(efw->dev_lock_count <= 0)) in snd_efw_stream_lock_release() 372 if (--efw->dev_lock_count == 0) in snd_efw_stream_lock_release()
|
D | fireworks.h | 99 int dev_lock_count; member
|