Searched refs:image_state (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/misc/cxl/
H A Dpci.c448 u8 image_state; cxl_update_image_control() local
455 if ((rc = CXL_READ_VSEC_IMAGE_STATE(dev, vsec, &image_state))) { cxl_update_image_control()
461 image_state |= CXL_VSEC_PERST_LOADS_IMAGE; cxl_update_image_control()
463 image_state &= ~CXL_VSEC_PERST_LOADS_IMAGE; cxl_update_image_control()
466 image_state |= CXL_VSEC_PERST_SELECT_USER; cxl_update_image_control()
468 image_state &= ~CXL_VSEC_PERST_SELECT_USER; cxl_update_image_control()
470 if ((rc = CXL_WRITE_VSEC_IMAGE_STATE(dev, vsec, image_state))) { cxl_update_image_control()
997 u8 image_state; cxl_read_vsec() local
1015 CXL_READ_VSEC_IMAGE_STATE(dev, vsec, &image_state); cxl_read_vsec()
1016 adapter->user_image_loaded = !!(image_state & CXL_VSEC_USER_IMAGE_LOADED); cxl_read_vsec()
1017 adapter->perst_select_user = !!(image_state & CXL_VSEC_USER_IMAGE_LOADED); cxl_read_vsec()

Completed in 65 milliseconds