summaryrefstree
path: root/kernel/drivers/misc/modem_v1/modem_dump.h
blob: 3b9eb9cab2829112bce5e9e0a044d27c2bc65e63 (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
/*
 * Copyright (C) 2016 Samsung Electronics.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program 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.
 *
 */

#ifndef __MODEM_DUMP_H__
#define __MODEM_DUMP_H__

#include <linux/workqueue.h>
#include "modem_prj.h"
#include "link_device_memory.h"

int save_vss_dump(struct link_device *mld, struct io_device *iod,
		unsigned long arg);
int save_acpm_dump(struct link_device *mld, struct io_device *iod,
		unsigned long arg);
int save_cplog_dump(struct link_device *mld, struct io_device *iod,
		unsigned long arg);
int save_shmem_dump(struct link_device *mld, struct io_device *iod,
		unsigned long arg);

void save_mem_dump(struct mem_link_device *mld);

void mem_dump_work(struct work_struct *ws);

#endif