master
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2/*
3 * SPU info structures
4 *
5 * (C) Copyright 2006 IBM Corp.
6 *
7 * Author: Dwayne Grant McConnell <decimal@us.ibm.com>
8 */
9
10#ifndef _SPU_INFO_H
11#define _SPU_INFO_H
12
13#include <linux/types.h>
14
15struct mfc_cq_sr {
16 __u64 mfc_cq_data0_RW;
17 __u64 mfc_cq_data1_RW;
18 __u64 mfc_cq_data2_RW;
19 __u64 mfc_cq_data3_RW;
20};
21
22struct spu_dma_info {
23 __u64 dma_info_type;
24 __u64 dma_info_mask;
25 __u64 dma_info_status;
26 __u64 dma_info_stall_and_notify;
27 __u64 dma_info_atomic_command_status;
28 struct mfc_cq_sr dma_info_command_data[16];
29};
30
31struct spu_proxydma_info {
32 __u64 proxydma_info_type;
33 __u64 proxydma_info_mask;
34 __u64 proxydma_info_status;
35 struct mfc_cq_sr proxydma_info_command_data[8];
36};
37
38#endif /* _SPU_INFO_H */