Lines Matching refs:image_state
669 u8 image_state; in cxl_update_image_control() local
676 if ((rc = CXL_READ_VSEC_IMAGE_STATE(dev, vsec, &image_state))) { in cxl_update_image_control()
682 image_state |= CXL_VSEC_PERST_LOADS_IMAGE; in cxl_update_image_control()
684 image_state &= ~CXL_VSEC_PERST_LOADS_IMAGE; in cxl_update_image_control()
687 image_state |= CXL_VSEC_PERST_SELECT_USER; in cxl_update_image_control()
689 image_state &= ~CXL_VSEC_PERST_SELECT_USER; in cxl_update_image_control()
691 if ((rc = CXL_WRITE_VSEC_IMAGE_STATE(dev, vsec, image_state))) { in cxl_update_image_control()
1296 u8 image_state; in cxl_read_vsec() local
1314 CXL_READ_VSEC_IMAGE_STATE(dev, vsec, &image_state); in cxl_read_vsec()
1315 adapter->user_image_loaded = !!(image_state & CXL_VSEC_USER_IMAGE_LOADED); in cxl_read_vsec()
1316 adapter->perst_select_user = !!(image_state & CXL_VSEC_USER_IMAGE_LOADED); in cxl_read_vsec()
1317 adapter->perst_loads_image = !!(image_state & CXL_VSEC_PERST_LOADS_IMAGE); in cxl_read_vsec()