summaryrefstree
path: root/kernel/drivers/vision/iva/iva_mem_sync.h
blob: 53c730d7f96147ce10094e9dbe3c03cfcdd135c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (C) 2016 Samsung Electronics Co.Ltd
 *
 * This program 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 2 of the  License, or (at your
 * option) any later version.
 */

#ifndef __IVA_MEM_SYNC_H__
#define __IVA_MEM_SYNC_H__

#include "iva_mem.h"

extern void iva_ion_sync_sg_for_cpu(struct device *dev,
		struct iva_dev_data *iva, struct iva_mem_map *iva_map_node);
extern void iva_ion_sync_sg_for_device(struct device *dev,
		struct iva_dev_data *iva, struct iva_mem_map *iva_map_node);


#endif /*__IVA_MEM_SYNC_H_*/