/* SPDX-License-Identifier: GPL-2.0 * * mcp251xfd - Microchip MCP251xFD Family CAN controller driver * * Copyright (c) 2021, 2022 Pengutronix, * Marc Kleine-Budde <[email protected]> */ #ifndef _MCP251XFD_RAM_H #define _MCP251XFD_RAM_H #include <linux/ethtool.h> #define CAN_RAM_NUM_MAX … enum can_ram_mode { … }; struct can_ram_obj_config { … }; struct can_ram_config { … }; struct can_ram_layout { … }; void can_ram_get_layout(struct can_ram_layout *layout, const struct can_ram_config *config, const struct ethtool_ringparam *ring, const struct ethtool_coalesce *ec, const bool fd_mode); #endif