DOKK / manpages / debian 13 / libnvme-dev / nvme_id_ctrl_bpcap.2.en
libnvme(2) API Manual libnvme(2)

enum nvme_id_ctrl_bpcap - Boot Partition Capabilities

enum nvme_id_ctrl_bpcap {
NVME_CTRL_BACAP_RPMBBPWPS_SHIFT ,
NVME_CTRL_BACAP_SFBPWPS_SHIFT ,
NVME_CTRL_BACAP_RPMBBPWPS_MASK ,
NVME_CTRL_BACAP_SFBPWPS_MASK ,
NVME_CTRL_BACAP_RPMBBPWPS_NOT_SPECIFIED ,
NVME_CTRL_BACAP_RPMBBPWPS_NOT_SUPPORTED ,
NVME_CTRL_BACAP_RPMBBPWPS_SUPPORTED

};

Shift amount to get the RPMB Boot Partition Write Protection Support from the struct nvme_id_ctrl.bpcap field.
Shift amount to get the Set Features Boot Partition Write Protection Support from the struct nvme_id_ctrl.bpcap field.
Mask to get the RPMB Boot Partition Write Protection Support from the struct nvme_id_ctrl.bpcap field.
Mask to get the Set Features Boot Partition Write Protection Support from the struct nvme_id_ctrl.bpcap field.
Support for RPMB Boot Partition Write Protection is not specified.
RPMB Boot Partition Write Protection is not supported by this controller.
RPMB Boot Partition Write Protection is supported by this controller.
enum nvme_id_ctrl_bpcap May 2025