Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
ste_modem_shm.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) ST-Ericsson AB 2012
3
* Author: Sjur Brendeland /
[email protected]
4
*
5
* License terms: GNU General Public License (GPL) version 2
6
*/
7
8
#ifndef __INC_MODEM_DEV_H
9
#define __INC_MODEM_DEV_H
10
#include <linux/types.h>
11
#include <
linux/platform_device.h
>
12
13
struct
ste_modem_device
;
14
21
struct
ste_modem_dev_cb
{
22
void
(*
kick
)(
struct
ste_modem_device
*mdev,
int
notify_id);
23
};
24
36
struct
ste_modem_dev_ops
{
37
int
(*
power
)(
struct
ste_modem_device
*mdev,
bool
on);
38
int
(*
kick
)(
struct
ste_modem_device
*mdev,
int
notify_id);
39
int
(*
kick_subscribe
)(
struct
ste_modem_device
*mdev,
int
notify_id);
40
int
(*
setup
)(
struct
ste_modem_device
*mdev,
41
struct
ste_modem_dev_cb
*
cfg
);
42
};
43
50
struct
ste_modem_device
{
51
struct
platform_device
pdev
;
52
struct
ste_modem_dev_ops
ops
;
53
void
*
drv_data
;
54
};
55
56
#endif
/*INC_MODEM_DEV_H*/
Generated on Thu Jan 10 2013 14:52:38 for Linux Kernel by
1.8.2