linux/drivers/net/can/m_can/tcan4x5x.h

/* SPDX-License-Identifier: GPL-2.0
 *
 * tcan4x5x - Texas Instruments TCAN4x5x Family CAN controller driver
 *
 * Copyright (c) 2020 Pengutronix,
 *                    Marc Kleine-Budde <[email protected]>
 */

#ifndef _TCAN4X5X_H
#define _TCAN4X5X_H

#include <linux/gpio/consumer.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/spi/spi.h>

#include "m_can.h"

#define TCAN4X5X_SANITIZE_SPI

struct __packed tcan4x5x_buf_cmd {};

struct tcan4x5x_map_buf {} ____cacheline_aligned;

struct tcan4x5x_priv {};

static inline void
tcan4x5x_spi_cmd_set_len(struct tcan4x5x_buf_cmd *cmd, u8 len)
{}

int tcan4x5x_regmap_init(struct tcan4x5x_priv *priv);

#endif