logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_set_features_power_mgmt - Set power management feature

Arguments

       fd          File descriptor of nvme device

       ps          Power State

       wh          Workload Hint

       save        Save value across power states

       result      The command completion result from CQE dword0

Name

       nvme_set_features_power_mgmt - Set power management feature

Return

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

August 2025                               nvme_set_features_power_mgmt           nvme_set_features_power_mgmt(2)

Synopsis

intnvme_set_features_power_mgmt(intfd,__u8ps,__u8wh,boolsave,__u32*result);

See Also