/linux-6.12.1/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 | 684 if (dice->dev_lock_count < 0) { in snd_dice_stream_lock_try() 689 if (dice->dev_lock_count++ == 0) in snd_dice_stream_lock_try() 701 if (WARN_ON(dice->dev_lock_count <= 0)) in snd_dice_stream_lock_release() 704 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-6.12.1/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-6.12.1/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 | 435 if (dg00x->dev_lock_count < 0) { in snd_dg00x_stream_lock_try() 441 if (dg00x->dev_lock_count++ == 0) in snd_dg00x_stream_lock_try() 453 if (WARN_ON(dg00x->dev_lock_count <= 0)) in snd_dg00x_stream_lock_release() 455 if (--dg00x->dev_lock_count == 0) in snd_dg00x_stream_lock_release()
|
D | digi00x.h | 49 int dev_lock_count; member
|
/linux-6.12.1/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 | 874 if (oxfw->dev_lock_count < 0) { in snd_oxfw_stream_lock_try() 880 if (oxfw->dev_lock_count++ == 0) in snd_oxfw_stream_lock_try() 892 if (WARN_ON(oxfw->dev_lock_count <= 0)) in snd_oxfw_stream_lock_release() 894 if (--oxfw->dev_lock_count == 0) in snd_oxfw_stream_lock_release()
|
D | oxfw.h | 86 int dev_lock_count; member
|
/linux-6.12.1/sound/firewire/fireface/ ! |
D | ff-hwdep.c | 47 .status = (ff->dev_lock_count > 0), in hwdep_read() 114 if (ff->dev_lock_count == 0) { in hwdep_lock() 115 ff->dev_lock_count = -1; in hwdep_lock() 132 if (ff->dev_lock_count == -1) { in hwdep_unlock() 133 ff->dev_lock_count = 0; in hwdep_unlock() 149 if (ff->dev_lock_count == -1) in hwdep_release() 150 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-6.12.1/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-6.12.1/sound/firewire/motu/ ! |
D | motu-hwdep.c | 49 event.lock_status.status = (motu->dev_lock_count > 0); in hwdep_read() 142 if (motu->dev_lock_count == 0) { in hwdep_lock() 143 motu->dev_lock_count = -1; in hwdep_lock() 160 if (motu->dev_lock_count == -1) { in hwdep_unlock() 161 motu->dev_lock_count = 0; in hwdep_unlock() 177 if (motu->dev_lock_count == -1) in hwdep_release() 178 motu->dev_lock_count = 0; in hwdep_release()
|
D | motu-stream.c | 414 if (motu->dev_lock_count < 0) { in snd_motu_stream_lock_try() 419 if (motu->dev_lock_count++ == 0) in snd_motu_stream_lock_try() 431 if (WARN_ON(motu->dev_lock_count <= 0)) in snd_motu_stream_lock_release() 434 if (--motu->dev_lock_count == 0) in snd_motu_stream_lock_release()
|
D | motu.h | 74 int dev_lock_count; member
|
/linux-6.12.1/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 | 353 if (efw->dev_lock_count < 0) { in snd_efw_stream_lock_try() 359 if (efw->dev_lock_count++ == 0) in snd_efw_stream_lock_try() 371 if (WARN_ON(efw->dev_lock_count <= 0)) in snd_efw_stream_lock_release() 373 if (--efw->dev_lock_count == 0) in snd_efw_stream_lock_release()
|
D | fireworks.h | 99 int dev_lock_count; member
|