Linux Kernel
3.7.1
|
#include <linux/netdevice.h>
#include <linux/can.h>
#include <linux/can/dev.h>
#include <linux/can/error.h>
#include <linux/can/platform/flexcan.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/pinctrl/consumer.h>
Go to the source code of this file.
Data Structures | |
struct | flexcan_mb |
struct | flexcan_regs |
struct | flexcan_devtype_data |
struct | flexcan_priv |
Functions | |
module_platform_driver (flexcan_driver) | |
MODULE_AUTHOR ("Sascha Hauer <[email protected]>, ""Marc Kleine-Budde <[email protected]>") | |
MODULE_LICENSE ("GPL v2") | |
MODULE_DESCRIPTION ("CAN port driver for flexcan based chip") | |
#define FLEXCAN_CTRL_ERR_ALL (FLEXCAN_CTRL_ERR_BUS | FLEXCAN_CTRL_ERR_STATE) |
#define FLEXCAN_CTRL_ERR_BUS (FLEXCAN_CTRL_ERR_MSK) |
#define FLEXCAN_CTRL_ERR_STATE |
#define FLEXCAN_ESR_ALL_INT |
#define FLEXCAN_ESR_ERR_ALL (FLEXCAN_ESR_ERR_BUS | FLEXCAN_ESR_ERR_STATE) |
#define FLEXCAN_ESR_ERR_BUS |
#define FLEXCAN_ESR_ERR_STATE (FLEXCAN_ESR_TWRN_INT | FLEXCAN_ESR_RWRN_INT | FLEXCAN_ESR_BOFF_INT) |
#define FLEXCAN_ESR_FLT_CONF_ACTIVE (0x0 << FLEXCAN_EST_FLT_CONF_SHIFT) |
#define FLEXCAN_ESR_FLT_CONF_MASK (0x3 << FLEXCAN_EST_FLT_CONF_SHIFT) |
#define FLEXCAN_ESR_FLT_CONF_PASSIVE (0x1 << FLEXCAN_EST_FLT_CONF_SHIFT) |
#define FLEXCAN_IFLAG_DEFAULT |
MODULE_AUTHOR | ( | "Sascha Hauer <[email protected]> | , |
""Marc Kleine-Budde< kernel @pengutronix.de >" | |||
) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_platform_driver | ( | flexcan_driver | ) |