mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
23af8c2a08
The character device provides a management interface to the driver and also provides an additional service to the protocol for side band communication with the device. Signed-off-by: Chris Kelly <ckelly@ozmodevices.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18 lines
627 B
C
18 lines
627 B
C
/* -----------------------------------------------------------------------------
|
|
* Copyright (c) 2011 Ozmo Inc
|
|
* Released under the GNU General Public License Version 2 (GPLv2).
|
|
* -----------------------------------------------------------------------------
|
|
*/
|
|
#ifndef _OZCDEV_H
|
|
#define _OZCDEV_H
|
|
|
|
int oz_cdev_register(void);
|
|
int oz_cdev_deregister(void);
|
|
int oz_cdev_init(void);
|
|
void oz_cdev_term(void);
|
|
int oz_cdev_start(struct oz_pd *pd, int resume);
|
|
void oz_cdev_stop(struct oz_pd *pd, int pause);
|
|
void oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt);
|
|
void oz_cdev_heartbeat(struct oz_pd *pd);
|
|
|
|
#endif /* _OZCDEV_H */
|