Debian Codegraph @

doc/man/nvme_mi_control.2

raw
1 .TH "nvme_mi_control" 9 "nvme_mi_control" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_mi_control \- Perform a Control Primitive command
4 .SH SYNOPSIS
5 .B "int" nvme_mi_control
6 .BI "(nvme_mi_ep_t ep " ","
7 .BI "__u8 opcode " ","
8 .BI "__u16 cpsp " ","
9 .BI "__u16 *result_cpsr " ");"
10 .SH ARGUMENTS
11 .IP "ep" 12
12 endpoint for MI communication
13 .IP "opcode" 12
14 Control Primitive opcode (using \fIenum nvme_mi_control_opcode\fP)
15 .IP "cpsp" 12
16 Control Primitive Specific Parameter
17 .IP "result_cpsr" 12
18 Optional field to return the result from the CPSR field
19 .SH "DESCRIPTION"
20 Perform a Control Primitive command, using the opcode specified in \fIopcode\fP
21 Stores the result from the CPSR field in \fIresult_cpsr\fP if set.
22
23 See: \fIenum nvme_mi_control_opcode\fP
24 .SH "RETURN"
25 0 on success, non-zero on failure