Home
last modified time | relevance | path

Searched refs:lc_state (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/platform/mellanox/
A Dmlxbf-bootctl.c168 int lc_state; in lifecycle_state_show() local
170 lc_state = mlxbf_bootctl_smc(MLXBF_BOOTCTL_GET_TBB_FUSE_STATUS, in lifecycle_state_show()
172 if (lc_state < 0) in lifecycle_state_show()
173 return lc_state; in lifecycle_state_show()
175 lc_state &= in lifecycle_state_show()
182 if (lc_state & MLXBF_BOOTCTL_SB_TEST_MASK) { in lifecycle_state_show()
183 lc_state &= MLXBF_BOOTCTL_SB_SECURE_MASK; in lifecycle_state_show()
186 mlxbf_bootctl_lifecycle_states[lc_state]); in lifecycle_state_show()
189 return sprintf(buf, "%s\n", mlxbf_bootctl_lifecycle_states[lc_state]); in lifecycle_state_show()

Completed in 4 milliseconds