| /linux/include/uapi/linux/ |
| H A D | kfd_ioctl.h | 989 /* Mask generated by ecode in kfd_dbg_trap_exception_code */ 990 #define KFD_EC_MASK(ecode) (1ULL << (ecode - 1)) 1026 #define KFD_DBG_EC_IS_VALID(ecode) (ecode > EC_NONE && ecode < EC_MAX) argument 1027 #define KFD_DBG_EC_TYPE_IS_QUEUE(ecode) \ 1028 (KFD_DBG_EC_IS_VALID(ecode) && !!(KFD_EC_MASK(ecode) & KFD_EC_MASK_QUEUE)) 1029 #define KFD_DBG_EC_TYPE_IS_DEVICE(ecode) \ 983 KFD_EC_MASK(ecode) global() argument 1019 KFD_DBG_EC_IS_VALID(ecode) global() argument 1020 KFD_DBG_EC_TYPE_IS_QUEUE(ecode) global() argument 1022 KFD_DBG_EC_TYPE_IS_DEVICE(ecode) global() argument 1024 KFD_DBG_EC_TYPE_IS_PROCESS(ecode) global() argument [all...] |
| /linux/drivers/infiniband/sw/siw/ |
| H A D | iwarp.h | 185 __be32 ecode : 8; member 195 __be32 ecode : 8; member 240 return term->ecode; in __rdmap_term_ecode() 244 u8 ecode) in __rdmap_term_set_ecode() argument 246 term->ecode = ecode; in __rdmap_term_set_ecode()
|
| H A D | siw_qp_rx.c | 170 enum ddp_ecode ecode; in siw_rresp_check_ntoh() local 193 ecode = DDP_ECODE_T_INVALID_STAG; in siw_rresp_check_ntoh() 200 ecode = DDP_ECODE_T_BASE_BOUNDS; in siw_rresp_check_ntoh() 208 ecode = DDP_ECODE_T_BASE_BOUNDS; in siw_rresp_check_ntoh() 214 DDP_ETYPE_TAGGED_BUF, ecode, 0); in siw_rresp_check_ntoh() 233 enum ddp_ecode ecode; in siw_write_check_ntoh() local 247 ecode = DDP_ECODE_T_INVALID_STAG; in siw_write_check_ntoh() 255 ecode = DDP_ECODE_T_BASE_BOUNDS; in siw_write_check_ntoh() 262 DDP_ETYPE_TAGGED_BUF, ecode, 0); in siw_write_check_ntoh() 282 enum ddp_ecode ecode; in siw_send_check_ntoh() local [all …]
|
| H A D | siw_qp.c | 341 u8 ecode, int in_tx) in siw_init_terminate() argument 347 qp->term_info.ecode = ecode; in siw_init_terminate() 352 layer, etype, ecode, in_tx ? "yes" : "no"); in siw_init_terminate() 419 __rdmap_term_set_ecode(term, qp->term_info.ecode); in siw_send_terminate() 488 if ((qp->term_info.ecode == RDMAP_ECODE_VERSION) || in siw_send_terminate() 489 (qp->term_info.ecode == RDMAP_ECODE_OPCODE)) in siw_send_terminate() 517 (qp->term_info.ecode == DDP_ECODE_T_VERSION)) || in siw_send_terminate() 519 (qp->term_info.ecode == DDP_ECODE_UT_VERSION))) in siw_send_terminate()
|
| /linux/drivers/net/ethernet/amd/pds_core/ |
| H A D | adminq.c | 21 u16 ecode = le16_to_cpu(comp->event.ecode); in pdsc_process_notifyq() local 23 switch (ecode) { in pdsc_process_notifyq() 26 ecode, eid); in pdsc_process_notifyq() 32 ecode, eid); in pdsc_process_notifyq() 38 ecode, eid); in pdsc_process_notifyq() 43 ecode, eid); in pdsc_process_notifyq()
|
| /linux/arch/loongarch/kvm/ |
| H A D | exit.c | 346 static int kvm_handle_gspr(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_gspr() argument 667 static int kvm_handle_rdwr_fault(struct kvm_vcpu *vcpu, bool write, int ecode) in kvm_handle_rdwr_fault() argument 681 ret = kvm_handle_mm_fault(vcpu, badv, write, ecode); in kvm_handle_rdwr_fault() 711 static int kvm_handle_read_fault(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_read_fault() argument 713 return kvm_handle_rdwr_fault(vcpu, false, ecode); in kvm_handle_read_fault() 716 static int kvm_handle_write_fault(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_write_fault() argument 718 return kvm_handle_rdwr_fault(vcpu, true, ecode); in kvm_handle_write_fault() 737 static int kvm_handle_fpu_disabled(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_fpu_disabled() argument 794 static int kvm_handle_lsx_disabled(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_lsx_disabled() argument 814 static int kvm_handle_lasx_disabled(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_lasx_disabled() argument [all …]
|
| /linux/tools/sched_ext/ |
| H A D | scx_simple.c | 68 __u64 ecode; in main() local 104 ecode = UEI_REPORT(skel, uei); in main() 107 if (UEI_ECODE_RESTART(ecode)) in main()
|
| H A D | scx_cpu0.c | 66 __u64 ecode; in main() local 101 ecode = UEI_REPORT(skel, uei); in main() 104 if (UEI_ECODE_RESTART(ecode)) in main()
|
| H A D | scx_sdt.c | 48 __u64 ecode; in main() local 96 ecode = UEI_REPORT(skel, uei); in main() 99 if (UEI_ECODE_RESTART(ecode)) in main()
|
| H A D | scx_central.c | 50 __u64 seq = 0, ecode; in main() local 144 ecode = UEI_REPORT(skel, uei); in main() 147 if (UEI_ECODE_RESTART(ecode)) in main()
|
| H A D | scx_pair.c | 49 __u64 seq = 0, ecode; in main() local 180 ecode = UEI_REPORT(skel, uei); in main() 183 if (UEI_ECODE_RESTART(ecode)) in main()
|
| H A D | scx_flatcg.c | 138 __u64 ecode; in main() local 237 ecode = UEI_REPORT(skel, uei); in main() 240 if (UEI_ECODE_RESTART(ecode)) in main()
|
| H A D | scx_userland.c | 430 __u64 ecode; in main() local 440 ecode = UEI_REPORT(skel, uei); in main() 443 if (UEI_ECODE_RESTART(ecode)) in main()
|
| /linux/drivers/crypto/caam/ |
| H A D | key_gen.c | 18 int ecode = 0; in split_key_done() local 23 ecode = caam_jr_strstatus(dev, err); in split_key_done() 25 res->err = ecode; in split_key_done()
|
| H A D | blob_gen.c | 47 int ecode = 0; in caam_blob_job_done() local 52 ecode = caam_jr_strstatus(dev, err); in caam_blob_job_done() 54 res->err = ecode; in caam_blob_job_done()
|
| H A D | caampkc.c | 129 int ecode = 0; in rsa_pub_done() local 133 ecode = caam_jr_strstatus(dev, err); in rsa_pub_done() 147 akcipher_request_complete(req, ecode); in rsa_pub_done() 149 crypto_finalize_akcipher_request(jrp->engine, req, ecode); in rsa_pub_done() 162 int ecode = 0; in rsa_priv_f_done() local 166 ecode = caam_jr_strstatus(dev, err); in rsa_priv_f_done() 190 akcipher_request_complete(req, ecode); in rsa_priv_f_done() 192 crypto_finalize_akcipher_request(jrp->engine, req, ecode); in rsa_priv_f_done()
|
| H A D | caamalg_qi2.c | 1294 int ecode = 0; in aead_encrypt_done() local 1299 ecode = caam_qi2_strstatus(ctx->dev, status); in aead_encrypt_done() 1303 aead_request_complete(req, ecode); in aead_encrypt_done() 1315 int ecode = 0; in aead_decrypt_done() local 1320 ecode = caam_qi2_strstatus(ctx->dev, status); in aead_decrypt_done() 1324 aead_request_complete(req, ecode); in aead_decrypt_done() 1401 int ecode = 0; in skcipher_encrypt_done() local 1407 ecode = caam_qi2_strstatus(ctx->dev, status); in skcipher_encrypt_done() 1423 if (!ecode) in skcipher_encrypt_done() 1428 skcipher_request_complete(req, ecode); in skcipher_encrypt_done() [all …]
|
| /linux/drivers/vfio/pci/pds/ |
| H A D | pci_drv.c | 47 unsigned long ecode, void *data) in pds_vfio_pci_notify_handler() argument 54 dev_dbg(dev, "%s: event code %lu\n", __func__, ecode); in pds_vfio_pci_notify_handler() 64 if (ecode == PDS_EVENT_RESET) { in pds_vfio_pci_notify_handler()
|
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_pmu.c | 120 u32 ecode = get_event_code(eidx); in kvm_pmu_get_perf_event_config() local 125 if (ecode < SBI_PMU_HW_GENERAL_MAX) in kvm_pmu_get_perf_event_config() 126 config = kvm_pmu_get_perf_event_hw_config(ecode); in kvm_pmu_get_perf_event_config() 129 config = kvm_pmu_get_perf_event_cache_config(ecode); in kvm_pmu_get_perf_event_config() 138 if (ecode < SBI_PMU_FW_MAX) in kvm_pmu_get_perf_event_config() 139 config = (1ULL << 63) | ecode; in kvm_pmu_get_perf_event_config() 151 u32 ecode = get_event_code(eidx); in kvm_pmu_get_fixed_pmc_index() local 156 if (ecode == SBI_PMU_HW_CPU_CYCLES) in kvm_pmu_get_fixed_pmc_index() 158 else if (ecode == SBI_PMU_HW_INSTRUCTIONS) in kvm_pmu_get_fixed_pmc_index()
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| H A D | qp.c | 1422 u8 *ecode) in build_term_codes() argument 1432 *ecode = 0; in build_term_codes() 1448 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes() 1451 *ecode = RDMAP_INV_STAG; in build_term_codes() 1458 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes() 1460 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes() 1464 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes() 1468 *ecode = RDMAP_ACC_VIOL; in build_term_codes() 1472 *ecode = RDMAP_TO_WRAP; in build_term_codes() 1477 *ecode = DDPT_BASE_BOUNDS; in build_term_codes() [all …]
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_reqmgr.c | 434 union otx_cpt_error_code ecode; in cpt_process_ccode() local 436 ecode.u = be64_to_cpup((__be64 *)cpt_info->out_buffer); in cpt_process_ccode() 447 ecode.s.ccode); in cpt_process_ccode() 470 if (ecode.s.ccode) { in cpt_process_ccode() 480 ecode.s.ccode == ERR_SCATTER_GATHER_WRITE_LENGTH) { in cpt_process_ccode() 487 ecode.s.ccode); in cpt_process_ccode()
|
| /linux/include/linux/pds/ |
| H A D | pds_adminq.h | 69 __le16 ecode; member 83 __le16 ecode; member 100 __le16 ecode; member 116 __le16 ecode; member 135 __le16 ecode; member
|
| /linux/drivers/iio/adc/ |
| H A D | rohm-bd79124.c | 865 u64 ecode; in bd79124_event_handler() local 868 ecode = IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, i, in bd79124_event_handler() 872 iio_push_event(iio_dev, ecode, data->timestamp); in bd79124_event_handler() 887 ecode = IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, i, in bd79124_event_handler() 891 iio_push_event(iio_dev, ecode, data->timestamp); in bd79124_event_handler()
|
| /linux/arch/loongarch/kernel/ |
| H A D | traps.c | 254 static const char *humanize_exc_name(unsigned int ecode, unsigned int esubcode) in humanize_exc_name() argument 261 switch (ecode) { in humanize_exc_name() 319 unsigned int ecode = FIELD_GET(CSR_ESTAT_EXC, x); in print_estat() local 322 printk("ESTAT: %08lx [%s] (", x, humanize_exc_name(ecode, esubcode)); in print_estat() 324 pr_cont(" ECode=%d EsubCode=%d)\n", (int) ecode, (int) esubcode); in print_estat()
|
| /linux/drivers/net/ethernet/alteon/ |
| H A D | acenic.c | 868 int board_idx, ecode = 0; in ace_init() local 943 ecode = -ENODEV; in ace_init() 970 ecode = -EIO; in ace_init() 982 ecode = -EIO; in ace_init() 1133 ecode = -ENODEV; in ace_init() 1144 ecode = -EAGAIN; in ace_init() 1153 ecode = -EAGAIN; in ace_init() 1157 ecode = request_irq(pdev->irq, ace_interrupt, IRQF_SHARED, in ace_init() 1159 if (ecode) { in ace_init() 1173 ecode = ace_load_firmware(dev); in ace_init() [all …]
|