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

agpsgpiodev.c File Reference

Detailed Description

Main file for GPIO kernel module. Contains driver entry/exit.

Definition in file agpsgpiodev.c.

#include <linux/module.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <linux/sched.h>
#include <linux/poll.h>
#include <linux/device.h>
#include <linux/regulator/consumer.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/cdev.h>
#include <mach/hardware.h>
#include "agpsgpiodev.h"

Go to the source code of this file.


void cleanup_chrdev (void)
static int device_ioctl (struct inode *inode, struct file *fp, unsigned int cmd, unsigned long arg)
static int device_open (struct inode *inode, struct file *fp)
static int device_release (struct inode *inode, struct file *fp)
int gpio_gps_access (int para)
void gpio_gps_active (void)
void gpio_gps_inactive (void)
static void __exit gps_ioctrl_exit (void)
static int __init gps_ioctrl_init (void)
static int __init gps_ioctrl_probe (struct platform_device *pdev)
static int gps_ioctrl_remove (struct platform_device *pdev)
static int gps_ioctrl_resume (struct platform_device *pdev)
static int gps_ioctrl_suspend (struct platform_device *pdev, pm_message_t state)
int init_chrdev (struct device *dev)
static int ioctl_readgpio (int arg)
static int ioctl_writegpio (int arg)
 MODULE_AUTHOR ("Freescale Semiconductor")
 module_exit (gps_ioctrl_exit)
 module_init (gps_ioctrl_init)


static dev_t agps_gpio_dev
static int Device_Open
struct file_operations Fops
static struct class * gps_class
static struct device * gps_class_dev
static struct platform_driver gps_ioctrl_driver
static struct cdev mxc_gps_cdev
struct mxc_gps_platform_data * mxc_gps_ioctrl_data

Generated by  Doxygen 1.6.0   Back to index