Lines Matching refs:device
50 pci_mech1_getb(int bus, int device, int function, int reg) in pci_mech1_getb() argument
53 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_getb()
63 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg)); in pci_mech1_getb()
70 pci_mech1_getw(int bus, int device, int function, int reg) in pci_mech1_getw() argument
74 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_getw()
84 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg)); in pci_mech1_getw()
91 pci_mech1_getl(int bus, int device, int function, int reg) in pci_mech1_getl() argument
95 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_getl()
105 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg)); in pci_mech1_getl()
112 pci_mech1_putb(int bus, int device, int function, int reg, uint8_t val) in pci_mech1_putb() argument
114 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_putb()
124 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg)); in pci_mech1_putb()
130 pci_mech1_putw(int bus, int device, int function, int reg, uint16_t val) in pci_mech1_putw() argument
132 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_putw()
142 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg)); in pci_mech1_putw()
148 pci_mech1_putl(int bus, int device, int function, int reg, uint32_t val) in pci_mech1_putl() argument
150 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_putl()
160 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg)); in pci_mech1_putl()