Scroll to navigation

nvme_init_set_features_power_measurement(2) libnvme API manual nvme_init_set_features_power_measurement(2)

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

Passthru command to use
Save value across power states
Action (ACT), see enum nvme_voltage_measurement_act (the Power Measurement and Voltage Measurement Action field values are defined identically)
Power Measurement Type Select (PMTS), used if act requests Start Power Measurements
Stop Measurement Time (SMT), used if act requests Start Power Measurements
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

nvme_init_set_features_power_measurement October 2026