/* SPDX-License-Identifier: GPL-2.0
*
* Low-Level PCI Support for SH7780 targets
*
* Dustin McIntire (dustin@sensoria.com) (c) 2001
* Paul Mundt (lethal@linux-sh.org) (c) 2003
*/
#ifndef _PCI_SH7780_H_
#define _PCI_SH7780_H_
/* SH7780 Control Registers */
#define PCIECR 0 xFE000008
#define PCIECR_ENBL 0 x01
/* SH7780 Specific Values */
#define SH7780_PCI_CONFIG_BASE 0 xFD000000 /* Config space base addr */
#define SH7780_PCI_CONFIG_SIZE 0 x01000000 /* Config space size */
#define SH7780_PCIREG_BASE 0 xFE040000 /* PCI regs base address */
/* SH7780 PCI Config Registers */
#define SH7780_PCIIR 0 x114 /* PCI Interrupt Register */
#define SH7780_PCIIMR 0 x118 /* PCI Interrupt Mask Register */
#define SH7780_PCIAIR 0 x11C /* Error Address Register */
#define SH7780_PCICIR 0 x120 /* Error Command/Data Register */
#define SH7780_PCIAINT 0 x130 /* Arbiter Interrupt Register */
#define SH7780_PCIAINTM 0 x134 /* Arbiter Int. Mask Register */
#define SH7780_PCIBMIR 0 x138 /* Error Bus Master Register */
#define SH7780_PCIPAR 0 x1C0 /* PIO Address Register */
#define SH7780_PCIPINT 0 x1CC /* Power Mgmnt Int. Register */
#define SH7780_PCIPINTM 0 x1D0 /* Power Mgmnt Mask Register */
#define SH7780_PCIMBR(x) (0 x1E0 + ((x) * 8 ))
#define SH7780_PCIMBMR(x) (0 x1E4 + ((x) * 8 ))
#define SH7780_PCIIOBR 0 x1F8
#define SH7780_PCIIOBMR 0 x1FC
#define SH7780_PCICSCR0 0 x210 /* Cache Snoop1 Cnt. Register */
#define SH7780_PCICSCR1 0 x214 /* Cache Snoop2 Cnt. Register */
#define SH7780_PCICSAR0 0 x218 /* Cache Snoop1 Addr. Register */
#define SH7780_PCICSAR1 0 x21C /* Cache Snoop2 Addr. Register */
#endif /* _PCI_SH7780_H_ */
Messung V0.5 in Prozent C=96 H=93 G=94
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-06-08)
¤
*© Formatika GbR, Deutschland