Lines Matching defs:locks
68 unsigned int locks; /* what does it locks */
104 /* we could in theory hand out locks on IO and mem
306 if (conflict->locks & lwants)
378 vgadev->locks |= (rsrc & VGA_RSRC_LEGACY_MASK);
394 unsigned int old_locks = vgadev->locks;
420 vgadev->locks &= ~VGA_RSRC_LEGACY_IO;
422 vgadev->locks &= ~VGA_RSRC_LEGACY_MEM;
427 if (old_locks != vgadev->locks)
432 * vga_get - acquire & locks VGA resources
566 * counter, so locks are only released if the counter reaches 0.
729 vgaarb_info(&pdev->dev, "VGA device added: decodes=%s,owns=%s,locks=%s\n",
732 vga_iostate_to_str(vgadev->locks));
786 decodes_unlocked = vgadev->locks & decodes_removed;
913 * close : close user instance, release locks
920 * enabled on it, and "locks" indicates what is locked by this
925 * "<card_ID>,decodes=<io_state>,owns=<io_state>,locks=<io_state> (ic,mc)"
930 * lock <io_state> : acquires locks on target ("none" is invalid io_state)
931 * trylock <io_state> : non-blocking acquire locks on target
932 * unlock <io_state> : release locks on target
933 * unlock all : release all locks on target held by this user
944 * Note about locks:
946 * The driver keeps track of which user has what locks on which card. It
950 * Currently, a max of 16 cards simultaneously can have locks issued from
962 * Each user has an array of these, tracking which cards have locks
1045 "count:%d,PCI:%s,decodes=%s,owns=%s,locks=%s(%d:%d)\n",
1049 vga_iostate_to_str(vgadev->locks),
1114 /* Update the client's locks lists... */
1207 /* Update the client's locks lists... */
1342 /* Set the client' lists of locks */