~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/arm/plat-omap/include/syslink/drv_notify.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * drv_notify.h
3
 
 *
4
 
 * Notify driver support for OMAP Processors.
5
 
 *
6
 
 * Copyright (C) 2008-2009 Texas Instruments, Inc.
7
 
 *
8
 
 * This package is free software; you can redistribute it and/or modify
9
 
 * it under the terms of the GNU General Public License version 2 as
10
 
 * published by the Free Software Foundation.
11
 
 *
12
 
 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13
 
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14
 
 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15
 
 */
16
 
 
17
 
 
18
 
#if !defined _DRV_NOTIFY_H_
19
 
#define _DRV_NOTIFY_H_
20
 
 
21
 
 
22
 
/* Module includes */
23
 
#include <syslink/notify_driverdefs.h>
24
 
#include <syslink/_notify.h>
25
 
 
26
 
 
27
 
/* read function for of Notify driver.*/
28
 
int notify_drv_read(struct file *filp, char __user *dst, size_t size,
29
 
                                loff_t *offset);
30
 
 
31
 
/* Linux driver function to map memory regions to user space. */
32
 
int notify_drv_mmap(struct file *filp, struct vm_area_struct *vma);
33
 
 
34
 
/* ioctl function for of Linux Notify driver.*/
35
 
int notify_drv_ioctl(struct inode *inode, struct file *filp, u32 cmd,
36
 
                                                unsigned long args, bool user);
37
 
 
38
 
void _notify_drv_setup(void);
39
 
 
40
 
void _notify_drv_destroy(void);
41
 
 
42
 
 
43
 
#endif  /* !defined (_DRV_NOTIFY_H_) */