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