Home
last modified time | relevance | path

Searched refs:ecode (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v6.6/drivers/net/ethernet/amd/pds_core/
Dadminq.c26 u16 ecode = le16_to_cpu(comp->event.ecode); in pdsc_process_notifyq() local
28 switch (ecode) { in pdsc_process_notifyq()
31 ecode, eid); in pdsc_process_notifyq()
37 ecode, eid); in pdsc_process_notifyq()
43 ecode, eid); in pdsc_process_notifyq()
48 ecode, eid); in pdsc_process_notifyq()
/Linux-v6.6/drivers/infiniband/sw/siw/
Diwarp.h185 __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()
Dsiw_qp_rx.c170 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 …]
Dsiw_qp.c368 u8 ecode, int in_tx) in siw_init_terminate() argument
374 qp->term_info.ecode = ecode; in siw_init_terminate()
379 layer, etype, ecode, in_tx ? "yes" : "no"); in siw_init_terminate()
446 __rdmap_term_set_ecode(term, qp->term_info.ecode); in siw_send_terminate()
515 if ((qp->term_info.ecode == RDMAP_ECODE_VERSION) || in siw_send_terminate()
516 (qp->term_info.ecode == RDMAP_ECODE_OPCODE)) in siw_send_terminate()
544 (qp->term_info.ecode == DDP_ECODE_T_VERSION)) || in siw_send_terminate()
546 (qp->term_info.ecode == DDP_ECODE_UT_VERSION))) in siw_send_terminate()
/Linux-v6.6/arch/riscv/kvm/
Dvcpu_pmu.c116 u32 ecode = get_event_code(eidx); in kvm_pmu_get_perf_event_config() local
121 if (ecode < SBI_PMU_HW_GENERAL_MAX) in kvm_pmu_get_perf_event_config()
122 config = kvm_pmu_get_perf_event_hw_config(ecode); in kvm_pmu_get_perf_event_config()
125 config = kvm_pmu_get_perf_event_cache_config(ecode); in kvm_pmu_get_perf_event_config()
131 if (ecode < SBI_PMU_FW_MAX) in kvm_pmu_get_perf_event_config()
132 config = (1ULL << 63) | ecode; in kvm_pmu_get_perf_event_config()
144 u32 ecode = get_event_code(eidx); in kvm_pmu_get_fixed_pmc_index() local
149 if (ecode == SBI_PMU_HW_CPU_CYCLES) in kvm_pmu_get_fixed_pmc_index()
151 else if (ecode == SBI_PMU_HW_INSTRUCTIONS) in kvm_pmu_get_fixed_pmc_index()
/Linux-v6.6/drivers/crypto/caam/
Dkey_gen.c18 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()
Dblob_gen.c45 int ecode = 0; in caam_blob_job_done() local
50 ecode = caam_jr_strstatus(dev, err); in caam_blob_job_done()
52 res->err = ecode; in caam_blob_job_done()
Dcaampkc.c129 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()
Dcaamalg_qi2.c1292 int ecode = 0; in aead_encrypt_done() local
1297 ecode = caam_qi2_strstatus(ctx->dev, status); in aead_encrypt_done()
1301 aead_request_complete(req, ecode); in aead_encrypt_done()
1313 int ecode = 0; in aead_decrypt_done() local
1318 ecode = caam_qi2_strstatus(ctx->dev, status); in aead_decrypt_done()
1322 aead_request_complete(req, ecode); in aead_decrypt_done()
1399 int ecode = 0; in skcipher_encrypt_done() local
1405 ecode = caam_qi2_strstatus(ctx->dev, status); in skcipher_encrypt_done()
1421 if (!ecode) in skcipher_encrypt_done()
1426 skcipher_request_complete(req, ecode); in skcipher_encrypt_done()
[all …]
Dcaamhash.c594 int ecode = 0; in ahash_done_cpy() local
603 ecode = caam_jr_strstatus(jrdev, err); in ahash_done_cpy()
618 ahash_request_complete(req, ecode); in ahash_done_cpy()
620 crypto_finalize_hash_request(jrp->engine, req, ecode); in ahash_done_cpy()
645 int ecode = 0; in ahash_done_switch() local
653 ecode = caam_jr_strstatus(jrdev, err); in ahash_done_switch()
680 ahash_request_complete(req, ecode); in ahash_done_switch()
682 crypto_finalize_hash_request(jrp->engine, req, ecode); in ahash_done_switch()
/Linux-v6.6/drivers/vfio/pci/pds/
Dpci_drv.c66 unsigned long ecode, void *data) in pds_vfio_pci_notify_handler() argument
73 dev_dbg(dev, "%s: event code %lu\n", __func__, ecode); in pds_vfio_pci_notify_handler()
83 if (ecode == PDS_EVENT_RESET) { in pds_vfio_pci_notify_handler()
/Linux-v6.6/include/uapi/linux/
Dkfd_ioctl.h886 #define KFD_EC_MASK(ecode) (1ULL << (ecode - 1)) argument
914 #define KFD_DBG_EC_TYPE_IS_QUEUE(ecode) \ argument
915 (!!(KFD_EC_MASK(ecode) & KFD_EC_MASK_QUEUE))
916 #define KFD_DBG_EC_TYPE_IS_DEVICE(ecode) \ argument
917 (!!(KFD_EC_MASK(ecode) & KFD_EC_MASK_DEVICE))
918 #define KFD_DBG_EC_TYPE_IS_PROCESS(ecode) \ argument
919 (!!(KFD_EC_MASK(ecode) & KFD_EC_MASK_PROCESS))
/Linux-v6.6/drivers/infiniband/hw/cxgb4/
Dqp.c1425 u8 *ecode) in build_term_codes() argument
1435 *ecode = 0; in build_term_codes()
1451 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
1454 *ecode = RDMAP_INV_STAG; in build_term_codes()
1461 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
1463 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
1467 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
1471 *ecode = RDMAP_ACC_VIOL; in build_term_codes()
1475 *ecode = RDMAP_TO_WRAP; in build_term_codes()
1480 *ecode = DDPT_BASE_BOUNDS; in build_term_codes()
[all …]
/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.c434 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-v6.6/include/linux/pds/
Dpds_adminq.h69 __le16 ecode; member
83 __le16 ecode; member
100 __le16 ecode; member
116 __le16 ecode; member
135 __le16 ecode; member
/Linux-v6.6/drivers/net/hippi/
Drrunner.c564 int ecode = 0; in rr_init1() local
580 ecode = -EFAULT; in rr_init1()
653 ecode = -ENOMEM; in rr_init1()
697 return ecode; in rr_init1()
718 return ecode; in rr_init1()
1188 int ecode = 0; in rr_open() local
1197 ecode = -EBUSY; in rr_open()
1205 ecode = -ENOMEM; in rr_open()
1213 ecode = -ENOMEM; in rr_open()
1227 ecode = -EAGAIN; in rr_open()
[all …]
/Linux-v6.6/drivers/staging/fieldbus/anybuss/
Dhost.c775 u8 ecode; in mbox_cmd_err() local
783 ecode = (info >> 8) & 0x0F; in mbox_cmd_err()
785 if (ecode == 0x0F) in mbox_cmd_err()
787 else if (ecode < ARRAY_SIZE(EMSGS)) in mbox_cmd_err()
789 EMSGS[ecode], ecode); in mbox_cmd_err()
791 dev_err(dev, " Error code: 0x%02X\n", ecode); in mbox_cmd_err()
/Linux-v6.6/arch/loongarch/kernel/
Dtraps.c227 static const char *humanize_exc_name(unsigned int ecode, unsigned int esubcode) in humanize_exc_name() argument
234 switch (ecode) { in humanize_exc_name()
292 unsigned int ecode = FIELD_GET(CSR_ESTAT_EXC, x); in print_estat() local
295 printk("ESTAT: %08lx [%s] (", x, humanize_exc_name(ecode, esubcode)); in print_estat()
297 pr_cont(" ECode=%d EsubCode=%d)\n", (int) ecode, (int) esubcode); in print_estat()
/Linux-v6.6/drivers/net/ethernet/alteon/
Dacenic.c868 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 …]
/Linux-v6.6/drivers/vdpa/pds/
Dvdpa_dev.c27 unsigned long ecode, in pds_vdpa_notify_handler() argument
33 dev_dbg(dev, "%s: event code %lu\n", __func__, ecode); in pds_vdpa_notify_handler()
35 if (ecode == PDS_EVENT_RESET || ecode == PDS_EVENT_LINK_CHANGE) { in pds_vdpa_notify_handler()
/Linux-v6.6/tools/testing/selftests/net/
Dreuseport_bpf.c342 struct bpf_insn ecode[] = { in test_filter_no_reuseport() local
355 eprog.insn_cnt = ARRAY_SIZE(ecode); in test_filter_no_reuseport()
356 eprog.insns = (unsigned long) &ecode; in test_filter_no_reuseport()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv50.c647 u32 ecode = nvkm_rd32(device, 0x400110); in nv50_gr_intr() local
648 en = nvkm_enum_find(nv50_data_error_names, ecode); in nv50_gr_intr()
650 ecode, en ? en->name : ""); in nv50_gr_intr()
/Linux-v6.6/drivers/net/ethernet/pensando/ionic/
Dionic_if.h2418 __le16 ecode; member
2433 __le16 ecode; member
2451 __le16 ecode; member
2464 __le16 ecode; member
2476 __le16 ecode; member
2487 __le16 ecode; member
/Linux-v6.6/arch/mips/include/asm/sn/sn0/
Dhubio.h451 ecode: 3, /* Error Code */ member
473 ecode: 4, /* Error Code */ member
/Linux-v6.6/net/9p/
Dclient.c523 int ecode; in p9_check_errors() local
546 &ename, &ecode); in p9_check_errors()
550 if (p9_is_proto_dotu(c) && ecode < 512) in p9_check_errors()
551 err = -ecode; in p9_check_errors()
557 -ecode, ename); in p9_check_errors()
561 err = p9pdu_readf(&req->rc, c->proto_version, "d", &ecode); in p9_check_errors()
564 err = -ecode; in p9_check_errors()
566 p9_debug(P9_DEBUG_9P, "<<< RLERROR (%d)\n", -ecode); in p9_check_errors()

12