blob: 25db96b0b9c9cc2aee3df0f61d02249b3fb3085f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* SPDX-License-Identifier: GPL-2.0 */
/* CAN bus driver for Microchip 25XXFD CAN Controller with SPI Interface
*
* Copyright 2019 Martin Sperl <kernel@martin.sperl.org>
*/
#ifndef __MCP25XXFD_CRC_H
#define __MCP25XXFD_CRC_H
#include "mcp25xxfd_priv.h"
int mcp25xxfd_crc_enable_int(struct mcp25xxfd_priv *priv, bool enable);
int mcp25xxfd_crc_clear_int(struct mcp25xxfd_priv *priv);
u16 mcp25xxfd_crc(u16 crc, u8 const *buffer, size_t len);
#endif /* __MCP25XXFD_CRC_H */
|