Reference

nvme_init_set_features_power_measurement-libnvme3(2)

Initialize passthru command for Power Measurement

NAME

nvme_init_set_features_power_measurement - Initialize passthru command for Power Measurement

SYNOPSIS

void nvme_init_set_features_power_measurement (struct libnvme_passthru_cmd *cmd , bool sv , __u8 act , __u8 pmts , __u16 smt , __u32 actsp );

ARGUMENTS

cmd

Passthru command to use

sv

Save value across power states

act

Action (ACT), see enum nvme_voltage_measurement_act (the Power Measurement and Voltage Measurement Action field values are defined identically)

pmts

Power Measurement Type Select (PMTS), used if act requests Start Power Measurements

smt

Stop Measurement Time (SMT), used if act requests Start Power Measurements

actsp

Action Specific (ACTSP) Command Dword 12 value

DESCRIPTION

Initializes the passthru command buffer for the Set Features command with FID value NVME_FEAT_FID_POWER_MEASUREMENT