Lines Matching refs:pdev
29 void vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes);
30 int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible);
31 void vga_put(struct pci_dev *pdev, unsigned int rsrc);
33 void vga_set_default_device(struct pci_dev *pdev);
34 int vga_remove_vgacon(struct pci_dev *pdev);
35 int vga_client_register(struct pci_dev *pdev,
36 unsigned int (*set_decode)(struct pci_dev *pdev, bool state));
38 static inline void vga_set_legacy_decoding(struct pci_dev *pdev,
42 static inline int vga_get(struct pci_dev *pdev, unsigned int rsrc,
47 static inline void vga_put(struct pci_dev *pdev, unsigned int rsrc)
54 static inline void vga_set_default_device(struct pci_dev *pdev)
57 static inline int vga_remove_vgacon(struct pci_dev *pdev)
61 static inline int vga_client_register(struct pci_dev *pdev,
62 unsigned int (*set_decode)(struct pci_dev *pdev, bool state))
70 * @pdev: pci device of the VGA card or NULL for the system default
77 static inline int vga_get_interruptible(struct pci_dev *pdev,
80 return vga_get(pdev, rsrc, 1);
85 * @pdev: pci device of the VGA card or NULL for the system default
92 static inline int vga_get_uninterruptible(struct pci_dev *pdev,
95 return vga_get(pdev, rsrc, 0);
98 static inline void vga_client_unregister(struct pci_dev *pdev)
100 vga_client_register(pdev, NULL);