Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
0002 /*
0003  * SPU info structures
0004  *
0005  * (C) Copyright 2006 IBM Corp.
0006  *
0007  * Author: Dwayne Grant McConnell <decimal@us.ibm.com>
0008  */
0009 
0010 #ifndef _UAPI_SPU_INFO_H
0011 #define _UAPI_SPU_INFO_H
0012 
0013 #include <linux/types.h>
0014 
0015 #ifndef __KERNEL__
0016 struct mfc_cq_sr {
0017     __u64 mfc_cq_data0_RW;
0018     __u64 mfc_cq_data1_RW;
0019     __u64 mfc_cq_data2_RW;
0020     __u64 mfc_cq_data3_RW;
0021 };
0022 #endif /* __KERNEL__ */
0023 
0024 struct spu_dma_info {
0025     __u64 dma_info_type;
0026     __u64 dma_info_mask;
0027     __u64 dma_info_status;
0028     __u64 dma_info_stall_and_notify;
0029     __u64 dma_info_atomic_command_status;
0030     struct mfc_cq_sr dma_info_command_data[16];
0031 };
0032 
0033 struct spu_proxydma_info {
0034     __u64 proxydma_info_type;
0035     __u64 proxydma_info_mask;
0036     __u64 proxydma_info_status;
0037     struct mfc_cq_sr proxydma_info_command_data[8];
0038 };
0039 
0040 #endif /* _UAPI_SPU_INFO_H */