Lines Matching refs:device
73 pci_mech2_getb(int bus, int device, int function, int reg) in pci_mech2_getb() argument
78 if (device >= PCI_MAX_DEVS_2) in pci_mech2_getb()
82 val = inb(PCI_CADDR2(device, reg)); in pci_mech2_getb()
89 pci_mech2_getw(int bus, int device, int function, int reg) in pci_mech2_getw() argument
94 if (device >= PCI_MAX_DEVS_2) in pci_mech2_getw()
98 val = inw(PCI_CADDR2(device, reg)); in pci_mech2_getw()
105 pci_mech2_getl(int bus, int device, int function, int reg) in pci_mech2_getl() argument
110 if (device >= PCI_MAX_DEVS_2) in pci_mech2_getl()
114 val = inl(PCI_CADDR2(device, reg)); in pci_mech2_getl()
121 pci_mech2_putb(int bus, int device, int function, int reg, uint8_t val) in pci_mech2_putb() argument
125 if (device >= PCI_MAX_DEVS_2) in pci_mech2_putb()
129 outb(PCI_CADDR2(device, reg), val); in pci_mech2_putb()
134 pci_mech2_putw(int bus, int device, int function, int reg, uint16_t val) in pci_mech2_putw() argument
138 if (device >= PCI_MAX_DEVS_2) in pci_mech2_putw()
142 outw(PCI_CADDR2(device, reg), val); in pci_mech2_putw()
147 pci_mech2_putl(int bus, int device, int function, int reg, uint32_t val) in pci_mech2_putl() argument
151 if (device >= PCI_MAX_DEVS_2) in pci_mech2_putl()
155 outl(PCI_CADDR2(device, reg), val); in pci_mech2_putl()