linux/drivers/memory/fsl-corenet-cf.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * CoreNet Coherency Fabric error reporting
 *
 * Copyright 2014 Freescale Semiconductor Inc.
 */

#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/property.h>

enum ccf_version {};

struct ccf_info {};

static const struct ccf_info ccf1_info =;

static const struct ccf_info ccf2_info =;

/*
 * This register is present but not documented, with different values for
 * IP_ID, on other chips with fsl,corenet2-cf such as t4240 and b4860.
 */
#define CCF_BRR
#define CCF_BRR_IPID
#define CCF_BRR_IPID_T1040

static const struct of_device_id ccf_matches[] =;
MODULE_DEVICE_TABLE(of, ccf_matches);

struct ccf_err_regs {};

/* LAE/CV also valid for errdis and errinten */
#define ERRDET_LAE
#define ERRDET_CV
#define ERRDET_UTID
#define ERRDET_MCST
#define ERRDET_CTYPE_SHIFT
#define ERRDET_CTYPE_MASK
#define ERRDET_CAP

#define CECAR_VAL
#define CECAR_UVT
#define CECAR_SRCID_SHIFT_CCF1
#define CECAR_SRCID_MASK_CCF1
#define CECAR_SRCID_SHIFT_CCF2
#define CECAR_SRCID_MASK_CCF2

#define CECADDRH_ADDRH

struct ccf_private {};

static irqreturn_t ccf_irq(int irq, void *dev_id)
{}

static int ccf_probe(struct platform_device *pdev)
{}

static void ccf_remove(struct platform_device *pdev)
{}

static struct platform_driver ccf_driver =;

module_platform_driver();

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();