Lines Matching defs:decodes

45 	unsigned int decodes;		/* what it decodes */
224 (vgadev->decodes & VGA_RSRC_LEGACY_IO))
227 (vgadev->decodes & VGA_RSRC_LEGACY_MEM))
298 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_MEM)
300 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_IO)
370 if (vgadev->decodes & VGA_RSRC_LEGACY_IO)
375 if (vgadev->decodes & VGA_RSRC_LEGACY_MEM)
757 * client decide if devices decodes legacy things or not.
791 vgadev->decodes = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM |
835 vgaarb_info(&pdev->dev, "VGA device added: decodes=%s,owns=%s,locks=%s\n",
836 vga_iostate_to_str(vgadev->decodes),
864 if (vgadev->decodes & (VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM))
884 unsigned int old_decodes = vgadev->decodes;
888 vgadev->decodes = new_decodes;
890 vgaarb_info(dev, "VGA decodes changed: olddecodes=%s,decodes=%s:owns=%s\n",
892 vga_iostate_to_str(vgadev->decodes),
895 /* If we removed locked decodes, lock count goes to zero, and release */
904 /* Change decodes counter */
915 unsigned int decodes,
921 decodes &= VGA_RSRC_LEGACY_MASK;
928 /* Don't let userspace futz with kernel driver decodes */
932 /* Update the device decodes + counter */
933 vga_update_device_decodes(vgadev, decodes);
936 * XXX If somebody is going from "doesn't decode" to "decodes"
947 * @decodes: bit mask of what legacy regions the card decodes
949 * Indicate to the arbiter if the card decodes legacy VGA IOs, legacy VGA
955 void vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes)
957 __vga_set_legacy_decoding(pdev, decodes, false);
1015 * debugging/diagnostic only). "decodes" indicate what the
1016 * card currently decodes, "owns" indicates what is currently
1022 * "<card_ID>,decodes=<io_state>,owns=<io_state>,locks=<io_state> (ic,mc)"
1031 * decodes <io_state> : set the legacy decoding attributes for the card
1135 "count:%d,PCI:%s,decodes=%s,owns=%s,locks=%s(%u:%u)\n",
1137 vga_iostate_to_str(vgadev->decodes),
1381 } else if (strncmp(curr_pos, "decodes ", 8) == 0) {
1384 pr_debug("client 0x%p called 'decodes'\n", priv);