linux/drivers/net/can/ctucanfd/ctucanfd_kframe.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*******************************************************************************
 *
 * CTU CAN FD IP Core
 *
 * Copyright (C) 2015-2018 Ondrej Ille <[email protected]> FEE CTU
 * Copyright (C) 2018-2021 Ondrej Ille <[email protected]> self-funded
 * Copyright (C) 2018-2019 Martin Jerabek <[email protected]> FEE CTU
 * Copyright (C) 2018-2021 Pavel Pisa <[email protected]> FEE CTU/self-funded
 *
 * Project advisors:
 *     Jiri Novak <[email protected]>
 *     Pavel Pisa <[email protected]>
 *
 * Department of Measurement         (http://meas.fel.cvut.cz/)
 * Faculty of Electrical Engineering (http://www.fel.cvut.cz)
 * Czech Technical University        (http://www.cvut.cz/)
 ******************************************************************************/

/* This file is autogenerated, DO NOT EDIT! */

#ifndef __CTU_CAN_FD_CAN_FD_FRAME_FORMAT__
#define __CTU_CAN_FD_CAN_FD_FRAME_FORMAT__

#include <linux/bits.h>

/* CAN_Frame_format memory map */
enum ctu_can_fd_can_frame_format {};

/* CAN_FD_Frame_format memory region */

/*  FRAME_FORMAT_W registers */
#define REG_FRAME_FORMAT_W_DLC
#define REG_FRAME_FORMAT_W_RTR
#define REG_FRAME_FORMAT_W_IDE
#define REG_FRAME_FORMAT_W_FDF
#define REG_FRAME_FORMAT_W_BRS
#define REG_FRAME_FORMAT_W_ESI_RSV
#define REG_FRAME_FORMAT_W_RWCNT

/*  IDENTIFIER_W registers */
#define REG_IDENTIFIER_W_IDENTIFIER_EXT
#define REG_IDENTIFIER_W_IDENTIFIER_BASE

/*  TIMESTAMP_L_W registers */
#define REG_TIMESTAMP_L_W_TIME_STAMP_L_W

/*  TIMESTAMP_U_W registers */
#define REG_TIMESTAMP_U_W_TIMESTAMP_U_W

/*  DATA_1_4_W registers */
#define REG_DATA_1_4_W_DATA_1
#define REG_DATA_1_4_W_DATA_2
#define REG_DATA_1_4_W_DATA_3
#define REG_DATA_1_4_W_DATA_4

/*  DATA_5_8_W registers */
#define REG_DATA_5_8_W_DATA_5
#define REG_DATA_5_8_W_DATA_6
#define REG_DATA_5_8_W_DATA_7
#define REG_DATA_5_8_W_DATA_8

/*  DATA_61_64_W registers */
#define REG_DATA_61_64_W_DATA_61
#define REG_DATA_61_64_W_DATA_62
#define REG_DATA_61_64_W_DATA_63
#define REG_DATA_61_64_W_DATA_64

#endif