Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

drv.c File Reference


Detailed Description

Driver for Freescale CAN Controller FlexCAN.

Definition in file drv.c.

#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/clk.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <mach/hardware.h>
#include "flexcan.h"

Go to the source code of this file.

Functions

static void flexcan_ctrl_setup (struct flexcan_device *flexcan)
static void flexcan_err_handler (struct net_device *dev)
static __exit void flexcan_exit (void)
static void flexcan_hw_busoff (struct net_device *dev)
static int flexcan_hw_open (struct flexcan_device *flexcan)
static int flexcan_hw_reset (struct flexcan_device *flexcan)
static int flexcan_hw_restart (struct net_device *dev)
static void flexcan_hw_start (struct flexcan_device *flexcan)
static void flexcan_hw_stop (struct flexcan_device *flexcan)
static void flexcan_hw_watch (unsigned long data)
static __init int flexcan_init (void)
static irqreturn_t flexcan_irq_handler (int irq, void *data)
static void flexcan_mcr_setup (struct flexcan_device *flexcan)
static int flexcan_open (struct net_device *dev)
static int flexcan_probe (struct platform_device *pdev)
static int flexcan_remove (struct platform_device *pdev)
static int flexcan_resume (struct platform_device *pdev)
static void flexcan_setup (struct net_device *dev)
static int flexcan_start_xmit (struct sk_buff *skb, struct net_device *dev)
static int flexcan_stop (struct net_device *dev)
static int flexcan_suspend (struct platform_device *pdev, pm_message_t state)
 module_exit (flexcan_exit)
 module_init (flexcan_init)
 MODULE_LICENSE ("GPL")

Variables

static struct platform_driver flexcan_driver
static struct net_device_ops flexcan_netdev_ops


Generated by  Doxygen 1.6.0   Back to index