Lines Matching refs:PCI_REG
44 #define PCI_REG(reg) (SH7751_PCIREG_BASE+reg) macro
58 outl(CONFIG_CMD(dev,where), PCI_REG(SH7751_PCIPAR)); in pci_conf1_read_config_byte()
59 word = inl(PCI_REG(SH7751_PCIPDR)); in pci_conf1_read_config_byte()
89 outl(CONFIG_CMD(dev,where), PCI_REG(SH7751_PCIPAR)); in pci_conf1_read_config_word()
90 word = inl(PCI_REG(SH7751_PCIPDR)); in pci_conf1_read_config_word()
117 outl(CONFIG_CMD(dev,where), PCI_REG(SH7751_PCIPAR)); in pci_conf1_read_config_dword()
118 *value = inl(PCI_REG(SH7751_PCIPDR)); in pci_conf1_read_config_dword()
136 outl(CONFIG_CMD(dev,where), PCI_REG(SH7751_PCIPAR)); in pci_conf1_write_config_byte()
137 word = inl(PCI_REG(SH7751_PCIPDR)) ; in pci_conf1_write_config_byte()
141 outl(word, PCI_REG(SH7751_PCIPDR)); in pci_conf1_write_config_byte()
162 outl(CONFIG_CMD(dev,where), PCI_REG(SH7751_PCIPAR)); in pci_conf1_write_config_word()
163 word = inl(PCI_REG(SH7751_PCIPDR)) ; in pci_conf1_write_config_word()
167 outl(value, PCI_REG(SH7751_PCIPDR)); in pci_conf1_write_config_word()
179 outl(CONFIG_CMD(dev,where), PCI_REG(SH7751_PCIPAR)); in pci_conf1_write_config_dword()
180 outl(value, PCI_REG(SH7751_PCIPDR)); in pci_conf1_write_config_dword()
214 tmp = inl (PCI_REG(SH7751_PCIPAR)); in pci_check_direct()
215 outl (0x80000000, PCI_REG(SH7751_PCIPAR)); in pci_check_direct()
216 if (inl (PCI_REG(SH7751_PCIPAR)) == 0x80000000) { in pci_check_direct()
217 outl (tmp, PCI_REG(SH7751_PCIPAR)); in pci_check_direct()
219 request_region(PCI_REG(SH7751_PCIPAR), 8, "PCI conf1"); in pci_check_direct()
222 outl (tmp, PCI_REG(SH7751_PCIPAR)); in pci_check_direct()