| 1 |
.TH "nvme_set_features_auto_pst" 9 "nvme_set_features_auto_pst" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_set_features_auto_pst \- Set autonomous power state feature |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_set_features_auto_pst |
| 6 |
.BI "(int fd " "," |
| 7 |
.BI "bool apste " "," |
| 8 |
.BI "bool save " "," |
| 9 |
.BI "struct nvme_feat_auto_pst *apst " "," |
| 10 |
.BI "__u32 *result " ");" |
| 11 |
.SH ARGUMENTS |
| 12 |
.IP "fd" 12 |
| 13 |
File descriptor of nvme device |
| 14 |
.IP "apste" 12 |
| 15 |
Autonomous Power State Transition Enable |
| 16 |
.IP "save" 12 |
| 17 |
Save value across power states |
| 18 |
.IP "apst" 12 |
| 19 |
Autonomous Power State Transition |
| 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. |