Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/platforms/book3s/
Dvas-api.c149 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/
Dgzfht_test.c92 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()
Dgzip_vas.c152 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()
Dgunz_test.c250 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/
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 …]
/linux-6.1.9/Documentation/powerpc/
Dvas-api.rst227 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/
Dcrb.h132 struct coprocessor_status_block csb; member
Dnxu.h320 volatile struct nx_csb_t csb; member
636 struct nx_csb_t csb; member
/linux-6.1.9/arch/powerpc/include/asm/
Dicswx.h158 struct coprocessor_status_block csb; member
/linux-6.1.9/lib/zlib_dfltcc/
Ddfltcc.h80 uint8_t csb[1152]; member
/linux-6.1.9/arch/powerpc/boot/dts/
Dmpc5125twr.dts39 timebase-frequency = <49500000>;// 49.5 MHz (csb/4)
40 bus-frequency = <198000000>; // 198 MHz csb bus
Dac14xx.dts26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */
27 bus-frequency = <160000000>; /* 160 MHz csb bus */
Dmpc5121.dtsi35 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/
Dnvidia,tegra20-pmc.yaml259 audio, bb, cam, comp, csia, csb, cse, dsi, dsib, dsic, dsid, hdmi, hsic,