Lines Matching refs:device
48 pci_mech1_getb(int bus, int device, int function, int reg)
51 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
57 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
64 pci_mech1_getw(int bus, int device, int function, int reg)
68 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
74 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
81 pci_mech1_getl(int bus, int device, int function, int reg)
85 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
91 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
98 pci_mech1_putb(int bus, int device, int function, int reg, uint8_t val)
100 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
106 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
112 pci_mech1_putw(int bus, int device, int function, int reg, uint16_t val)
114 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
120 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
126 pci_mech1_putl(int bus, int device, int function, int reg, uint32_t val)
128 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
134 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));