Debian Codegraph @

doc/man/nvme_set_features_power_mgmt.2

raw
1 .TH "nvme_set_features_power_mgmt" 9 "nvme_set_features_power_mgmt" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_set_features_power_mgmt \- Set power management feature
4 .SH SYNOPSIS
5 .B "int" nvme_set_features_power_mgmt
6 .BI "(int fd " ","
7 .BI "__u8 ps " ","
8 .BI "__u8 wh " ","
9 .BI "bool save " ","
10 .BI "__u32 *result " ");"
11 .SH ARGUMENTS
12 .IP "fd" 12
13 File descriptor of nvme device
14 .IP "ps" 12
15 Power State
16 .IP "wh" 12
17 Workload Hint
18 .IP "save" 12
19 Save value across power states
20 .IP "result" 12
21 The command completion result from CQE dword0
22 .SH "RETURN"
23 The nvme command status if a response was received (see
24 \fIenum nvme_status_field\fP) or -1 with errno set otherwise.