Lines Matching refs:locks
59 unsigned int locks; /* what does it locks */
95 /* we could in theory hand out locks on IO and mem
223 if (conflict->locks & lwants)
273 vgadev->locks |= (rsrc & VGA_RSRC_LEGACY_MASK);
288 unsigned int old_locks = vgadev->locks;
314 vgadev->locks &= ~VGA_RSRC_LEGACY_IO;
316 vgadev->locks &= ~VGA_RSRC_LEGACY_MEM;
321 if (old_locks != vgadev->locks)
505 pr_info("vgaarb: device added: PCI:%s,decodes=%s,owns=%s,locks=%s\n",
509 vga_iostate_to_str(vgadev->locks));
663 * close : close user instance, release locks
670 * enabled on it, and "locks" indicates what is locked by this
675 * "<card_ID>,decodes=<io_state>,owns=<io_state>,locks=<io_state> (ic,mc)"
680 * lock <io_state> : acquires locks on target ("none" is invalid io_state)
681 * trylock <io_state> : non-blocking acquire locks on target
682 * unlock <io_state> : release locks on target
683 * unlock all : release all locks on target held by this user
694 * Note about locks:
696 * The driver keeps track of which user has what locks on which card. It
700 * Currently, a max of 16 cards simultaneously can have locks issued from
712 * Each user has an array of these, tracking which cards have locks
795 "count:%d,PCI:%s,decodes=%s,owns=%s,locks=%s(%d:%d)\n",
799 vga_iostate_to_str(vgadev->locks),
869 /* Update the client's locks lists... */
956 /* Update the client's locks lists... */
1102 /* Set the client' lists of locks */