NAME
nvme_init_set_features_voltage_measurement - Initialize passthru command for Voltage Measurement
SYNOPSIS
void nvme_init_set_features_voltage_measurement (struct libnvme_passthru_cmd *cmd , bool sv , __u8 act , struct nvme_voltage_measurement_start_data *data );
ARGUMENTS
- cmd
-
Passthru command to use
- sv
-
Save value across power states
- act
-
Action (ACT), see enum nvme_voltage_measurement_act
- data
-
Start Voltage Measurements data buffer, used if act is NVME_VOLTAGE_MEASUREMENT_ACT_START, otherwise NULL, see struct nvme_voltage_measurement_start_data
DESCRIPTION
Initializes the passthru command buffer for the Set Features command with FID value NVME_FEAT_FID_VOLTAGE_MEASUREMENT