4
* Notify driver support for OMAP Processors.
6
* Copyright (C) 2008-2009 Texas Instruments, Inc.
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.
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.
18
#if !defined _DRV_NOTIFY_H_
19
#define _DRV_NOTIFY_H_
23
#include <syslink/notify_driverdefs.h>
24
#include <syslink/_notify.h>
27
/* read function for of Notify driver.*/
28
int notify_drv_read(struct file *filp, char __user *dst, size_t size,
31
/* Linux driver function to map memory regions to user space. */
32
int notify_drv_mmap(struct file *filp, struct vm_area_struct *vma);
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);
38
void _notify_drv_setup(void);
40
void _notify_drv_destroy(void);
43
#endif /* !defined (_DRV_NOTIFY_H_) */