Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
pci_schizo.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/of_device.h>
#include <asm/iommu.h>
#include <asm/irq.h>
#include <asm/pstate.h>
#include <asm/prom.h>
#include <asm/upa.h>
#include "pci_impl.h"
#include "iommu_common.h"

Go to the source code of this file.

Macros

#define DRIVER_NAME   "schizo"
 
#define PFX   DRIVER_NAME ": "
 
#define SCHIZO_STRBUF_CTRL_LPTR   0x00000000000000f0UL /* LRU Lock Pointer */
 
#define SCHIZO_STRBUF_CTRL_LENAB   0x0000000000000008UL /* LRU Lock Enable */
 
#define SCHIZO_STRBUF_CTRL_RRDIS   0x0000000000000004UL /* Rerun Disable */
 
#define SCHIZO_STRBUF_CTRL_DENAB   0x0000000000000002UL /* Diagnostic Mode Enable */
 
#define SCHIZO_STRBUF_CTRL_ENAB   0x0000000000000001UL /* Streaming Buffer Enable */
 
#define SCHIZO_IOMMU_CTRL_RESV   0xfffffffff9000000UL /* Reserved */
 
#define SCHIZO_IOMMU_CTRL_XLTESTAT   0x0000000006000000UL /* Translation Error Status */
 
#define SCHIZO_IOMMU_CTRL_XLTEERR   0x0000000001000000UL /* Translation Error encountered */
 
#define SCHIZO_IOMMU_CTRL_LCKEN   0x0000000000800000UL /* Enable translation locking */
 
#define SCHIZO_IOMMU_CTRL_LCKPTR   0x0000000000780000UL /* Translation lock pointer */
 
#define SCHIZO_IOMMU_CTRL_TSBSZ   0x0000000000070000UL /* TSB Size */
 
#define SCHIZO_IOMMU_TSBSZ_1K   0x0000000000000000UL /* TSB Table 1024 8-byte entries */
 
#define SCHIZO_IOMMU_TSBSZ_2K   0x0000000000010000UL /* TSB Table 2048 8-byte entries */
 
#define SCHIZO_IOMMU_TSBSZ_4K   0x0000000000020000UL /* TSB Table 4096 8-byte entries */
 
#define SCHIZO_IOMMU_TSBSZ_8K   0x0000000000030000UL /* TSB Table 8192 8-byte entries */
 
#define SCHIZO_IOMMU_TSBSZ_16K   0x0000000000040000UL /* TSB Table 16k 8-byte entries */
 
#define SCHIZO_IOMMU_TSBSZ_32K   0x0000000000050000UL /* TSB Table 32k 8-byte entries */
 
#define SCHIZO_IOMMU_TSBSZ_64K   0x0000000000060000UL /* TSB Table 64k 8-byte entries */
 
#define SCHIZO_IOMMU_TSBSZ_128K   0x0000000000070000UL /* TSB Table 128k 8-byte entries */
 
#define SCHIZO_IOMMU_CTRL_RESV2   0x000000000000fff8UL /* Reserved */
 
#define SCHIZO_IOMMU_CTRL_TBWSZ   0x0000000000000004UL /* Assumed page size, 0=8k 1=64k */
 
#define SCHIZO_IOMMU_CTRL_DENAB   0x0000000000000002UL /* Diagnostic mode enable */
 
#define SCHIZO_IOMMU_CTRL_ENAB   0x0000000000000001UL /* IOMMU Enable */
 
#define SCHIZO_CONFIG_BASE(PBM)   ((PBM)->config_space)
 
#define SCHIZO_CONFIG_ENCODE(BUS, DEVFN, REG)
 
#define SCHIZO_UE_INO   0x30 /* Uncorrectable ECC error */
 
#define SCHIZO_CE_INO   0x31 /* Correctable ECC error */
 
#define SCHIZO_PCIERR_A_INO   0x32 /* PBM A PCI bus error */
 
#define SCHIZO_PCIERR_B_INO   0x33 /* PBM B PCI bus error */
 
#define SCHIZO_SERR_INO   0x34 /* Safari interface error */
 
#define SCHIZO_STC_ERR   0xb800UL /* --> 0xba00 */
 
#define SCHIZO_STC_TAG   0xba00UL /* --> 0xba80 */
 
#define SCHIZO_STC_LINE   0xbb00UL /* --> 0xbb80 */
 
#define SCHIZO_STCERR_WRITE   0x2UL
 
#define SCHIZO_STCERR_READ   0x1UL
 
#define SCHIZO_STCTAG_PPN   0x3fffffff00000000UL
 
#define SCHIZO_STCTAG_VPN   0x00000000ffffe000UL
 
#define SCHIZO_STCTAG_VALID   0x8000000000000000UL
 
#define SCHIZO_STCTAG_READ   0x4000000000000000UL
 
#define SCHIZO_STCLINE_LINDX   0x0000000007800000UL
 
#define SCHIZO_STCLINE_SPTR   0x000000000007e000UL
 
#define SCHIZO_STCLINE_LADDR   0x0000000000001fc0UL
 
#define SCHIZO_STCLINE_EPTR   0x000000000000003fUL
 
#define SCHIZO_STCLINE_VALID   0x0000000000600000UL
 
#define SCHIZO_STCLINE_FOFN   0x0000000000180000UL
 
#define SCHIZO_IOMMU_TAG   0xa580UL
 
#define SCHIZO_IOMMU_DATA   0xa600UL
 
#define SCHIZO_IOMMU_TAG_CTXT   0x0000001ffe000000UL
 
#define SCHIZO_IOMMU_TAG_ERRSTS   0x0000000001800000UL
 
#define SCHIZO_IOMMU_TAG_ERR   0x0000000000400000UL
 
#define SCHIZO_IOMMU_TAG_WRITE   0x0000000000200000UL
 
#define SCHIZO_IOMMU_TAG_STREAM   0x0000000000100000UL
 
#define SCHIZO_IOMMU_TAG_SIZE   0x0000000000080000UL
 
#define SCHIZO_IOMMU_TAG_VPAGE   0x000000000007ffffUL
 
#define SCHIZO_IOMMU_DATA_VALID   0x0000000100000000UL
 
#define SCHIZO_IOMMU_DATA_CACHE   0x0000000040000000UL
 
#define SCHIZO_IOMMU_DATA_PPAGE   0x000000003fffffffUL
 
#define SCHIZO_UE_AFSR   0x10030UL
 
#define SCHIZO_UE_AFAR   0x10038UL
 
#define SCHIZO_UEAFSR_PPIO   0x8000000000000000UL /* Safari */
 
#define SCHIZO_UEAFSR_PDRD   0x4000000000000000UL /* Safari/Tomatillo */
 
#define SCHIZO_UEAFSR_PDWR   0x2000000000000000UL /* Safari */
 
#define SCHIZO_UEAFSR_SPIO   0x1000000000000000UL /* Safari */
 
#define SCHIZO_UEAFSR_SDMA   0x0800000000000000UL /* Safari/Tomatillo */
 
#define SCHIZO_UEAFSR_ERRPNDG   0x0300000000000000UL /* Safari */
 
#define SCHIZO_UEAFSR_BMSK   0x000003ff00000000UL /* Safari */
 
#define SCHIZO_UEAFSR_QOFF   0x00000000c0000000UL /* Safari/Tomatillo */
 
#define SCHIZO_UEAFSR_AID   0x000000001f000000UL /* Safari/Tomatillo */
 
#define SCHIZO_UEAFSR_PARTIAL   0x0000000000800000UL /* Safari */
 
#define SCHIZO_UEAFSR_OWNEDIN   0x0000000000400000UL /* Safari */
 
#define SCHIZO_UEAFSR_MTAGSYND   0x00000000000f0000UL /* Safari */
 
#define SCHIZO_UEAFSR_MTAG   0x000000000000e000UL /* Safari */
 
#define SCHIZO_UEAFSR_ECCSYND   0x00000000000001ffUL /* Safari */
 
#define SCHIZO_CE_AFSR   0x10040UL
 
#define SCHIZO_CE_AFAR   0x10048UL
 
#define SCHIZO_CEAFSR_PPIO   0x8000000000000000UL
 
#define SCHIZO_CEAFSR_PDRD   0x4000000000000000UL
 
#define SCHIZO_CEAFSR_PDWR   0x2000000000000000UL
 
#define SCHIZO_CEAFSR_SPIO   0x1000000000000000UL
 
#define SCHIZO_CEAFSR_SDMA   0x0800000000000000UL
 
#define SCHIZO_CEAFSR_ERRPNDG   0x0300000000000000UL
 
#define SCHIZO_CEAFSR_BMSK   0x000003ff00000000UL
 
#define SCHIZO_CEAFSR_QOFF   0x00000000c0000000UL
 
#define SCHIZO_CEAFSR_AID   0x000000001f000000UL
 
#define SCHIZO_CEAFSR_PARTIAL   0x0000000000800000UL
 
#define SCHIZO_CEAFSR_OWNEDIN   0x0000000000400000UL
 
#define SCHIZO_CEAFSR_MTAGSYND   0x00000000000f0000UL
 
#define SCHIZO_CEAFSR_MTAG   0x000000000000e000UL
 
#define SCHIZO_CEAFSR_ECCSYND   0x00000000000001ffUL
 
#define SCHIZO_PCI_AFSR   0x2010UL
 
#define SCHIZO_PCI_AFAR   0x2018UL
 
#define SCHIZO_PCIAFSR_PMA   0x8000000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_PTA   0x4000000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_PRTRY   0x2000000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_PPERR   0x1000000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_PTTO   0x0800000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_PUNUS   0x0400000000000000UL /* Schizo */
 
#define SCHIZO_PCIAFSR_SMA   0x0200000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_STA   0x0100000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_SRTRY   0x0080000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_SPERR   0x0040000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_STTO   0x0020000000000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_SUNUS   0x0010000000000000UL /* Schizo */
 
#define SCHIZO_PCIAFSR_BMSK   0x000003ff00000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_BLK   0x0000000080000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_CFG   0x0000000040000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_MEM   0x0000000020000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCIAFSR_IO   0x0000000010000000UL /* Schizo/Tomatillo */
 
#define SCHIZO_PCI_CTRL   (0x2000UL)
 
#define SCHIZO_PCICTRL_BUS_UNUS   (1UL << 63UL) /* Safari */
 
#define SCHIZO_PCICTRL_DTO_INT   (1UL << 61UL) /* Tomatillo */
 
#define SCHIZO_PCICTRL_ARB_PRIO   (0x1ff << 52UL) /* Tomatillo */
 
#define SCHIZO_PCICTRL_ESLCK   (1UL << 51UL) /* Safari */
 
#define SCHIZO_PCICTRL_ERRSLOT   (7UL << 48UL) /* Safari */
 
#define SCHIZO_PCICTRL_TTO_ERR   (1UL << 38UL) /* Safari/Tomatillo */
 
#define SCHIZO_PCICTRL_RTRY_ERR   (1UL << 37UL) /* Safari/Tomatillo */
 
#define SCHIZO_PCICTRL_DTO_ERR   (1UL << 36UL) /* Safari/Tomatillo */
 
#define SCHIZO_PCICTRL_SBH_ERR   (1UL << 35UL) /* Safari */
 
#define SCHIZO_PCICTRL_SERR   (1UL << 34UL) /* Safari/Tomatillo */
 
#define SCHIZO_PCICTRL_PCISPD   (1UL << 33UL) /* Safari */
 
#define SCHIZO_PCICTRL_MRM_PREF   (1UL << 30UL) /* Tomatillo */
 
#define SCHIZO_PCICTRL_RDO_PREF   (1UL << 29UL) /* Tomatillo */
 
#define SCHIZO_PCICTRL_RDL_PREF   (1UL << 28UL) /* Tomatillo */
 
#define SCHIZO_PCICTRL_PTO   (3UL << 24UL) /* Safari/Tomatillo */
 
#define SCHIZO_PCICTRL_PTO_SHIFT   24UL
 
#define SCHIZO_PCICTRL_TRWSW   (7UL << 21UL) /* Tomatillo */
 
#define SCHIZO_PCICTRL_F_TGT_A   (1UL << 20UL) /* Tomatillo */
 
#define SCHIZO_PCICTRL_S_DTO_INT   (1UL << 19UL) /* Safari */
 
#define SCHIZO_PCICTRL_F_TGT_RT   (1UL << 19UL) /* Tomatillo */
 
#define SCHIZO_PCICTRL_SBH_INT   (1UL << 18UL) /* Safari */
 
#define SCHIZO_PCICTRL_T_DTO_INT   (1UL << 18UL) /* Tomatillo */
 
#define SCHIZO_PCICTRL_EEN   (1UL << 17UL) /* Safari/Tomatillo */
 
#define SCHIZO_PCICTRL_PARK   (1UL << 16UL) /* Safari/Tomatillo */
 
#define SCHIZO_PCICTRL_PCIRST   (1UL << 8UL) /* Safari */
 
#define SCHIZO_PCICTRL_ARB_S   (0x3fUL << 0UL) /* Safari */
 
#define SCHIZO_PCICTRL_ARB_T   (0xffUL << 0UL) /* Tomatillo */
 
#define SCHIZO_SAFARI_ERRLOG   0x10018UL
 
#define SAFARI_ERRLOG_ERROUT   0x8000000000000000UL
 
#define BUS_ERROR_BADCMD   0x4000000000000000UL /* Schizo/Tomatillo */
 
#define BUS_ERROR_SSMDIS   0x2000000000000000UL /* Safari */
 
#define BUS_ERROR_BADMA   0x1000000000000000UL /* Safari */
 
#define BUS_ERROR_BADMB   0x0800000000000000UL /* Safari */
 
#define BUS_ERROR_BADMC   0x0400000000000000UL /* Safari */
 
#define BUS_ERROR_SNOOP_GR   0x0000000000200000UL /* Tomatillo */
 
#define BUS_ERROR_SNOOP_PCI   0x0000000000100000UL /* Tomatillo */
 
#define BUS_ERROR_SNOOP_RD   0x0000000000080000UL /* Tomatillo */
 
#define BUS_ERROR_SNOOP_RDS   0x0000000000020000UL /* Tomatillo */
 
#define BUS_ERROR_SNOOP_RDSA   0x0000000000010000UL /* Tomatillo */
 
#define BUS_ERROR_SNOOP_OWN   0x0000000000008000UL /* Tomatillo */
 
#define BUS_ERROR_SNOOP_RDO   0x0000000000004000UL /* Tomatillo */
 
#define BUS_ERROR_CPU1PS   0x0000000000002000UL /* Safari */
 
#define BUS_ERROR_WDATA_PERR   0x0000000000002000UL /* Tomatillo */
 
#define BUS_ERROR_CPU1PB   0x0000000000001000UL /* Safari */
 
#define BUS_ERROR_CTRL_PERR   0x0000000000001000UL /* Tomatillo */
 
#define BUS_ERROR_CPU0PS   0x0000000000000800UL /* Safari */
 
#define BUS_ERROR_SNOOP_ERR   0x0000000000000800UL /* Tomatillo */
 
#define BUS_ERROR_CPU0PB   0x0000000000000400UL /* Safari */
 
#define BUS_ERROR_JBUS_ILL_B   0x0000000000000400UL /* Tomatillo */
 
#define BUS_ERROR_CIQTO   0x0000000000000200UL /* Safari */
 
#define BUS_ERROR_LPQTO   0x0000000000000100UL /* Safari */
 
#define BUS_ERROR_JBUS_ILL_C   0x0000000000000100UL /* Tomatillo */
 
#define BUS_ERROR_SFPQTO   0x0000000000000080UL /* Safari */
 
#define BUS_ERROR_UFPQTO   0x0000000000000040UL /* Safari */
 
#define BUS_ERROR_RD_PERR   0x0000000000000040UL /* Tomatillo */
 
#define BUS_ERROR_APERR   0x0000000000000020UL /* Safari/Tomatillo */
 
#define BUS_ERROR_UNMAP   0x0000000000000010UL /* Safari/Tomatillo */
 
#define BUS_ERROR_BUSERR   0x0000000000000004UL /* Safari/Tomatillo */
 
#define BUS_ERROR_TIMEOUT   0x0000000000000002UL /* Safari/Tomatillo */
 
#define BUS_ERROR_ILL   0x0000000000000001UL /* Safari */
 
#define SCHIZO_ECC_CTRL   0x10020UL
 
#define SCHIZO_ECCCTRL_EE   0x8000000000000000UL /* Enable ECC Checking */
 
#define SCHIZO_ECCCTRL_UE   0x4000000000000000UL /* Enable UE Interrupts */
 
#define SCHIZO_ECCCTRL_CE   0x2000000000000000UL /* Enable CE INterrupts */
 
#define SCHIZO_SAFARI_ERRCTRL   0x10008UL
 
#define SCHIZO_SAFERRCTRL_EN   0x8000000000000000UL
 
#define SCHIZO_SAFARI_IRQCTRL   0x10010UL
 
#define SCHIZO_SAFIRQCTRL_EN   0x8000000000000000UL
 
#define SCHIZO_STRBUF_CONTROL   (0x02800UL)
 
#define SCHIZO_STRBUF_FLUSH   (0x02808UL)
 
#define SCHIZO_STRBUF_FSYNC   (0x02810UL)
 
#define SCHIZO_STRBUF_CTXFLUSH   (0x02818UL)
 
#define SCHIZO_STRBUF_CTXMATCH   (0x10000UL)
 
#define SCHIZO_IOMMU_CONTROL   (0x00200UL)
 
#define SCHIZO_IOMMU_TSBBASE   (0x00208UL)
 
#define SCHIZO_IOMMU_FLUSH   (0x00210UL)
 
#define SCHIZO_IOMMU_CTXFLUSH   (0x00218UL)
 
#define SCHIZO_PCI_IRQ_RETRY   (0x1a00UL)
 
#define SCHIZO_IRQ_RETRY_INF   0xffUL
 
#define SCHIZO_PCI_DIAG   (0x2020UL)
 
#define SCHIZO_PCIDIAG_D_BADECC   (1UL << 10UL) /* Disable BAD ECC errors (Schizo) */
 
#define SCHIZO_PCIDIAG_D_BYPASS   (1UL << 9UL) /* Disable MMU bypass mode (Schizo/Tomatillo) */
 
#define SCHIZO_PCIDIAG_D_TTO   (1UL << 8UL) /* Disable TTO errors (Schizo/Tomatillo) */
 
#define SCHIZO_PCIDIAG_D_RTRYARB   (1UL << 7UL) /* Disable retry arbitration (Schizo) */
 
#define SCHIZO_PCIDIAG_D_RETRY   (1UL << 6UL) /* Disable retry limit (Schizo/Tomatillo) */
 
#define SCHIZO_PCIDIAG_D_INTSYNC   (1UL << 5UL) /* Disable interrupt/DMA synch (Schizo/Tomatillo) */
 
#define SCHIZO_PCIDIAG_I_DMA_PARITY   (1UL << 3UL) /* Invert DMA parity (Schizo/Tomatillo) */
 
#define SCHIZO_PCIDIAG_I_PIOD_PARITY   (1UL << 2UL) /* Invert PIO data parity (Schizo/Tomatillo) */
 
#define SCHIZO_PCIDIAG_I_PIOA_PARITY   (1UL << 1UL) /* Invert PIO address parity (Schizo/Tomatillo) */
 
#define TOMATILLO_PCI_IOC_CSR   (0x2248UL)
 
#define TOMATILLO_IOC_PART_WPENAB   0x0000000000080000UL
 
#define TOMATILLO_IOC_RDMULT_PENAB   0x0000000000040000UL
 
#define TOMATILLO_IOC_RDONE_PENAB   0x0000000000020000UL
 
#define TOMATILLO_IOC_RDLINE_PENAB   0x0000000000010000UL
 
#define TOMATILLO_IOC_RDMULT_PLEN   0x000000000000c000UL
 
#define TOMATILLO_IOC_RDMULT_PLEN_SHIFT   14UL
 
#define TOMATILLO_IOC_RDONE_PLEN   0x0000000000003000UL
 
#define TOMATILLO_IOC_RDONE_PLEN_SHIFT   12UL
 
#define TOMATILLO_IOC_RDLINE_PLEN   0x0000000000000c00UL
 
#define TOMATILLO_IOC_RDLINE_PLEN_SHIFT   10UL
 
#define TOMATILLO_IOC_PREF_OFF   0x00000000000003f8UL
 
#define TOMATILLO_IOC_PREF_OFF_SHIFT   3UL
 
#define TOMATILLO_IOC_RDMULT_CPENAB   0x0000000000000004UL
 
#define TOMATILLO_IOC_RDONE_CPENAB   0x0000000000000002UL
 
#define TOMATILLO_IOC_RDLINE_CPENAB   0x0000000000000001UL
 
#define TOMATILLO_PCI_IOC_TDIAG   (0x2250UL)
 
#define TOMATILLO_PCI_IOC_DDIAG   (0x2290UL)
 

Enumerations

enum  schizo_error_type { UE_ERR, CE_ERR, PCI_ERR, SAFARI_ERR }
 

Functions

 subsys_initcall (schizo_init)
 

Macro Definition Documentation

#define BUS_ERROR_APERR   0x0000000000000020UL /* Safari/Tomatillo */

Definition at line 779 of file pci_schizo.c.

#define BUS_ERROR_BADCMD   0x4000000000000000UL /* Schizo/Tomatillo */

Definition at line 753 of file pci_schizo.c.

#define BUS_ERROR_BADMA   0x1000000000000000UL /* Safari */

Definition at line 755 of file pci_schizo.c.

#define BUS_ERROR_BADMB   0x0800000000000000UL /* Safari */

Definition at line 756 of file pci_schizo.c.

#define BUS_ERROR_BADMC   0x0400000000000000UL /* Safari */

Definition at line 757 of file pci_schizo.c.

#define BUS_ERROR_BUSERR   0x0000000000000004UL /* Safari/Tomatillo */

Definition at line 781 of file pci_schizo.c.

#define BUS_ERROR_CIQTO   0x0000000000000200UL /* Safari */

Definition at line 773 of file pci_schizo.c.

#define BUS_ERROR_CPU0PB   0x0000000000000400UL /* Safari */

Definition at line 771 of file pci_schizo.c.

#define BUS_ERROR_CPU0PS   0x0000000000000800UL /* Safari */

Definition at line 769 of file pci_schizo.c.

#define BUS_ERROR_CPU1PB   0x0000000000001000UL /* Safari */

Definition at line 767 of file pci_schizo.c.

#define BUS_ERROR_CPU1PS   0x0000000000002000UL /* Safari */

Definition at line 765 of file pci_schizo.c.

#define BUS_ERROR_CTRL_PERR   0x0000000000001000UL /* Tomatillo */

Definition at line 768 of file pci_schizo.c.

#define BUS_ERROR_ILL   0x0000000000000001UL /* Safari */

Definition at line 783 of file pci_schizo.c.

#define BUS_ERROR_JBUS_ILL_B   0x0000000000000400UL /* Tomatillo */

Definition at line 772 of file pci_schizo.c.

#define BUS_ERROR_JBUS_ILL_C   0x0000000000000100UL /* Tomatillo */

Definition at line 775 of file pci_schizo.c.

#define BUS_ERROR_LPQTO   0x0000000000000100UL /* Safari */

Definition at line 774 of file pci_schizo.c.

#define BUS_ERROR_RD_PERR   0x0000000000000040UL /* Tomatillo */

Definition at line 778 of file pci_schizo.c.

#define BUS_ERROR_SFPQTO   0x0000000000000080UL /* Safari */

Definition at line 776 of file pci_schizo.c.

#define BUS_ERROR_SNOOP_ERR   0x0000000000000800UL /* Tomatillo */

Definition at line 770 of file pci_schizo.c.

#define BUS_ERROR_SNOOP_GR   0x0000000000200000UL /* Tomatillo */

Definition at line 758 of file pci_schizo.c.

#define BUS_ERROR_SNOOP_OWN   0x0000000000008000UL /* Tomatillo */

Definition at line 763 of file pci_schizo.c.

#define BUS_ERROR_SNOOP_PCI   0x0000000000100000UL /* Tomatillo */

Definition at line 759 of file pci_schizo.c.

#define BUS_ERROR_SNOOP_RD   0x0000000000080000UL /* Tomatillo */

Definition at line 760 of file pci_schizo.c.

#define BUS_ERROR_SNOOP_RDO   0x0000000000004000UL /* Tomatillo */

Definition at line 764 of file pci_schizo.c.

#define BUS_ERROR_SNOOP_RDS   0x0000000000020000UL /* Tomatillo */

Definition at line 761 of file pci_schizo.c.

#define BUS_ERROR_SNOOP_RDSA   0x0000000000010000UL /* Tomatillo */

Definition at line 762 of file pci_schizo.c.

#define BUS_ERROR_SSMDIS   0x2000000000000000UL /* Safari */

Definition at line 754 of file pci_schizo.c.

#define BUS_ERROR_TIMEOUT   0x0000000000000002UL /* Safari/Tomatillo */

Definition at line 782 of file pci_schizo.c.

#define BUS_ERROR_UFPQTO   0x0000000000000040UL /* Safari */

Definition at line 777 of file pci_schizo.c.

#define BUS_ERROR_UNMAP   0x0000000000000010UL /* Safari/Tomatillo */

Definition at line 780 of file pci_schizo.c.

#define BUS_ERROR_WDATA_PERR   0x0000000000002000UL /* Tomatillo */

Definition at line 766 of file pci_schizo.c.

#define DRIVER_NAME   "schizo"

Definition at line 24 of file pci_schizo.c.

#define PFX   DRIVER_NAME ": "

Definition at line 25 of file pci_schizo.c.

#define SAFARI_ERRLOG_ERROUT   0x8000000000000000UL

Definition at line 751 of file pci_schizo.c.

#define SCHIZO_CE_AFAR   0x10048UL

Definition at line 442 of file pci_schizo.c.

#define SCHIZO_CE_AFSR   0x10040UL

Definition at line 441 of file pci_schizo.c.

#define SCHIZO_CE_INO   0x31 /* Correctable ECC error */

Definition at line 102 of file pci_schizo.c.

#define SCHIZO_CEAFSR_AID   0x000000001f000000UL

Definition at line 452 of file pci_schizo.c.

#define SCHIZO_CEAFSR_BMSK   0x000003ff00000000UL

Definition at line 450 of file pci_schizo.c.

#define SCHIZO_CEAFSR_ECCSYND   0x00000000000001ffUL

Definition at line 457 of file pci_schizo.c.

#define SCHIZO_CEAFSR_ERRPNDG   0x0300000000000000UL

Definition at line 449 of file pci_schizo.c.

#define SCHIZO_CEAFSR_MTAG   0x000000000000e000UL

Definition at line 456 of file pci_schizo.c.

#define SCHIZO_CEAFSR_MTAGSYND   0x00000000000f0000UL

Definition at line 455 of file pci_schizo.c.

#define SCHIZO_CEAFSR_OWNEDIN   0x0000000000400000UL

Definition at line 454 of file pci_schizo.c.

#define SCHIZO_CEAFSR_PARTIAL   0x0000000000800000UL

Definition at line 453 of file pci_schizo.c.

#define SCHIZO_CEAFSR_PDRD   0x4000000000000000UL

Definition at line 445 of file pci_schizo.c.

#define SCHIZO_CEAFSR_PDWR   0x2000000000000000UL

Definition at line 446 of file pci_schizo.c.

#define SCHIZO_CEAFSR_PPIO   0x8000000000000000UL

Definition at line 444 of file pci_schizo.c.

#define SCHIZO_CEAFSR_QOFF   0x00000000c0000000UL

Definition at line 451 of file pci_schizo.c.

#define SCHIZO_CEAFSR_SDMA   0x0800000000000000UL

Definition at line 448 of file pci_schizo.c.

#define SCHIZO_CEAFSR_SPIO   0x1000000000000000UL

Definition at line 447 of file pci_schizo.c.

#define SCHIZO_CONFIG_BASE (   PBM)    ((PBM)->config_space)

Definition at line 72 of file pci_schizo.c.

#define SCHIZO_CONFIG_ENCODE (   BUS,
  DEVFN,
  REG 
)
Value:
(((unsigned long)(BUS) << 16) | \
((unsigned long)(DEVFN) << 8) | \
((unsigned long)(REG)))

Definition at line 73 of file pci_schizo.c.

#define SCHIZO_ECC_CTRL   0x10020UL

Definition at line 812 of file pci_schizo.c.

#define SCHIZO_ECCCTRL_CE   0x2000000000000000UL /* Enable CE INterrupts */

Definition at line 815 of file pci_schizo.c.

#define SCHIZO_ECCCTRL_EE   0x8000000000000000UL /* Enable ECC Checking */

Definition at line 813 of file pci_schizo.c.

#define SCHIZO_ECCCTRL_UE   0x4000000000000000UL /* Enable UE Interrupts */

Definition at line 814 of file pci_schizo.c.

#define SCHIZO_IOMMU_CONTROL   (0x00200UL)

Definition at line 1127 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_DENAB   0x0000000000000002UL /* Diagnostic mode enable */

Definition at line 61 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_ENAB   0x0000000000000001UL /* IOMMU Enable */

Definition at line 62 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_LCKEN   0x0000000000800000UL /* Enable translation locking */

Definition at line 48 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_LCKPTR   0x0000000000780000UL /* Translation lock pointer */

Definition at line 49 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_RESV   0xfffffffff9000000UL /* Reserved */

Definition at line 45 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_RESV2   0x000000000000fff8UL /* Reserved */

Definition at line 59 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_TBWSZ   0x0000000000000004UL /* Assumed page size, 0=8k 1=64k */

Definition at line 60 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_TSBSZ   0x0000000000070000UL /* TSB Size */

Definition at line 50 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_XLTEERR   0x0000000001000000UL /* Translation Error encountered */

Definition at line 47 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTRL_XLTESTAT   0x0000000006000000UL /* Translation Error Status */

Definition at line 46 of file pci_schizo.c.

#define SCHIZO_IOMMU_CTXFLUSH   (0x00218UL)

Definition at line 1130 of file pci_schizo.c.

#define SCHIZO_IOMMU_DATA   0xa600UL

Definition at line 220 of file pci_schizo.c.

#define SCHIZO_IOMMU_DATA_CACHE   0x0000000040000000UL

Definition at line 231 of file pci_schizo.c.

#define SCHIZO_IOMMU_DATA_PPAGE   0x000000003fffffffUL

Definition at line 232 of file pci_schizo.c.

#define SCHIZO_IOMMU_DATA_VALID   0x0000000100000000UL

Definition at line 230 of file pci_schizo.c.

#define SCHIZO_IOMMU_FLUSH   (0x00210UL)

Definition at line 1129 of file pci_schizo.c.

#define SCHIZO_IOMMU_TAG   0xa580UL

Definition at line 219 of file pci_schizo.c.

#define SCHIZO_IOMMU_TAG_CTXT   0x0000001ffe000000UL

Definition at line 222 of file pci_schizo.c.

#define SCHIZO_IOMMU_TAG_ERR   0x0000000000400000UL

Definition at line 224 of file pci_schizo.c.

#define SCHIZO_IOMMU_TAG_ERRSTS   0x0000000001800000UL

Definition at line 223 of file pci_schizo.c.

#define SCHIZO_IOMMU_TAG_SIZE   0x0000000000080000UL

Definition at line 227 of file pci_schizo.c.

#define SCHIZO_IOMMU_TAG_STREAM   0x0000000000100000UL

Definition at line 226 of file pci_schizo.c.

#define SCHIZO_IOMMU_TAG_VPAGE   0x000000000007ffffUL

Definition at line 228 of file pci_schizo.c.

#define SCHIZO_IOMMU_TAG_WRITE   0x0000000000200000UL

Definition at line 225 of file pci_schizo.c.

#define SCHIZO_IOMMU_TSBBASE   (0x00208UL)

Definition at line 1128 of file pci_schizo.c.

#define SCHIZO_IOMMU_TSBSZ_128K   0x0000000000070000UL /* TSB Table 128k 8-byte entries */

Definition at line 58 of file pci_schizo.c.

#define SCHIZO_IOMMU_TSBSZ_16K   0x0000000000040000UL /* TSB Table 16k 8-byte entries */

Definition at line 55 of file pci_schizo.c.

#define SCHIZO_IOMMU_TSBSZ_1K   0x0000000000000000UL /* TSB Table 1024 8-byte entries */

Definition at line 51 of file pci_schizo.c.

#define SCHIZO_IOMMU_TSBSZ_2K   0x0000000000010000UL /* TSB Table 2048 8-byte entries */

Definition at line 52 of file pci_schizo.c.

#define SCHIZO_IOMMU_TSBSZ_32K   0x0000000000050000UL /* TSB Table 32k 8-byte entries */

Definition at line 56 of file pci_schizo.c.

#define SCHIZO_IOMMU_TSBSZ_4K   0x0000000000020000UL /* TSB Table 4096 8-byte entries */

Definition at line 53 of file pci_schizo.c.

#define SCHIZO_IOMMU_TSBSZ_64K   0x0000000000060000UL /* TSB Table 64k 8-byte entries */

Definition at line 57 of file pci_schizo.c.

#define SCHIZO_IOMMU_TSBSZ_8K   0x0000000000030000UL /* TSB Table 8192 8-byte entries */

Definition at line 54 of file pci_schizo.c.

#define SCHIZO_IRQ_RETRY_INF   0xffUL

Definition at line 1224 of file pci_schizo.c.

#define SCHIZO_PCI_AFAR   0x2018UL

Definition at line 531 of file pci_schizo.c.

#define SCHIZO_PCI_AFSR   0x2010UL

Definition at line 530 of file pci_schizo.c.

#define SCHIZO_PCI_CTRL   (0x2000UL)

Definition at line 551 of file pci_schizo.c.

#define SCHIZO_PCI_DIAG   (0x2020UL)

Definition at line 1226 of file pci_schizo.c.

#define SCHIZO_PCI_IRQ_RETRY   (0x1a00UL)

Definition at line 1223 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_BLK   0x0000000080000000UL /* Schizo/Tomatillo */

Definition at line 546 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_BMSK   0x000003ff00000000UL /* Schizo/Tomatillo */

Definition at line 545 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_CFG   0x0000000040000000UL /* Schizo/Tomatillo */

Definition at line 547 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_IO   0x0000000010000000UL /* Schizo/Tomatillo */

Definition at line 549 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_MEM   0x0000000020000000UL /* Schizo/Tomatillo */

Definition at line 548 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_PMA   0x8000000000000000UL /* Schizo/Tomatillo */

Definition at line 533 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_PPERR   0x1000000000000000UL /* Schizo/Tomatillo */

Definition at line 536 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_PRTRY   0x2000000000000000UL /* Schizo/Tomatillo */

Definition at line 535 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_PTA   0x4000000000000000UL /* Schizo/Tomatillo */

Definition at line 534 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_PTTO   0x0800000000000000UL /* Schizo/Tomatillo */

Definition at line 537 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_PUNUS   0x0400000000000000UL /* Schizo */

Definition at line 538 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_SMA   0x0200000000000000UL /* Schizo/Tomatillo */

Definition at line 539 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_SPERR   0x0040000000000000UL /* Schizo/Tomatillo */

Definition at line 542 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_SRTRY   0x0080000000000000UL /* Schizo/Tomatillo */

Definition at line 541 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_STA   0x0100000000000000UL /* Schizo/Tomatillo */

Definition at line 540 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_STTO   0x0020000000000000UL /* Schizo/Tomatillo */

Definition at line 543 of file pci_schizo.c.

#define SCHIZO_PCIAFSR_SUNUS   0x0010000000000000UL /* Schizo */

Definition at line 544 of file pci_schizo.c.

#define SCHIZO_PCICTRL_ARB_PRIO   (0x1ff << 52UL) /* Tomatillo */

Definition at line 554 of file pci_schizo.c.

#define SCHIZO_PCICTRL_ARB_S   (0x3fUL << 0UL) /* Safari */

Definition at line 577 of file pci_schizo.c.

#define SCHIZO_PCICTRL_ARB_T   (0xffUL << 0UL) /* Tomatillo */

Definition at line 578 of file pci_schizo.c.

#define SCHIZO_PCICTRL_BUS_UNUS   (1UL << 63UL) /* Safari */

Definition at line 552 of file pci_schizo.c.

#define SCHIZO_PCICTRL_DTO_ERR   (1UL << 36UL) /* Safari/Tomatillo */

Definition at line 559 of file pci_schizo.c.

#define SCHIZO_PCICTRL_DTO_INT   (1UL << 61UL) /* Tomatillo */

Definition at line 553 of file pci_schizo.c.

#define SCHIZO_PCICTRL_EEN   (1UL << 17UL) /* Safari/Tomatillo */

Definition at line 574 of file pci_schizo.c.

#define SCHIZO_PCICTRL_ERRSLOT   (7UL << 48UL) /* Safari */

Definition at line 556 of file pci_schizo.c.

#define SCHIZO_PCICTRL_ESLCK   (1UL << 51UL) /* Safari */

Definition at line 555 of file pci_schizo.c.

#define SCHIZO_PCICTRL_F_TGT_A   (1UL << 20UL) /* Tomatillo */

Definition at line 569 of file pci_schizo.c.

#define SCHIZO_PCICTRL_F_TGT_RT   (1UL << 19UL) /* Tomatillo */

Definition at line 571 of file pci_schizo.c.

#define SCHIZO_PCICTRL_MRM_PREF   (1UL << 30UL) /* Tomatillo */

Definition at line 563 of file pci_schizo.c.

#define SCHIZO_PCICTRL_PARK   (1UL << 16UL) /* Safari/Tomatillo */

Definition at line 575 of file pci_schizo.c.

#define SCHIZO_PCICTRL_PCIRST   (1UL << 8UL) /* Safari */

Definition at line 576 of file pci_schizo.c.

#define SCHIZO_PCICTRL_PCISPD   (1UL << 33UL) /* Safari */

Definition at line 562 of file pci_schizo.c.

#define SCHIZO_PCICTRL_PTO   (3UL << 24UL) /* Safari/Tomatillo */

Definition at line 566 of file pci_schizo.c.

#define SCHIZO_PCICTRL_PTO_SHIFT   24UL

Definition at line 567 of file pci_schizo.c.

#define SCHIZO_PCICTRL_RDL_PREF   (1UL << 28UL) /* Tomatillo */

Definition at line 565 of file pci_schizo.c.

#define SCHIZO_PCICTRL_RDO_PREF   (1UL << 29UL) /* Tomatillo */

Definition at line 564 of file pci_schizo.c.

#define SCHIZO_PCICTRL_RTRY_ERR   (1UL << 37UL) /* Safari/Tomatillo */

Definition at line 558 of file pci_schizo.c.

#define SCHIZO_PCICTRL_S_DTO_INT   (1UL << 19UL) /* Safari */

Definition at line 570 of file pci_schizo.c.

#define SCHIZO_PCICTRL_SBH_ERR   (1UL << 35UL) /* Safari */

Definition at line 560 of file pci_schizo.c.

#define SCHIZO_PCICTRL_SBH_INT   (1UL << 18UL) /* Safari */

Definition at line 572 of file pci_schizo.c.

#define SCHIZO_PCICTRL_SERR   (1UL << 34UL) /* Safari/Tomatillo */

Definition at line 561 of file pci_schizo.c.

#define SCHIZO_PCICTRL_T_DTO_INT   (1UL << 18UL) /* Tomatillo */

Definition at line 573 of file pci_schizo.c.

#define SCHIZO_PCICTRL_TRWSW   (7UL << 21UL) /* Tomatillo */

Definition at line 568 of file pci_schizo.c.

#define SCHIZO_PCICTRL_TTO_ERR   (1UL << 38UL) /* Safari/Tomatillo */

Definition at line 557 of file pci_schizo.c.

#define SCHIZO_PCIDIAG_D_BADECC   (1UL << 10UL) /* Disable BAD ECC errors (Schizo) */

Definition at line 1227 of file pci_schizo.c.

#define SCHIZO_PCIDIAG_D_BYPASS   (1UL << 9UL) /* Disable MMU bypass mode (Schizo/Tomatillo) */

Definition at line 1228 of file pci_schizo.c.

#define SCHIZO_PCIDIAG_D_INTSYNC   (1UL << 5UL) /* Disable interrupt/DMA synch (Schizo/Tomatillo) */

Definition at line 1232 of file pci_schizo.c.

#define SCHIZO_PCIDIAG_D_RETRY   (1UL << 6UL) /* Disable retry limit (Schizo/Tomatillo) */

Definition at line 1231 of file pci_schizo.c.

#define SCHIZO_PCIDIAG_D_RTRYARB   (1UL << 7UL) /* Disable retry arbitration (Schizo) */

Definition at line 1230 of file pci_schizo.c.

#define SCHIZO_PCIDIAG_D_TTO   (1UL << 8UL) /* Disable TTO errors (Schizo/Tomatillo) */

Definition at line 1229 of file pci_schizo.c.

#define SCHIZO_PCIDIAG_I_DMA_PARITY   (1UL << 3UL) /* Invert DMA parity (Schizo/Tomatillo) */

Definition at line 1233 of file pci_schizo.c.

#define SCHIZO_PCIDIAG_I_PIOA_PARITY   (1UL << 1UL) /* Invert PIO address parity (Schizo/Tomatillo) */

Definition at line 1235 of file pci_schizo.c.

#define SCHIZO_PCIDIAG_I_PIOD_PARITY   (1UL << 2UL) /* Invert PIO data parity (Schizo/Tomatillo) */

Definition at line 1234 of file pci_schizo.c.

#define SCHIZO_PCIERR_A_INO   0x32 /* PBM A PCI bus error */

Definition at line 103 of file pci_schizo.c.

#define SCHIZO_PCIERR_B_INO   0x33 /* PBM B PCI bus error */

Definition at line 104 of file pci_schizo.c.

#define SCHIZO_SAFARI_ERRCTRL   0x10008UL

Definition at line 817 of file pci_schizo.c.

#define SCHIZO_SAFARI_ERRLOG   0x10018UL

Definition at line 749 of file pci_schizo.c.

#define SCHIZO_SAFARI_IRQCTRL   0x10010UL

Definition at line 819 of file pci_schizo.c.

#define SCHIZO_SAFERRCTRL_EN   0x8000000000000000UL

Definition at line 818 of file pci_schizo.c.

#define SCHIZO_SAFIRQCTRL_EN   0x8000000000000000UL

Definition at line 820 of file pci_schizo.c.

#define SCHIZO_SERR_INO   0x34 /* Safari interface error */

Definition at line 105 of file pci_schizo.c.

#define SCHIZO_STC_ERR   0xb800UL /* --> 0xba00 */

Definition at line 107 of file pci_schizo.c.

#define SCHIZO_STC_LINE   0xbb00UL /* --> 0xbb80 */

Definition at line 109 of file pci_schizo.c.

#define SCHIZO_STC_TAG   0xba00UL /* --> 0xba80 */

Definition at line 108 of file pci_schizo.c.

#define SCHIZO_STCERR_READ   0x1UL

Definition at line 112 of file pci_schizo.c.

#define SCHIZO_STCERR_WRITE   0x2UL

Definition at line 111 of file pci_schizo.c.

#define SCHIZO_STCLINE_EPTR   0x000000000000003fUL

Definition at line 122 of file pci_schizo.c.

#define SCHIZO_STCLINE_FOFN   0x0000000000180000UL

Definition at line 124 of file pci_schizo.c.

#define SCHIZO_STCLINE_LADDR   0x0000000000001fc0UL

Definition at line 121 of file pci_schizo.c.

#define SCHIZO_STCLINE_LINDX   0x0000000007800000UL

Definition at line 119 of file pci_schizo.c.

#define SCHIZO_STCLINE_SPTR   0x000000000007e000UL

Definition at line 120 of file pci_schizo.c.

#define SCHIZO_STCLINE_VALID   0x0000000000600000UL

Definition at line 123 of file pci_schizo.c.

#define SCHIZO_STCTAG_PPN   0x3fffffff00000000UL

Definition at line 114 of file pci_schizo.c.

#define SCHIZO_STCTAG_READ   0x4000000000000000UL

Definition at line 117 of file pci_schizo.c.

#define SCHIZO_STCTAG_VALID   0x8000000000000000UL

Definition at line 116 of file pci_schizo.c.

#define SCHIZO_STCTAG_VPN   0x00000000ffffe000UL

Definition at line 115 of file pci_schizo.c.

#define SCHIZO_STRBUF_CONTROL   (0x02800UL)

Definition at line 1083 of file pci_schizo.c.

#define SCHIZO_STRBUF_CTRL_DENAB   0x0000000000000002UL /* Diagnostic Mode Enable */

Definition at line 41 of file pci_schizo.c.

#define SCHIZO_STRBUF_CTRL_ENAB   0x0000000000000001UL /* Streaming Buffer Enable */

Definition at line 42 of file pci_schizo.c.

#define SCHIZO_STRBUF_CTRL_LENAB   0x0000000000000008UL /* LRU Lock Enable */

Definition at line 39 of file pci_schizo.c.

#define SCHIZO_STRBUF_CTRL_LPTR   0x00000000000000f0UL /* LRU Lock Pointer */

Definition at line 38 of file pci_schizo.c.

#define SCHIZO_STRBUF_CTRL_RRDIS   0x0000000000000004UL /* Rerun Disable */

Definition at line 40 of file pci_schizo.c.

#define SCHIZO_STRBUF_CTXFLUSH   (0x02818UL)

Definition at line 1086 of file pci_schizo.c.

#define SCHIZO_STRBUF_CTXMATCH   (0x10000UL)

Definition at line 1087 of file pci_schizo.c.

#define SCHIZO_STRBUF_FLUSH   (0x02808UL)

Definition at line 1084 of file pci_schizo.c.

#define SCHIZO_STRBUF_FSYNC   (0x02810UL)

Definition at line 1085 of file pci_schizo.c.

#define SCHIZO_UE_AFAR   0x10038UL

Definition at line 354 of file pci_schizo.c.

#define SCHIZO_UE_AFSR   0x10030UL

Definition at line 353 of file pci_schizo.c.

#define SCHIZO_UE_INO   0x30 /* Uncorrectable ECC error */

Definition at line 101 of file pci_schizo.c.

#define SCHIZO_UEAFSR_AID   0x000000001f000000UL /* Safari/Tomatillo */

Definition at line 364 of file pci_schizo.c.

#define SCHIZO_UEAFSR_BMSK   0x000003ff00000000UL /* Safari */

Definition at line 362 of file pci_schizo.c.

#define SCHIZO_UEAFSR_ECCSYND   0x00000000000001ffUL /* Safari */

Definition at line 369 of file pci_schizo.c.

#define SCHIZO_UEAFSR_ERRPNDG   0x0300000000000000UL /* Safari */

Definition at line 361 of file pci_schizo.c.

#define SCHIZO_UEAFSR_MTAG   0x000000000000e000UL /* Safari */

Definition at line 368 of file pci_schizo.c.

#define SCHIZO_UEAFSR_MTAGSYND   0x00000000000f0000UL /* Safari */

Definition at line 367 of file pci_schizo.c.

#define SCHIZO_UEAFSR_OWNEDIN   0x0000000000400000UL /* Safari */

Definition at line 366 of file pci_schizo.c.

#define SCHIZO_UEAFSR_PARTIAL   0x0000000000800000UL /* Safari */

Definition at line 365 of file pci_schizo.c.

#define SCHIZO_UEAFSR_PDRD   0x4000000000000000UL /* Safari/Tomatillo */

Definition at line 357 of file pci_schizo.c.

#define SCHIZO_UEAFSR_PDWR   0x2000000000000000UL /* Safari */

Definition at line 358 of file pci_schizo.c.

#define SCHIZO_UEAFSR_PPIO   0x8000000000000000UL /* Safari */

Definition at line 356 of file pci_schizo.c.

#define SCHIZO_UEAFSR_QOFF   0x00000000c0000000UL /* Safari/Tomatillo */

Definition at line 363 of file pci_schizo.c.

#define SCHIZO_UEAFSR_SDMA   0x0800000000000000UL /* Safari/Tomatillo */

Definition at line 360 of file pci_schizo.c.

#define SCHIZO_UEAFSR_SPIO   0x1000000000000000UL /* Safari */

Definition at line 359 of file pci_schizo.c.

#define TOMATILLO_IOC_PART_WPENAB   0x0000000000080000UL

Definition at line 1238 of file pci_schizo.c.

#define TOMATILLO_IOC_PREF_OFF   0x00000000000003f8UL

Definition at line 1248 of file pci_schizo.c.

#define TOMATILLO_IOC_PREF_OFF_SHIFT   3UL

Definition at line 1249 of file pci_schizo.c.

#define TOMATILLO_IOC_RDLINE_CPENAB   0x0000000000000001UL

Definition at line 1252 of file pci_schizo.c.

#define TOMATILLO_IOC_RDLINE_PENAB   0x0000000000010000UL

Definition at line 1241 of file pci_schizo.c.

#define TOMATILLO_IOC_RDLINE_PLEN   0x0000000000000c00UL

Definition at line 1246 of file pci_schizo.c.

#define TOMATILLO_IOC_RDLINE_PLEN_SHIFT   10UL

Definition at line 1247 of file pci_schizo.c.

#define TOMATILLO_IOC_RDMULT_CPENAB   0x0000000000000004UL

Definition at line 1250 of file pci_schizo.c.

#define TOMATILLO_IOC_RDMULT_PENAB   0x0000000000040000UL

Definition at line 1239 of file pci_schizo.c.

#define TOMATILLO_IOC_RDMULT_PLEN   0x000000000000c000UL

Definition at line 1242 of file pci_schizo.c.

#define TOMATILLO_IOC_RDMULT_PLEN_SHIFT   14UL

Definition at line 1243 of file pci_schizo.c.

#define TOMATILLO_IOC_RDONE_CPENAB   0x0000000000000002UL

Definition at line 1251 of file pci_schizo.c.

#define TOMATILLO_IOC_RDONE_PENAB   0x0000000000020000UL

Definition at line 1240 of file pci_schizo.c.

#define TOMATILLO_IOC_RDONE_PLEN   0x0000000000003000UL

Definition at line 1244 of file pci_schizo.c.

#define TOMATILLO_IOC_RDONE_PLEN_SHIFT   12UL

Definition at line 1245 of file pci_schizo.c.

#define TOMATILLO_PCI_IOC_CSR   (0x2248UL)

Definition at line 1237 of file pci_schizo.c.

#define TOMATILLO_PCI_IOC_DDIAG   (0x2290UL)

Definition at line 1255 of file pci_schizo.c.

#define TOMATILLO_PCI_IOC_TDIAG   (0x2250UL)

Definition at line 1254 of file pci_schizo.c.

Enumeration Type Documentation

Enumerator:
UE_ERR 
CE_ERR 
PCI_ERR 
SAFARI_ERR 

Definition at line 92 of file pci_schizo.c.

Function Documentation

subsys_initcall ( schizo_init  )