linux/drivers/net/ethernet/freescale/dpaa2/dpmac-cmd.h

/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
/* Copyright 2013-2016 Freescale Semiconductor Inc.
 * Copyright 2019 NXP
 */
#ifndef _FSL_DPMAC_CMD_H
#define _FSL_DPMAC_CMD_H

/* DPMAC Version */
#define DPMAC_VER_MAJOR
#define DPMAC_VER_MINOR
#define DPMAC_CMD_BASE_VERSION
#define DPMAC_CMD_2ND_VERSION
#define DPMAC_CMD_ID_OFFSET

#define DPMAC_CMD(id)
#define DPMAC_CMD_V2(id)

/* Command IDs */
#define DPMAC_CMDID_CLOSE
#define DPMAC_CMDID_OPEN

#define DPMAC_CMDID_GET_API_VERSION

#define DPMAC_CMDID_GET_ATTR
#define DPMAC_CMDID_SET_LINK_STATE

#define DPMAC_CMDID_GET_COUNTER

#define DPMAC_CMDID_SET_PROTOCOL

/* Macros for accessing command fields smaller than 1byte */
#define DPMAC_MASK(field)

#define dpmac_set_field(var, field, val)
#define dpmac_get_field(var, field)

struct dpmac_cmd_open {};

struct dpmac_rsp_get_attributes {};

#define DPMAC_STATE_SIZE
#define DPMAC_STATE_SHIFT
#define DPMAC_STATE_VALID_SIZE
#define DPMAC_STATE_VALID_SHIFT

struct dpmac_cmd_set_link_state {};

struct dpmac_cmd_get_counter {};

struct dpmac_rsp_get_counter {};

struct dpmac_rsp_get_api_version {};

struct dpmac_cmd_set_protocol {};
#endif /* _FSL_DPMAC_CMD_H */