Searched refs:rsp_field (Results 1 – 1 of 1) sorted by relevance
120 struct utp_hpb_rsp *rsp_field) in ufshpb_is_hpb_rsp_valid() argument127 if (be16_to_cpu(rsp_field->sense_data_len) != DEV_SENSE_SEG_LEN || in ufshpb_is_hpb_rsp_valid()128 rsp_field->desc_type != DEV_DES_TYPE || in ufshpb_is_hpb_rsp_valid()129 rsp_field->additional_len != DEV_ADDITIONAL_LEN || in ufshpb_is_hpb_rsp_valid()130 rsp_field->active_rgn_cnt > MAX_ACTIVE_NUM || in ufshpb_is_hpb_rsp_valid()131 rsp_field->inactive_rgn_cnt > MAX_INACTIVE_NUM || in ufshpb_is_hpb_rsp_valid()132 rsp_field->hpb_op == HPB_RSP_NONE || in ufshpb_is_hpb_rsp_valid()133 (rsp_field->hpb_op == HPB_RSP_REQ_REGION_UPDATE && in ufshpb_is_hpb_rsp_valid()134 !rsp_field->active_rgn_cnt && !rsp_field->inactive_rgn_cnt)) in ufshpb_is_hpb_rsp_valid()137 if (!ufshpb_is_general_lun(rsp_field->lun)) { in ufshpb_is_hpb_rsp_valid()[all …]