linux/drivers/net/ethernet/stmicro/stmmac/mmc.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*******************************************************************************
  MMC Header file

  Copyright (C) 2011  STMicroelectronics Ltd


  Author: Giuseppe Cavallaro <[email protected]>
*******************************************************************************/

#ifndef __MMC_H__
#define __MMC_H__

/* MMC control register */
/* When set, all counter are reset */
#define MMC_CNTRL_COUNTER_RESET
/* When set, do not roll over zero after reaching the max value*/
#define MMC_CNTRL_COUNTER_STOP_ROLLOVER
#define MMC_CNTRL_RESET_ON_READ
#define MMC_CNTRL_COUNTER_FREEZER
#define MMC_CNTRL_PRESET
#define MMC_CNTRL_FULL_HALF_PRESET

#define MMC_GMAC4_OFFSET
#define MMC_GMAC3_X_OFFSET
#define MMC_XGMAC_OFFSET

struct stmmac_counters {};

#endif /* __MMC_H__ */