Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/microblaze/include/asm/device.h
15126 views
1
/*
2
* Arch specific extensions to struct device
3
*
4
* This file is subject to the terms and conditions of the GNU General Public
5
* License v2. See the file "COPYING" in the main directory of this archive
6
* for more details.
7
*/
8
9
#ifndef _ASM_MICROBLAZE_DEVICE_H
10
#define _ASM_MICROBLAZE_DEVICE_H
11
12
struct device_node;
13
14
struct dev_archdata {
15
/* DMA operations on that device */
16
struct dma_map_ops *dma_ops;
17
void *dma_data;
18
};
19
20
struct pdev_archdata {
21
u64 dma_mask;
22
};
23
24
#endif /* _ASM_MICROBLAZE_DEVICE_H */
25
26
27
28