tpm_crb_regs
static_assert(sizeof(struct tpm_crb_regs) == TPM_CRB_REGS_SIZE,
struct tpm_crb_regs regs;
case offsetof(struct tpm_crb_regs, loc_ctrl): {
case offsetof(struct tpm_crb_regs, ctrl_req): {
case offsetof(struct tpm_crb_regs, ctrl_cancel): {
(TPM_CRB_ADDRESS + offsetof(struct tpm_crb_regs, ctrl_req))
case offsetof(struct tpm_crb_regs, int_enable):
case offsetof(struct tpm_crb_regs, ctrl_start): {
case offsetof(struct tpm_crb_regs, cmd_size):
case offsetof(struct tpm_crb_regs, cmd_addr_lo):
case offsetof(struct tpm_crb_regs, cmd_addr_hi):
case offsetof(struct tpm_crb_regs, rsp_size):
case offsetof(struct tpm_crb_regs,
rsp_addr) ... offsetof(struct tpm_crb_regs, rsp_addr) +
case offsetof(struct tpm_crb_regs,
data_buffer) ... offsetof(struct tpm_crb_regs, data_buffer) +
(TPM_CRB_ADDRESS + offsetof(struct tpm_crb_regs, data_buffer))