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 _NOTIFY_DRIVER_H_
19
#define _NOTIFY_DRIVER_H_
23
#include <syslink/notify_driverdefs.h>
24
#include <syslink/_notify.h>
27
/* Function to register notify driver */
28
int notify_register_driver(u16 remote_proc_id,
30
struct notify_driver_fxn_table *fxn_table,
31
struct notify_driver_object **driver_handle);
33
/* Function to unregister notify driver */
34
int notify_unregister_driver(struct notify_driver_object *drv_handle);
36
/* Function to set the driver handle */
37
int notify_set_driver_handle(u16 remote_proc_id, u16 line_id,
38
struct notify_object *handle);
40
/* Function to find the driver in the list of drivers */
41
struct notify_driver_object *notify_get_driver_handle(u16 remote_proc_id,
45
#endif /* !defined (_NOTIFY_DRIVER_H_) */