blob: f4782635b10b9e4bd3bc69a0f2a30efa680f51c1 [file] [log] [blame]
Shalabh Jainb0037c02013-01-18 12:47:40 -08001/* Copyright (c) 2008-2013, The Linux Foundation. All rights reserved.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef DIAGMEM_H
14#define DIAGMEM_H
15#include "diagchar.h"
16
17void *diagmem_alloc(struct diagchar_dev *driver, int size, int pool_type);
18void diagmem_free(struct diagchar_dev *driver, void *buf, int pool_type);
19void diagmem_init(struct diagchar_dev *driver);
20void diagmem_exit(struct diagchar_dev *driver, int pool_type);
Shalabh Jain737fca72012-11-14 21:53:43 -080021#ifdef CONFIG_DIAGFWD_BRIDGE_CODE
Shalabh Jainb0037c02013-01-18 12:47:40 -080022void diagmem_hsic_init(int index);
Dixon Peterson938f8602012-08-17 20:02:57 -070023#endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070024#endif