NVME_INIT_SET_FEATURES_VOLTAGE_MEASUREMENT-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

okay so bestie, welcome to nvme_init_set_features_voltage_measurement(9) β€” that's the page label, and it lives in the libnvme API manual (section 9, iykyk). The header up top shows nvme_init_se..._measurement(9) because truncation is iconic, and we're rolling with it. πŸ’…

πŸŽ€ NAME πŸŽ€

nvme_init_set_features_voltage_measurement β€” this is the function that initializes a passthru command for Voltage Measurement. That's the whole assignment, and it ate. ✨

🌈 SYNOPSIS 🌈

here's the signature, copied exactly because we do not play with code lol:

void nvme_init_set_features_voltage_measurement (struct libnvme_passthru_cmd *cmd , bool sv , __u8 act , struct nvme_voltage_measurement_start_data *data );

yeah, the return type is void, so it doesn't hand anything back. periodt.

πŸ’œ ARGUMENTS πŸ’œ

  • cmd β€” the passthru command you're setting up. It's a struct libnvme_passthru_cmd *, and it's the thing that gets used. 🫢
  • sv β€” Save value across power states. It's a bool, bestie.
  • act β€” the Action (ACT). It's __u8, and you should check enum nvme_voltage_measurement_act for the values. πŸ‘‘
  • data β€” Start Voltage Measurements data buffer, type struct nvme_voltage_measurement_start_data *. It's used if act is NVME_VOLTAGE_MEASUREMENT_ACT_START; otherwise it's NULL. See struct nvme_voltage_measurement_start_data. πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

okay so what it actually does: it initializes the passthru command buffer for the Set Features command, and the FID value it uses is NVME_FEAT_FID_VOLTAGE_MEASUREMENT. that's the tea. β˜•


mwah πŸ’– that's the whole page. the source/version vibe is the libnvme API manual, and the date on this baddie is October 2026. byeeeee, go measure those voltages responsibly πŸ§šβ€β™€οΈπŸ«Ά

πŸ“¦ where this page comes from