Lines Matching defs:decodes
66 unsigned int decodes; /* what does it decodes */
254 (vgadev->decodes & VGA_RSRC_LEGACY_IO))
257 (vgadev->decodes & VGA_RSRC_LEGACY_MEM))
328 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_MEM)
330 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_IO)
403 if (vgadev->decodes & VGA_RSRC_LEGACY_IO)
408 if (vgadev->decodes & VGA_RSRC_LEGACY_MEM)
650 * the arbiter's client decides if devices decodes or not legacy
685 vgadev->decodes = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM |
729 vgaarb_info(&pdev->dev, "VGA device added: decodes=%s,owns=%s,locks=%s\n",
730 vga_iostate_to_str(vgadev->decodes),
758 if (vgadev->decodes & (VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM))
784 old_decodes = vgadev->decodes;
787 vgadev->decodes = new_decodes;
789 vgaarb_info(dev, "changed VGA decodes: olddecodes=%s,decodes=%s:owns=%s\n",
791 vga_iostate_to_str(vgadev->decodes),
794 /* if we removed locked decodes, lock count goes to zero, and release */
803 /* change decodes counter */
814 unsigned int decodes,
820 decodes &= VGA_RSRC_LEGACY_MASK;
827 /* don't let userspace futz with kernel driver decodes */
831 /* update the device decodes + counter */
832 vga_update_device_decodes(vgadev, decodes);
834 /* XXX if somebody is going from "doesn't decode" to "decodes" state
842 void vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes)
844 __vga_set_legacy_decoding(pdev, decodes, false);
918 * debugging/diagnostic only). "decodes" indicate what the
919 * card currently decodes, "owns" indicates what is currently
925 * "<card_ID>,decodes=<io_state>,owns=<io_state>,locks=<io_state> (ic,mc)"
934 * decodes <io_state> : set the legacy decoding attributes for the card
1045 "count:%d,PCI:%s,decodes=%s,owns=%s,locks=%s(%d:%d)\n",
1047 vga_iostate_to_str(vgadev->decodes),
1291 } else if (strncmp(curr_pos, "decodes ", 8) == 0) {
1294 pr_debug("client 0x%p called 'decodes'\n", priv);