/linux-6.1.9/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()
|
/linux-6.1.9/arch/powerpc/platforms/book3s/ |
D | vas-api.c | 149 struct coprocessor_status_block csb; in vas_update_csb() local 165 memset(&csb, 0, sizeof(csb)); in vas_update_csb() 166 csb.cc = CSB_CC_FAULT_ADDRESS; in vas_update_csb() 167 csb.ce = CSB_CE_TERMINATION; in vas_update_csb() 168 csb.cs = 0; in vas_update_csb() 169 csb.count = 0; in vas_update_csb() 176 csb.address = crb->stamp.nx.fault_storage_addr; in vas_update_csb() 177 csb.flags = 0; in vas_update_csb() 200 rc = copy_to_user(csb_addr, &csb, sizeof(csb)); in vas_update_csb() 206 csb.flags = CSB_V; in vas_update_csb() [all …]
|
/linux-6.1.9/tools/testing/selftests/powerpc/nx-gzip/ |
D | gzfht_test.c | 92 memset((void *) &cmdp->crb.csb, 0, sizeof(cmdp->crb.csb)); in compress_fht_sample() 105 (uint64_t) &cmdp->crb.csb & csb_address_mask); in compress_fht_sample() 332 (unsigned long long) cmdp->crb.csb.fsaddr)); in compress_file() 357 tpbc = get32(cmdp->crb.csb, tpbc); in compress_file()
|
D | gzip_vas.c | 152 while (getnn(cmdp->crb.csb, csb_v) == 0) { in nx_wait_for_csb() 184 if (getnn(cmdp->crb.csb, csb_v) == 0) { in nx_wait_for_csb() 269 cc = getnn(cmdp->crb.csb, csb_cc); /* CC Table 6-8 */ in nxu_submit_job()
|
D | gunz_test.c | 250 memset((void *)&cmdp->crb.csb, 0, sizeof(cmdp->crb.csb)); in nx_submit_job() 256 csbaddr = ((uint64_t) &cmdp->crb.csb) & csb_address_mask; in nx_submit_job() 708 (void *)cmdp->crb.csb.fsaddr)); in decompress_file() 740 nx_ce = get_csb_ce_ms3b(cmdp->crb.csb); in decompress_file() 750 tpbc = get32(cmdp->crb.csb, tpbc); in decompress_file() 780 tpbc = get32(cmdp->crb.csb, tpbc); in decompress_file()
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/Documentation/powerpc/ |
D | vas-api.rst | 227 csb.flags = CSB_V; 228 csb.cc = CSB_CC_FAULT_ADDRESS; 229 csb.ce = CSB_CE_TERMINATION; 230 csb.address = fault_address; 298 // Poll on csb.flags with timeout 299 // csb address is listed in CRB
|
/linux-6.1.9/tools/testing/selftests/powerpc/nx-gzip/include/ |
D | crb.h | 132 struct coprocessor_status_block csb; member
|
D | nxu.h | 320 volatile struct nx_csb_t csb; member 636 struct nx_csb_t csb; member
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | icswx.h | 158 struct coprocessor_status_block csb; member
|
/linux-6.1.9/lib/zlib_dfltcc/ |
D | dfltcc.h | 80 uint8_t csb[1152]; member
|
/linux-6.1.9/arch/powerpc/boot/dts/ |
D | mpc5125twr.dts | 39 timebase-frequency = <49500000>;// 49.5 MHz (csb/4) 40 bus-frequency = <198000000>; // 198 MHz csb bus
|
D | ac14xx.dts | 26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */ 27 bus-frequency = <160000000>; /* 160 MHz csb bus */
|
D | mpc5121.dtsi | 35 timebase-frequency = <49500000>;/* 49.5 MHz (csb/4) */ 36 bus-frequency = <198000000>; /* 198 MHz csb bus */
|
/linux-6.1.9/Documentation/devicetree/bindings/arm/tegra/ |
D | nvidia,tegra20-pmc.yaml | 259 audio, bb, cam, comp, csia, csb, cse, dsi, dsib, dsic, dsid, hdmi, hsic,
|