nvme_get_features_auto_pst - Man Page

Get autonomous power state feature

Synopsis

int nvme_get_features_auto_pst (int fd , enum nvme_get_features_sel sel , struct nvme_feat_auto_pst *apst , __u32 *result );

Arguments

fd

File descriptor of nvme device

sel

Select which type of attribute to return, see enum nvme_get_features_sel

apst
result

The command completion result from CQE dword0

Return

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

Info

July 2022 libnvme API manual