Lines Matching refs:reg
12 uint8_t PCICfgRead8(uint32_t bus, uint32_t slot, uint32_t func, uint32_t reg);
13 uint16_t PCICfgRead16(uint32_t bus, uint32_t slot, uint32_t func, uint32_t reg);
14 uint32_t PCICfgRead32(uint32_t bus, uint32_t slot, uint32_t func, uint32_t reg);
16 uint32_t reg, uint8_t data);
18 uint32_t reg, uint16_t data);
20 uint32_t reg, uint32_t data);
65 PCI_CfgRead8(PCIDevice *dev, uint32_t reg)
67 return PCICfgRead8(dev->bus, dev->slot, dev->func, reg);
71 PCI_CfgRead16(PCIDevice *dev, uint32_t reg)
73 return PCICfgRead16(dev->bus, dev->slot, dev->func, reg);
77 PCI_CfgRead32(PCIDevice *dev, uint32_t reg)
79 return PCICfgRead32(dev->bus, dev->slot, dev->func, reg);
83 PCI_CfgWrite8(PCIDevice *dev, uint32_t reg, uint8_t data)
85 return PCICfgWrite8(dev->bus, dev->slot, dev->func, reg, data);
89 PCI_CfgWrite16(PCIDevice *dev, uint32_t reg, uint16_t data)
91 return PCICfgWrite16(dev->bus, dev->slot, dev->func, reg, data);
95 PCI_CfgWrite32(PCIDevice *dev, uint32_t reg, uint32_t data)
97 return PCICfgWrite32(dev->bus, dev->slot, dev->func, reg, data);