csb 140 arch/powerpc/include/asm/icswx.h struct coprocessor_status_block csb; csb 167 drivers/crypto/nx/nx-842-powernv.c #define CSB_ERR(csb, msg, ...) \ csb 169 drivers/crypto/nx/nx-842-powernv.c ##__VA_ARGS__, (csb)->flags, \ csb 170 drivers/crypto/nx/nx-842-powernv.c (csb)->cs, (csb)->cc, (csb)->ce, \ csb 171 drivers/crypto/nx/nx-842-powernv.c be32_to_cpu((csb)->count)) csb 173 drivers/crypto/nx/nx-842-powernv.c #define CSB_ERR_ADDR(csb, msg, ...) \ csb 174 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, msg " at %lx", ##__VA_ARGS__, \ csb 175 drivers/crypto/nx/nx-842-powernv.c (unsigned long)be64_to_cpu((csb)->address)) csb 181 drivers/crypto/nx/nx-842-powernv.c struct coprocessor_status_block *csb) csb 186 drivers/crypto/nx/nx-842-powernv.c while (!(READ_ONCE(csb->flags) & CSB_V)) { csb 197 drivers/crypto/nx/nx-842-powernv.c if (!(csb->flags & CSB_V)) { csb 198 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "CSB still not valid after %ld us, giving up", csb 202 drivers/crypto/nx/nx-842-powernv.c if (csb->flags & CSB_F) { csb 203 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Invalid CSB format"); csb 206 drivers/crypto/nx/nx-842-powernv.c if (csb->flags & CSB_CH) { csb 207 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Invalid CSB chaining state"); csb 212 drivers/crypto/nx/nx-842-powernv.c if (csb->cs) { csb 213 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Invalid CSB completion sequence"); csb 218 drivers/crypto/nx/nx-842-powernv.c switch (csb->cc) { csb 231 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Operand Overlap error"); csb 234 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Invalid operand"); csb 240 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Function aborted"); csb 243 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "CRC mismatch"); csb 246 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Compressed data template invalid"); csb 249 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Compressed data template shows data past end"); csb 256 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "DDE byte count exceeds the limit"); csb 262 drivers/crypto/nx/nx-842-powernv.c CSB_ERR_ADDR(csb, "Invalid alignment"); csb 266 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Invalid data length"); csb 277 drivers/crypto/nx/nx-842-powernv.c CSB_ERR_ADDR(csb, "Translation error"); csb 288 drivers/crypto/nx/nx-842-powernv.c CSB_ERR_ADDR(csb, "Protection error"); csb 292 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Insufficient Privilege error"); csb 296 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Too many DDEs in DDL"); csb 301 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Invalid CRB"); csb 308 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Invalid DDE"); csb 312 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Segmented DDL error"); csb 316 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "DDE overflow error"); csb 320 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Session violation error"); csb 324 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Chained CRB error"); csb 328 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "CRB sequence number error"); csb 331 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Unknown subfunction code"); csb 339 drivers/crypto/nx/nx-842-powernv.c CSB_ERR_ADDR(csb, "Read error outside coprocessor"); csb 342 drivers/crypto/nx/nx-842-powernv.c CSB_ERR_ADDR(csb, "Write error outside coprocessor"); csb 345 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Internal error in coprocessor"); csb 348 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Storage provision error"); csb 351 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Correctable hardware error"); csb 354 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Job did not finish within allowed time"); csb 358 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "Invalid CC %d", csb->cc); csb 363 drivers/crypto/nx/nx-842-powernv.c if (csb->ce & CSB_CE_TERMINATION) { csb 364 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "CSB request was terminated"); csb 367 drivers/crypto/nx/nx-842-powernv.c if (csb->ce & CSB_CE_INCOMPLETE) { csb 368 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "CSB request not complete"); csb 371 drivers/crypto/nx/nx-842-powernv.c if (!(csb->ce & CSB_CE_TPBC)) { csb 372 drivers/crypto/nx/nx-842-powernv.c CSB_ERR(csb, "TPBC not provided, unknown target length"); csb 378 drivers/crypto/nx/nx-842-powernv.c be32_to_cpu(csb->count), csb 389 drivers/crypto/nx/nx-842-powernv.c struct coprocessor_status_block *csb; csb 394 drivers/crypto/nx/nx-842-powernv.c csb = &crb->csb; csb 411 drivers/crypto/nx/nx-842-powernv.c csb_addr = nx842_get_pa(csb) & CRB_CSB_ADDRESS; csb 454 drivers/crypto/nx/nx-842-powernv.c struct coprocessor_status_block *csb; csb 475 drivers/crypto/nx/nx-842-powernv.c csb = &crb->csb; csb 502 drivers/crypto/nx/nx-842-powernv.c ret = wait_for_csb(wmem, csb); csb 515 drivers/crypto/nx/nx-842-powernv.c *outlenp = be32_to_cpu(csb->count); csb 557 drivers/crypto/nx/nx-842-powernv.c struct coprocessor_status_block *csb; csb 569 drivers/crypto/nx/nx-842-powernv.c csb = &crb->csb; csb 606 drivers/crypto/nx/nx-842-powernv.c ret = wait_for_csb(wmem, csb); csb 608 drivers/crypto/nx/nx-842-powernv.c *outlenp = be32_to_cpu(csb->count); csb 195 drivers/crypto/nx/nx-842-pseries.c struct cop_status_block *csb) csb 198 drivers/crypto/nx/nx-842-pseries.c if (!NX842_CSBCBP_VALID_CHK(csb->valid)) { csb 202 drivers/crypto/nx/nx-842-pseries.c csb->valid, csb 203 drivers/crypto/nx/nx-842-pseries.c csb->crb_seq_number, csb 204 drivers/crypto/nx/nx-842-pseries.c csb->completion_code, csb 205 drivers/crypto/nx/nx-842-pseries.c csb->completion_extension); csb 207 drivers/crypto/nx/nx-842-pseries.c be32_to_cpu(csb->processed_byte_count), csb 208 drivers/crypto/nx/nx-842-pseries.c (unsigned long)be64_to_cpu(csb->address)); csb 213 drivers/crypto/nx/nx-842-pseries.c switch (csb->completion_code) { csb 231 drivers/crypto/nx/nx-842-pseries.c __func__, csb->completion_code); csb 235 drivers/crypto/nx/nx-842-pseries.c __func__, csb->completion_code); csb 240 drivers/crypto/nx/nx-842-pseries.c if (!NX842_CSBCPB_CE2(csb->completion_extension)) { csb 362 drivers/crypto/nx/nx-842-pseries.c ret = nx842_validate_result(dev, &csbcpb->csb); csb 366 drivers/crypto/nx/nx-842-pseries.c *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); csb 493 drivers/crypto/nx/nx-842-pseries.c ret = nx842_validate_result(dev, &csbcpb->csb); csb 497 drivers/crypto/nx/nx-842-pseries.c *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); csb 92 drivers/crypto/nx/nx-aes-cbc.c atomic64_add(csbcpb->csb.processed_byte_count, csb 394 drivers/crypto/nx/nx-aes-ccm.c atomic64_add(csbcpb->csb.processed_byte_count, csb 463 drivers/crypto/nx/nx-aes-ccm.c atomic64_add(csbcpb->csb.processed_byte_count, csb 106 drivers/crypto/nx/nx-aes-ctr.c atomic64_add(csbcpb->csb.processed_byte_count, csb 91 drivers/crypto/nx/nx-aes-ecb.c atomic64_add(csbcpb->csb.processed_byte_count, csb 389 drivers/crypto/nx/nx-aes-gcm.c atomic64_add(csbcpb->csb.processed_byte_count, csb 309 drivers/crypto/nx/nx.c nx_ctx->csbcpb->csb.valid |= NX_CSB_VALID_BIT; csb 317 drivers/crypto/nx/nx.c nx_ctx->csbcpb_aead->csb.valid |= NX_CSB_VALID_BIT; csb 150 drivers/crypto/nx/nx_csbcpb.h struct cop_status_block csb; csb 1433 drivers/gpu/drm/i915/gt/intel_lrc.c gen12_csb_parse(const struct intel_engine_execlists *execlists, const u32 *csb) csb 1435 drivers/gpu/drm/i915/gt/intel_lrc.c u32 lower_dw = csb[0]; csb 1436 drivers/gpu/drm/i915/gt/intel_lrc.c u32 upper_dw = csb[1]; csb 1470 drivers/gpu/drm/i915/gt/intel_lrc.c gen8_csb_parse(const struct intel_engine_execlists *execlists, const u32 *csb) csb 1472 drivers/gpu/drm/i915/gt/intel_lrc.c unsigned int status = *csb;