Home
last modified time | relevance | path

Searched refs:locked (Results 1 – 11 of 11) sorted by relevance

/sound/core/seq/
Dseq_queue.h29 bool locked; /* timer is only accesibble by owner if set */ member
57 struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int flags);
86 int snd_seq_queue_set_owner(int queueid, int client, int locked);
87 int snd_seq_queue_set_locked(int queueid, int client, int locked);
Dseq_queue.c96 static struct snd_seq_queue *queue_new(int owner, int locked) in queue_new() argument
122 q->locked = locked; in queue_new()
168 struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int info_flags) in snd_seq_queue_alloc() argument
172 q = queue_new(client, locked); in snd_seq_queue_alloc()
356 return (q->owner == client) || (!q->locked && !q->klocked); in check_access()
406 int snd_seq_queue_set_owner(int queueid, int client, int locked) in snd_seq_queue_set_owner() argument
420 q->locked = locked ? 1 : 0; in snd_seq_queue_set_owner()
739 bool locked; in snd_seq_info_queues_read() local
754 locked = q->locked; in snd_seq_info_queues_read()
760 snd_iprintf(buffer, "lock status : %s\n", locked ? "Locked" : "Free"); in snd_seq_info_queues_read()
Dseq_clientmgr.c1558 q = snd_seq_queue_alloc(client->number, info->locked, info->flags); in snd_seq_ioctl_create_queue()
1563 info->locked = q->locked; in snd_seq_ioctl_create_queue()
1597 info->locked = q->locked; in snd_seq_ioctl_get_queue_info()
1616 if (snd_seq_queue_set_owner(info->queue, client->number, info->locked) < 0) in snd_seq_ioctl_set_queue_info()
1618 if (info->locked) in snd_seq_ioctl_set_queue_info()
1649 info->locked = q->locked; in snd_seq_ioctl_get_named_queue()
/sound/oss/dmasound/
Ddmasound_core.c453 if (sq->locked) { /* are we already set? - and not changeable */ in sq_setup()
459 sq->locked = 1 ; /* don't think we have a race prob. here _check_ */ in sq_setup()
575 if (write_sq.locked == 0) { in sq_write()
674 if (write_sq.locked == 0) { in sq_poll()
828 write_sq.locked = 0 ; in sq_reset_output()
938 if (write_sq.locked) in queues_are_quiescent()
955 if (sq->locked) { in set_queue_frags()
1011 if ( !write_sq.locked ) in sq_ioctl()
1121 if ( !write_sq.locked ) in sq_ioctl()
1313 write_sq.busy, write_sq.syncing, write_sq.locked, write_sq.xruns) ; in state_open()
Ddmasound.h213 int locked ; /* params cannot be modified when != 0 */ member
/sound/hda/
Dhdac_stream.c709 if (azx_dev->running || azx_dev->locked) { in snd_hdac_dsp_prepare()
714 azx_dev->locked = true; in snd_hdac_dsp_prepare()
747 azx_dev->locked = false; in snd_hdac_dsp_prepare()
779 if (!dmab->area || !azx_dev->locked) in snd_hdac_dsp_cleanup()
795 azx_dev->locked = false; in snd_hdac_dsp_cleanup()
/sound/firewire/dice/
Ddice-proc.c110 u32 locked; in dice_proc_read() member
232 snd_iprintf(buffer, " locked: %u\n", buf.ext_sync.locked); in dice_proc_read()
/sound/soc/fsl/
Dfsl_spdif.c200 u32 locked; in spdif_irq_dpll_lock() local
202 regmap_read(regmap, REG_SPDIF_SRPC, &locked); in spdif_irq_dpll_lock()
203 locked &= SRPC_DPLL_LOCKED; in spdif_irq_dpll_lock()
206 locked ? "locked" : "loss lock"); in spdif_irq_dpll_lock()
208 spdif_priv->dpll_locked = locked ? true : false; in spdif_irq_dpll_lock()
/sound/core/
Dinit.c390 int locked; in snd_card_locked() local
393 locked = test_bit(card, snd_cards_lock); in snd_card_locked()
395 return locked; in snd_card_locked()
/sound/core/seq/oss/
Dseq_oss_init.c355 qinfo.locked = 1; in alloc_seq_queue()
/sound/pci/hda/
Dhda_controller.c1007 if (!dmab->area || !hstr->locked) in snd_hda_codec_load_dsp_cleanup()
1014 hstr->locked = false; in snd_hda_codec_load_dsp_cleanup()