Lines Matching refs:GETBIT
73 #define GETBIT(offs, mask) (p[offs] & mask ? 1 : 0) macro
85 return GETBIT(VB2_NV_OFFS_HEADER, in vb2_nv_get()
89 return GETBIT(VB2_NV_OFFS_HEADER, in vb2_nv_get()
93 return GETBIT(VB2_NV_OFFS_BOOT, VB2_NV_BOOT_DEBUG_RESET); in vb2_nv_get()
96 return GETBIT(VB2_NV_OFFS_BOOT2, VB2_NV_BOOT2_TRY_NEXT); in vb2_nv_get()
102 return GETBIT(VB2_NV_OFFS_BOOT2, VB2_NV_BOOT2_TRIED); in vb2_nv_get()
108 return GETBIT(VB2_NV_OFFS_BOOT2, VB2_NV_BOOT2_PREV_TRIED); in vb2_nv_get()
130 return GETBIT(VB2_NV_OFFS_DEV, VB2_NV_DEV_FLAG_USB); in vb2_nv_get()
133 return GETBIT(VB2_NV_OFFS_DEV, VB2_NV_DEV_FLAG_LEGACY); in vb2_nv_get()
136 return GETBIT(VB2_NV_OFFS_DEV, VB2_NV_DEV_FLAG_SIGNED_ONLY); in vb2_nv_get()
139 return GETBIT(VB2_NV_OFFS_BOOT, VB2_NV_BOOT_DISABLE_DEV); in vb2_nv_get()
142 return GETBIT(VB2_NV_OFFS_BOOT, VB2_NV_BOOT_OPROM_NEEDED); in vb2_nv_get()
145 return GETBIT(VB2_NV_OFFS_BOOT, VB2_NV_BOOT_BACKUP_NVRAM); in vb2_nv_get()
148 return GETBIT(VB2_NV_OFFS_TPM, VB2_NV_TPM_CLEAR_OWNER_REQUEST); in vb2_nv_get()
151 return GETBIT(VB2_NV_OFFS_TPM, VB2_NV_TPM_CLEAR_OWNER_DONE); in vb2_nv_get()
161 #undef GETBIT