| 1 |
.TH "nvme_mi_admin_set_features_power_mgmt" 9 "nvme_mi_admin_set_features_power_mgmt" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_admin_set_features_power_mgmt \- Set power management feature |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_mi_admin_set_features_power_mgmt |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " "," |
| 7 |
.BI "__u8 ps " "," |
| 8 |
.BI "__u8 wh " "," |
| 9 |
.BI "bool save " "," |
| 10 |
.BI "__u32 *result " ");" |
| 11 |
.SH ARGUMENTS |
| 12 |
.IP "ctrl" 12 |
| 13 |
Controller to send command to |
| 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 feature data is returned in this argument |
| 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. |