Lines Matching defs:device
95 pci_mech1_amd_getb(int bus, int device, int function, int reg)
99 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
105 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
112 pci_mech1_amd_getw(int bus, int device, int function, int reg)
116 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
122 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
129 pci_mech1_amd_getl(int bus, int device, int function, int reg)
133 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
139 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
146 pci_mech1_amd_putb(int bus, int device, int function, int reg, uint8_t val)
148 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
154 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
160 pci_mech1_amd_putw(int bus, int device, int function, int reg, uint16_t val)
162 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
168 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
174 pci_mech1_amd_putl(int bus, int device, int function, int reg, uint32_t val)
176 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
182 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));