aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/ipc_devices.h
blob: a780c98ed9cff4d557914bde6b93b303f8a32690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/**
 * This file is part of libsamsung-ipc.
 *
 * Copyright (C) 2012 Paul Kocialkowski <contact@paulk.fr>
 *
 * libsamsung-ipc is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * libsamsung-ipc is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with libsamsung-ipc.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef __IPC_DEVICES_H__
#define __IPC_DEVICES_H__

#include <radio.h>

struct ipc_device_desc {
    char *name;
    char *board_name;

    struct ipc_ops *fmt_ops;
    struct ipc_ops *rfs_ops;
    struct ipc_handlers *handlers;
    struct ipc_gprs_specs *gprs_specs;
    struct ipc_nv_data_specs *nv_data_specs;
};

extern struct ipc_device_desc ipc_devices[];
extern int ipc_devices_count;

// h1

extern struct ipc_ops h1_fmt_ops;
extern struct ipc_ops h1_rfs_ops;
extern struct ipc_handlers h1_default_handlers;

// crespo

extern struct ipc_ops crespo_fmt_ops;
extern struct ipc_ops crespo_rfs_ops;
extern struct ipc_handlers crespo_default_handlers;
extern struct ipc_gprs_specs crespo_gprs_specs;

// aries

extern struct ipc_ops aries_fmt_ops;
extern struct ipc_ops aries_rfs_ops;
extern struct ipc_handlers aries_default_handlers;
extern struct ipc_gprs_specs aries_gprs_specs;

// xmm6260
// Galaxy S2 (I9100)
// Galaxy Nexus (I9250)

extern struct ipc_handlers xmm6260_default_handlers;
extern struct ipc_ops xmm6260_rfs_ops;
extern struct ipc_ops xmm6260_i9100_fmt_ops;
extern struct ipc_ops xmm6260_i9250_fmt_ops;
extern struct ipc_gprs_specs xmm6260_gprs_specs;
extern struct ipc_gprs_specs xmm6260_nv_data_specs;

#endif

// vim:ts=4:sw=4:expandtab