• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/vga/

Lines Matching defs:decodes

57 	unsigned int decodes;	/* what does it decodes */
171 (vgadev->decodes & VGA_RSRC_LEGACY_IO))
174 (vgadev->decodes & VGA_RSRC_LEGACY_MEM))
227 * to check "decodes" since it should be impossible to own
231 WARN_ON(conflict->owns & ~conflict->decodes);
260 * also have in "decodes". We can lock resources we don't decode but
271 vgadev->owns |= (wants & vgadev->decodes);
297 if (vgadev->decodes & VGA_RSRC_LEGACY_IO)
302 if (vgadev->decodes & VGA_RSRC_LEGACY_MEM)
426 * the arbiter's client decides if devices decodes or not legacy
463 vgadev->decodes = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM |
505 pr_info("vgaarb: device added: PCI:%s,decodes=%s,owns=%s,locks=%s\n",
507 vga_iostate_to_str(vgadev->decodes),
537 if (vgadev->decodes & (VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM))
563 old_decodes = vgadev->decodes;
564 vgadev->decodes = new_decodes;
566 pr_info("vgaarb: device changed decodes: PCI:%s,olddecodes=%s,decodes=%s:owns=%s\n",
569 vga_iostate_to_str(vgadev->decodes),
573 /* if we own the decodes we should move them along to
580 (new_vgadev->decodes & VGA_RSRC_LEGACY_MASK)) {
590 /* change decodes counter */
600 static void __vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes, bool userspace)
605 decodes &= VGA_RSRC_LEGACY_MASK;
612 /* don't let userspace futz with kernel driver decodes */
616 /* update the device decodes + counter */
617 vga_update_device_decodes(vgadev, decodes);
623 void vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes)
625 __vga_set_legacy_decoding(pdev, decodes, false);
668 * debugging/diagnostic only). "decodes" indicate what the
669 * card currently decodes, "owns" indicates what is currently
675 * "<card_ID>,decodes=<io_state>,owns=<io_state>,locks=<io_state> (ic,mc)"
684 * decodes <io_state> : set the legacy decoding attributes for the card
795 "count:%d,PCI:%s,decodes=%s,owns=%s,locks=%s(%d:%d)\n",
797 vga_iostate_to_str(vgadev->decodes),
1044 } else if (strncmp(curr_pos, "decodes ", 8) == 0) {
1047 pr_debug("vgaarb: client 0x%p called 'decodes'\n", priv);