Home
last modified time | relevance | path

Searched refs:csb (Results 1 – 10 of 10) sorted by relevance

/drivers/crypto/nx/
Dnx-common-powernv.c174 #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 …]
Dnx-common-pseries.c220 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 …]
Dnx-aes-ecb.c89 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in ecb_aes_nx_crypt()
Dnx-aes-cbc.c91 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in cbc_aes_nx_crypt()
Dnx-aes-ctr.c105 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in ctr_aes_nx_crypt()
Dnx_csbcpb.h150 struct cop_status_block csb; member
Dnx-aes-ccm.c391 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()
Dnx.c310 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()
Dnx-aes-gcm.c385 atomic64_add(be32_to_cpu(csbcpb->csb.processed_byte_count), in gcm_aes_nx_crypt()
/drivers/gpu/drm/i915/gt/
Dintel_execlists_submission.c1729 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 …]