| /linux/drivers/crypto/nx/ |
| H A D | nx-common-powernv.c | 175 #define CSB_ERR(csb, msg, ...) \ argument 177 ##__VA_ARGS__, (csb)->flags, \ 178 (csb)->cs, (csb)->cc, (csb)->ce, \ 179 be32_to_cpu((csb)->count)) 181 #define CSB_ERR_ADDR(csb, msg, ...) \ argument 182 CSB_ERR(csb, msg " at %lx", ##__VA_ARGS__, \ 183 (unsigned long)be64_to_cpu((csb)->address)) 186 struct coprocessor_status_block *csb) in wait_for_csb() argument 191 while (!(READ_ONCE(csb->flags) & CSB_V)) { in wait_for_csb() 202 if (!(csb->flags & CSB_V)) { in wait_for_csb() [all …]
|
| H A D | nx-common-pseries.c | 223 struct cop_status_block *csb) in nx842_validate_result() argument 226 if (!NX842_CSBCBP_VALID_CHK(csb->valid)) { in nx842_validate_result() 230 csb->valid, in nx842_validate_result() 231 csb->crb_seq_number, in nx842_validate_result() 232 csb->completion_code, in nx842_validate_result() 233 csb->completion_extension); in nx842_validate_result() 235 be32_to_cpu(csb->processed_byte_count), in nx842_validate_result() 236 (unsigned long)be64_to_cpu(csb->address)); in nx842_validate_result() 241 switch (csb->completion_code) { in nx842_validate_result() 259 __func__, csb->completion_code); in nx842_validate_result() [all …]
|
| H A D | nx_csbcpb.h | 150 struct cop_status_block csb; member
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/ |
| H A 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() 284 (unsigned long long) cmdp->crb.csb.fsaddr)); in compress_file() 309 tpbc = get32(cmdp->crb.csb, tpbc); in compress_file()
|
| H A 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()
|
| H A 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/lib/zlib_dfltcc/ |
| H A D | dfltcc.h | 80 uint8_t csb[1152]; member 83 static_assert(offsetof(struct dfltcc_param_v0, csb) == 384);
|
| H A D | dfltcc_util.h | 75 kmsan_unpoison_memory(param, offsetof(struct dfltcc_param_v0, csb)); in dfltcc()
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_execlists_submission.c | 160 #define GEN12_CTX_STATUS_SWITCHED_TO_NEW_QUEUE (0x1) /* lower csb dword */ 161 #define GEN12_CTX_SWITCH_DETAIL(csb_dw) ((csb_dw) & 0xF) /* upper csb dword */ 167 #define XEHP_CTX_STATUS_SWITCHED_TO_NEW_QUEUE BIT(1) /* upper csb dword */ 1682 * Xe_HP csb shuffles things around compared to TGL: 1720 static bool xehp_csb_parse(const u64 csb) in __gen12_csb_parse() 1722 return __gen12_csb_parse(XEHP_CSB_CTX_VALID(lower_32_bits(csb)), /* cxt to */ in __gen12_csb_parse() 1723 XEHP_CSB_CTX_VALID(upper_32_bits(csb)), /* cxt away */ in __gen12_csb_parse() 1724 upper_32_bits(csb) & XEHP_CTX_STATUS_SWITCHED_TO_NEW_QUEUE, in __gen12_csb_parse() 1725 GEN12_CTX_SWITCH_DETAIL(lower_32_bits(csb))); in __gen12_csb_parse() 1728 static bool gen12_csb_parse(const u64 csb) in xehp_csb_parse() 1727 xehp_csb_parse(const u64 csb) xehp_csb_parse() argument 1735 gen12_csb_parse(const u64 csb) gen12_csb_parse() argument 1743 gen8_csb_parse(const u64 csb) gen8_csb_parse() argument 1749 wa_csb_read(const struct intel_engine_cs * engine,u64 * const csb) wa_csb_read() argument 1782 csb_read(const struct intel_engine_cs * engine,u64 * const csb) csb_read() argument 1880 u64 csb; process_csb() local [all...] |
| /linux/Documentation/arch/powerpc/ |
| H A 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/tools/testing/selftests/powerpc/nx-gzip/include/ |
| H A D | crb.h | 132 struct coprocessor_status_block csb; member
|
| H A D | nxu.h | 320 volatile struct nx_csb_t csb; member 636 struct nx_csb_t csb; member
|
| /linux/arch/powerpc/include/asm/ |
| H A D | icswx.h | 158 struct coprocessor_status_block csb; member
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | mpc5125twr.dts | 39 timebase-frequency = <49500000>;// 49.5 MHz (csb/4) 40 bus-frequency = <198000000>; // 198 MHz csb bus
|
| H A D | ac14xx.dts | 26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */ 27 bus-frequency = <160000000>; /* 160 MHz csb bus */
|
| H A D | mpc5121.dtsi | 35 timebase-frequency = <49500000>;/* 49.5 MHz (csb/4) */ 36 bus-frequency = <198000000>; /* 198 MHz csb bus */
|