linux/drivers/net/ethernet/qualcomm/qca_spi.h

/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
/*
 *   Copyright (c) 2011, 2012, Qualcomm Atheros Communications Inc.
 *   Copyright (c) 2014, I2SE GmbH
 */

/*   Qualcomm Atheros SPI register definition.
 *
 *   This module is designed to define the Qualcomm Atheros SPI register
 *   placeholders;
 */

#ifndef _QCA_SPI_H
#define _QCA_SPI_H

#include <linux/netdevice.h>
#include <linux/sched.h>
#include <linux/skbuff.h>
#include <linux/spi/spi.h>
#include <linux/types.h>

#include "qca_7k_common.h"

#define QCASPI_DRV_VERSION
#define QCASPI_DRV_NAME

#define QCASPI_GOOD_SIGNATURE

#define QCASPI_TX_RING_MAX_LEN
#define QCASPI_TX_RING_MIN_LEN
#define QCASPI_RX_MAX_FRAMES

/* sync related constants */
#define QCASPI_SYNC_UNKNOWN
#define QCASPI_SYNC_RESET
#define QCASPI_SYNC_READY

#define QCASPI_RESET_TIMEOUT

/* sync events */
#define QCASPI_EVENT_UPDATE
#define QCASPI_EVENT_CPUON

struct tx_ring {};

struct qcaspi_stats {};

struct qcaspi {};

#endif /* _QCA_SPI_H */