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

« back to all changes in this revision

Viewing changes to arch/arm/plat-omap/include/syslink/notify_driver.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
 
 * notify_driver.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 _NOTIFY_DRIVER_H_
19
 
#define _NOTIFY_DRIVER_H_
20
 
 
21
 
 
22
 
/* Module includes */
23
 
#include <syslink/notify_driverdefs.h>
24
 
#include <syslink/_notify.h>
25
 
 
26
 
 
27
 
/* Function to register notify driver */
28
 
int notify_register_driver(u16 remote_proc_id,
29
 
                        u16 line_id,
30
 
                        struct notify_driver_fxn_table *fxn_table,
31
 
                        struct notify_driver_object **driver_handle);
32
 
 
33
 
/* Function to unregister notify driver */
34
 
int notify_unregister_driver(struct notify_driver_object *drv_handle);
35
 
 
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);
39
 
 
40
 
/* Function to find the driver in the list of drivers */
41
 
struct notify_driver_object *notify_get_driver_handle(u16 remote_proc_id,
42
 
                                                        u16 line_id);
43
 
 
44
 
 
45
 
#endif  /* !defined (_NOTIFY_DRIVER_H_) */