Lines Matching refs: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.
835 vgaarb_info(&pdev->dev, "VGA device added: decodes=%s,owns=%s,locks=%s\n",
838 vga_iostate_to_str(vgadev->locks));
886 unsigned int decodes_unlocked = vgadev->locks & decodes_removed;
1010 * close : Close user instance, release locks
1017 * enabled on it, and "locks" indicates what is locked by this
1022 * "<card_ID>,decodes=<io_state>,owns=<io_state>,locks=<io_state> (ic,mc)"
1027 * lock <io_state> : acquire locks on target ("none" is invalid io_state)
1028 * trylock <io_state> : non-blocking acquire locks on target
1029 * unlock <io_state> : release locks on target
1030 * unlock all : release all locks on target held by this user
1041 * Note about locks:
1043 * The driver keeps track of which user has what locks on which card. It
1047 * Currently, a max of 16 cards simultaneously can have locks issued from
1058 /* Each user has an array of these, tracking which cards have locks */
1135 "count:%d,PCI:%s,decodes=%s,owns=%s,locks=%s(%u:%u)\n",
1139 vga_iostate_to_str(vgadev->locks),
1204 /* Update the client's locks lists */
1297 /* Update the client's locks lists... */
1432 /* Set the client's lists of locks */