PageRenderTime 38ms CodeModel.GetById 36ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/drivers/staging/tidspbridge/rmgr/drv_interface.h

https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t
C Header | 28 lines | 10 code | 2 blank | 16 comment | 0 complexity | 59d2f14519a60d26310fb681e2d0a395 MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1/*
 2 * drv_interface.h
 3 *
 4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
 5 *
 6 * Copyright (C) 2005-2006 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#ifndef	_DRV_INTERFACE_H_
18#define _DRV_INTERFACE_H_
19
20/* Prototypes for all functions in this bridge */
21static int __init bridge_init(void);	/* Initialize bridge */
22static void __exit bridge_exit(void);	/* Opposite of initialize */
23static int bridge_open(struct inode *ip, struct file *filp);	/* Open */
24static int bridge_release(struct inode *ip, struct file *filp);	/* Release */
25static long bridge_ioctl(struct file *filp, unsigned int code,
26				unsigned long args);
27static int bridge_mmap(struct file *filp, struct vm_area_struct *vma);
28#endif /* ifndef _DRV_INTERFACE_H_ */