Lines Matching refs:srgn_state
71 srgn->srgn_state == HPB_SRGN_VALID; in ufshpb_is_valid_srgn()
172 if (srgn->srgn_state == HPB_SRGN_VALID) in ufshpb_iterate_rgn()
600 srgn->srgn_state = HPB_SRGN_INVALID; in ufshpb_activate_subregion()
610 srgn->srgn_state = HPB_SRGN_INVALID; in ufshpb_activate_subregion()
613 srgn->srgn_state = HPB_SRGN_VALID; in ufshpb_activate_subregion()
793 if (srgn->srgn_state == HPB_SRGN_ISSUED) in ufshpb_check_srgns_issue_state()
909 if (srgn->srgn_state != HPB_SRGN_UNUSED) { in ufshpb_purge_active_subregion()
911 srgn->srgn_state = HPB_SRGN_UNUSED; in ufshpb_purge_active_subregion()
1009 (srgn->srgn_state == HPB_SRGN_INVALID)) { in ufshpb_issue_map_req()
1014 if (srgn->srgn_state == HPB_SRGN_UNUSED) in ufshpb_issue_map_req()
1025 if (srgn->srgn_state == HPB_SRGN_ISSUED) in ufshpb_issue_map_req()
1028 srgn->srgn_state = HPB_SRGN_ISSUED; in ufshpb_issue_map_req()
1060 srgn->srgn_state = state; in ufshpb_issue_map_req()
1172 if (srgn->srgn_state == HPB_SRGN_VALID) in ufshpb_submit_region_inactive()
1173 srgn->srgn_state = HPB_SRGN_INVALID; in ufshpb_submit_region_inactive()
1222 if (srgn->srgn_state == HPB_SRGN_VALID) in ufshpb_rsp_req_region_update()
1223 srgn->srgn_state = HPB_SRGN_INVALID; in ufshpb_rsp_req_region_update()
1546 srgn->srgn_state = HPB_SRGN_INVALID; in ufshpb_init_pinned_active_region()
1579 srgn->srgn_state = HPB_SRGN_UNUSED; in ufshpb_init_subregion_tbl()
1717 if (srgn->srgn_state != HPB_SRGN_UNUSED) { in ufshpb_destroy_subregion_tbl()
1718 srgn->srgn_state = HPB_SRGN_UNUSED; in ufshpb_destroy_subregion_tbl()