WIP FPC-III support
[linux/fpc-iii.git] / arch / powerpc / include / uapi / asm / spu_info.h
blob45f97150587ba5badfe2d609d41cd9cbcce3f3e9
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /*
3 * SPU info structures
5 * (C) Copyright 2006 IBM Corp.
7 * Author: Dwayne Grant McConnell <decimal@us.ibm.com>
8 */
10 #ifndef _UAPI_SPU_INFO_H
11 #define _UAPI_SPU_INFO_H
13 #include <linux/types.h>
15 #ifndef __KERNEL__
16 struct mfc_cq_sr {
17 __u64 mfc_cq_data0_RW;
18 __u64 mfc_cq_data1_RW;
19 __u64 mfc_cq_data2_RW;
20 __u64 mfc_cq_data3_RW;
22 #endif /* __KERNEL__ */
24 struct spu_dma_info {
25 __u64 dma_info_type;
26 __u64 dma_info_mask;
27 __u64 dma_info_status;
28 __u64 dma_info_stall_and_notify;
29 __u64 dma_info_atomic_command_status;
30 struct mfc_cq_sr dma_info_command_data[16];
33 struct spu_proxydma_info {
34 __u64 proxydma_info_type;
35 __u64 proxydma_info_mask;
36 __u64 proxydma_info_status;
37 struct mfc_cq_sr proxydma_info_command_data[8];
40 #endif /* _UAPI_SPU_INFO_H */