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

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright 2013-2016 Freescale Semiconductor Inc.
 * Copyright 2016-2018 NXP
 */

#ifndef _FSL_DPRTC_CMD_H
#define _FSL_DPRTC_CMD_H

/* Command versioning */
#define DPRTC_CMD_BASE_VERSION
#define DPRTC_CMD_VERSION_2
#define DPRTC_CMD_ID_OFFSET

#define DPRTC_CMD(id)
#define DPRTC_CMD_V2(id)

/* Command IDs */
#define DPRTC_CMDID_CLOSE
#define DPRTC_CMDID_OPEN

#define DPRTC_CMDID_SET_IRQ_ENABLE
#define DPRTC_CMDID_GET_IRQ_ENABLE
#define DPRTC_CMDID_SET_IRQ_MASK
#define DPRTC_CMDID_GET_IRQ_MASK
#define DPRTC_CMDID_GET_IRQ_STATUS
#define DPRTC_CMDID_CLEAR_IRQ_STATUS

#pragma pack(push, 1)
struct dprtc_cmd_open {};

struct dprtc_cmd_get_irq {};

struct dprtc_cmd_set_irq_enable {};

struct dprtc_rsp_get_irq_enable {};

struct dprtc_cmd_set_irq_mask {};

struct dprtc_rsp_get_irq_mask {};

struct dprtc_cmd_get_irq_status {};

struct dprtc_rsp_get_irq_status {};

struct dprtc_cmd_clear_irq_status {};

#pragma pack(pop)

#endif /* _FSL_DPRTC_CMD_H */