File Index
Files and directories
Sign in
FILE

mpi30_tool.h

File preview with syntax highlighting.

linux-6.19.14/drivers/scsi/mpi3mr/mpi/mpi30_tool.h C
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 *  Copyright 2016-2024 Broadcom Inc. All rights reserved.
 4 */
 5#ifndef MPI30_TOOL_H
 6#define MPI30_TOOL_H     1
 7
 8#define MPI3_DIAG_BUFFER_TYPE_TRACE	(0x01)
 9#define MPI3_DIAG_BUFFER_TYPE_FW	(0x02)
10#define MPI3_DIAG_BUFFER_ACTION_RELEASE	(0x01)
11
12#define MPI3_DIAG_BUFFER_POST_MSGFLAGS_SEGMENTED	(0x01)
13struct mpi3_diag_buffer_post_request {
14	__le16                     host_tag;
15	u8                         ioc_use_only02;
16	u8                         function;
17	__le16                     ioc_use_only04;
18	u8                         ioc_use_only06;
19	u8                         msg_flags;
20	__le16                     change_count;
21	__le16                     reserved0a;
22	u8                         type;
23	u8                         reserved0d;
24	__le16                     reserved0e;
25	__le64                     address;
26	__le32                     length;
27	__le32                     reserved1c;
28};
29
30struct mpi3_diag_buffer_manage_request {
31	__le16                     host_tag;
32	u8                         ioc_use_only02;
33	u8                         function;
34	__le16                     ioc_use_only04;
35	u8                         ioc_use_only06;
36	u8                         msg_flags;
37	__le16                     change_count;
38	__le16                     reserved0a;
39	u8                         type;
40	u8                         action;
41	__le16                     reserved0e;
42};
43
44
45#endif
~/ Read-only file preview.