Lines Matching defs:locks

47 	unsigned int locks;		/* what it locks */
81 * In theory, we could hand out locks on IO and MEM separately to
273 if (conflict->locks & lwants)
344 vgadev->locks |= (rsrc & VGA_RSRC_LEGACY_MASK);
360 unsigned int old_locks = vgadev->locks;
388 vgadev->locks &= ~VGA_RSRC_LEGACY_IO;
390 vgadev->locks &= ~VGA_RSRC_LEGACY_MEM;
396 if (old_locks != vgadev->locks)
535 * locks are only released if the counter reaches 0.
831 vgaarb_info(&pdev->dev, "VGA device added: decodes=%s,owns=%s,locks=%s\n",
834 vga_iostate_to_str(vgadev->locks));
882 unsigned int decodes_unlocked = vgadev->locks & decodes_removed;
1006 * close : Close user instance, release locks
1013 * enabled on it, and "locks" indicates what is locked by this
1018 * "<card_ID>,decodes=<io_state>,owns=<io_state>,locks=<io_state> (ic,mc)"
1023 * lock <io_state> : acquire locks on target ("none" is invalid io_state)
1024 * trylock <io_state> : non-blocking acquire locks on target
1025 * unlock <io_state> : release locks on target
1026 * unlock all : release all locks on target held by this user
1037 * Note about locks:
1039 * The driver keeps track of which user has what locks on which card. It
1043 * Currently, a max of 16 cards simultaneously can have locks issued from
1054 /* Each user has an array of these, tracking which cards have locks */
1131 "count:%d,PCI:%s,decodes=%s,owns=%s,locks=%s(%u:%u)\n",
1135 vga_iostate_to_str(vgadev->locks),
1200 /* Update the client's locks lists */
1293 /* Update the client's locks lists... */
1428 /* Set the client's lists of locks */