Searched refs:csb (Results 1 – 10 of 10) sorted by relevance
/drivers/crypto/nx/ |
D | nx-common-powernv.c | 174 #define CSB_ERR(csb, msg, ...) \ argument 176 ##__VA_ARGS__, (csb)->flags, \ 177 (csb)->cs, (csb)->cc, (csb)->ce, \ 178 be32_to_cpu((csb)->count)) 180 #define CSB_ERR_ADDR(csb, msg, ...) \ argument 181 CSB_ERR(csb, msg " at %lx", ##__VA_ARGS__, \ 182 (unsigned long)be64_to_cpu((csb)->address)) 188 struct coprocessor_status_block *csb) in wait_for_csb() argument 193 while (!(READ_ONCE(csb->flags) & CSB_V)) { in wait_for_csb() 204 if (!(csb->flags & CSB_V)) { in wait_for_csb() [all …]
|
D | nx-common-pseries.c | 220 struct cop_status_block *csb) in nx842_validate_result() argument 223 if (!NX842_CSBCBP_VALID_CHK(csb->valid)) { in nx842_validate_result() 227 csb->valid, in nx842_validate_result() 228 csb->crb_seq_number, in nx842_validate_result() 229 csb->completion_code, in nx842_validate_result() 230 csb->completion_extension); in nx842_validate_result() 232 be32_to_cpu(csb->processed_byte_count), in nx842_validate_result() 233 (unsigned long)be64_to_cpu(csb->address)); in nx842_validate_result() 238 switch (csb->completion_code) { in nx842_validate_result() 256 __func__, csb->completion_code); in nx842_validate_result() [all …]
|
D | nx-aes-ecb.c | 89 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in ecb_aes_nx_crypt()
|
D | nx-aes-cbc.c | 91 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in cbc_aes_nx_crypt()
|
D | nx-aes-ctr.c | 105 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in ctr_aes_nx_crypt()
|
D | nx_csbcpb.h | 150 struct cop_status_block csb; member
|
D | nx-aes-ccm.c | 391 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in ccm_nx_decrypt() 460 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in ccm_nx_encrypt()
|
D | nx.c | 310 nx_ctx->csbcpb->csb.valid |= NX_CSB_VALID_BIT; in nx_ctx_init() 318 nx_ctx->csbcpb_aead->csb.valid |= NX_CSB_VALID_BIT; in nx_ctx_init()
|
D | nx-aes-gcm.c | 385 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in gcm_aes_nx_crypt()
|
/drivers/gpu/drm/i915/gt/ |
D | intel_execlists_submission.c | 1729 static bool xehp_csb_parse(const u64 csb) in xehp_csb_parse() argument 1731 return __gen12_csb_parse(XEHP_CSB_CTX_VALID(lower_32_bits(csb)), /* cxt to */ in xehp_csb_parse() 1732 XEHP_CSB_CTX_VALID(upper_32_bits(csb)), /* cxt away */ in xehp_csb_parse() 1733 upper_32_bits(csb) & XEHP_CTX_STATUS_SWITCHED_TO_NEW_QUEUE, in xehp_csb_parse() 1734 GEN12_CTX_SWITCH_DETAIL(lower_32_bits(csb))); in xehp_csb_parse() 1737 static bool gen12_csb_parse(const u64 csb) in gen12_csb_parse() argument 1739 return __gen12_csb_parse(GEN12_CSB_CTX_VALID(lower_32_bits(csb)), /* cxt to */ in gen12_csb_parse() 1740 GEN12_CSB_CTX_VALID(upper_32_bits(csb)), /* cxt away */ in gen12_csb_parse() 1741 lower_32_bits(csb) & GEN12_CTX_STATUS_SWITCHED_TO_NEW_QUEUE, in gen12_csb_parse() 1742 GEN12_CTX_SWITCH_DETAIL(upper_32_bits(csb))); in gen12_csb_parse() [all …]
|