Lines Matching refs:query
860 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_copy_query_response()
865 if (hba->dev_cmd.query.descriptor && in ufshcd_copy_query_response()
876 hba->dev_cmd.query.request.upiu_req.length); in ufshcd_copy_query_response()
878 memcpy(hba->dev_cmd.query.descriptor, descp, resp_len); in ufshcd_copy_query_response()
1198 struct ufs_query *query = &hba->dev_cmd.query; in ufshcd_prepare_utp_query_req_upiu() local
1199 u16 len = be16_to_cpu(query->request.upiu_req.length); in ufshcd_prepare_utp_query_req_upiu()
1207 0, query->request.query_func, 0, 0); in ufshcd_prepare_utp_query_req_upiu()
1214 memcpy(&ucd_req_ptr->qr, &query->request.upiu_req, in ufshcd_prepare_utp_query_req_upiu()
1218 if (query->request.upiu_req.opcode == UPIU_QUERY_OPCODE_WRITE_DESC) in ufshcd_prepare_utp_query_req_upiu()
1219 memcpy(descp, query->descriptor, len); in ufshcd_prepare_utp_query_req_upiu()
1448 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_check_query_response()
1625 *request = &hba->dev_cmd.query.request; in ufshcd_init_query()
1626 *response = &hba->dev_cmd.query.response; in ufshcd_init_query()
1807 hba->dev_cmd.query.descriptor = desc_buf; in ufshcd_query_descriptor()
1836 hba->dev_cmd.query.descriptor = NULL; in ufshcd_query_descriptor()