linux/drivers/scsi/mvsas/mv_94xx.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Marvell 88SE94xx hardware specific head file
 *
 * Copyright 2007 Red Hat, Inc.
 * Copyright 2008 Marvell. <[email protected]>
 * Copyright 2009-2011 Marvell. <[email protected]>
*/

#ifndef _MVS94XX_REG_H_
#define _MVS94XX_REG_H_

#include <linux/types.h>

#define MAX_LINK_RATE

enum VANIR_REVISION_ID {};

enum host_registers {};

enum hw_registers {};

enum pci_cfg_registers {};

/*  SAS/SATA Vendor Specific Port Registers */
enum sas_sata_vsp_regs {};

enum chip_register_bits {};

enum pci_interrupt_cause {};

reg_phy_cfg;

#define MAX_SG_ENTRY

struct mvs_prd_imt {};

struct mvs_prd {} __attribute__ ((packed));

enum sgpio_registers {};

enum sgpio_led_status {};

#define DEFAULT_SGPIO_BITS

/*
 * these registers are accessed through port vendor
 * specific address/data registers
 */
enum sas_sata_phy_regs {};

#define SPI_CTRL_REG_94XX
#define SPI_ADDR_REG_94XX
#define SPI_WR_DATA_REG_94XX
#define SPI_RD_DATA_REG_94XX
#define SPI_CTRL_READ_94XX
#define SPI_ADDR_VLD_94XX
#define SPI_CTRL_SpiStart_94XX

static inline int
mv_ffc64(u64 v)
{}

#define r_reg_set_enable(i)

#define w_reg_set_enable(i, tmp)

extern const struct mvs_dispatch mvs_94xx_dispatch;
#endif