Lines Matching full:csb
75 /* I assume we need to align the CSB? */
208 struct cop_status_block *csb) in nx842_validate_result() argument
210 /* The csb must be valid after returning from vio_h_cop_sync */ in nx842_validate_result()
211 if (!NX842_CSBCBP_VALID_CHK(csb->valid)) { in nx842_validate_result()
215 csb->valid, in nx842_validate_result()
216 csb->crb_seq_number, in nx842_validate_result()
217 csb->completion_code, in nx842_validate_result()
218 csb->completion_extension); in nx842_validate_result()
220 be32_to_cpu(csb->processed_byte_count), in nx842_validate_result()
221 (unsigned long)be64_to_cpu(csb->address)); in nx842_validate_result()
225 /* Check return values from the hardware in the CSB */ in nx842_validate_result()
226 switch (csb->completion_code) { in nx842_validate_result()
244 __func__, csb->completion_code); in nx842_validate_result()
248 __func__, csb->completion_code); in nx842_validate_result()
253 if (!NX842_CSBCPB_CE2(csb->completion_extension)) { in nx842_validate_result()
376 ret = nx842_validate_result(dev, &csbcpb->csb); in nx842_pseries_compress()
380 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); in nx842_pseries_compress()
508 ret = nx842_validate_result(dev, &csbcpb->csb); in nx842_pseries_decompress()
512 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); in nx842_pseries_decompress()