• Home
  • Raw
  • Download

Lines Matching full:decodes

66 	unsigned int decodes;	/* what does it decodes */  member
254 (vgadev->decodes & VGA_RSRC_LEGACY_IO)) in __vga_tryget()
257 (vgadev->decodes & VGA_RSRC_LEGACY_MEM)) in __vga_tryget()
328 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_MEM) in __vga_tryget()
330 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_IO) in __vga_tryget()
403 if (vgadev->decodes & VGA_RSRC_LEGACY_IO) in __vga_put()
408 if (vgadev->decodes & VGA_RSRC_LEGACY_MEM) in __vga_put()
650 * the arbiter's client decides if devices decodes or not legacy
685 vgadev->decodes = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM | in vga_arbiter_add_pci_device()
729 vgaarb_info(&pdev->dev, "VGA device added: decodes=%s,owns=%s,locks=%s\n", in vga_arbiter_add_pci_device()
730 vga_iostate_to_str(vgadev->decodes), in vga_arbiter_add_pci_device()
758 if (vgadev->decodes & (VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM)) in vga_arbiter_del_pci_device()
784 old_decodes = vgadev->decodes; in vga_update_device_decodes()
787 vgadev->decodes = new_decodes; in vga_update_device_decodes()
789 vgaarb_info(dev, "changed VGA decodes: olddecodes=%s,decodes=%s:owns=%s\n", in vga_update_device_decodes()
791 vga_iostate_to_str(vgadev->decodes), in vga_update_device_decodes()
794 /* if we removed locked decodes, lock count goes to zero, and release */ in vga_update_device_decodes()
803 /* change decodes counter */ in vga_update_device_decodes()
814 unsigned int decodes, in __vga_set_legacy_decoding() argument
820 decodes &= VGA_RSRC_LEGACY_MASK; in __vga_set_legacy_decoding()
827 /* don't let userspace futz with kernel driver decodes */ in __vga_set_legacy_decoding()
831 /* update the device decodes + counter */ in __vga_set_legacy_decoding()
832 vga_update_device_decodes(vgadev, decodes); in __vga_set_legacy_decoding()
834 /* XXX if somebody is going from "doesn't decode" to "decodes" state in __vga_set_legacy_decoding()
842 void vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes) in vga_set_legacy_decoding() argument
844 __vga_set_legacy_decoding(pdev, decodes, false); in vga_set_legacy_decoding()
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", in vga_arb_read()
1047 vga_iostate_to_str(vgadev->decodes), in vga_arb_read()
1291 } else if (strncmp(curr_pos, "decodes ", 8) == 0) { in vga_arb_write()
1294 pr_debug("client 0x%p called 'decodes'\n", priv); in vga_arb_write()