Home
last modified time | relevance | path

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

12

/linux/include/uapi/linux/
H A Dkfd_ioctl.h983 #define KFD_EC_MASK(ecode) (1ULL << (ecode - 1)) argument
1019 #define KFD_DBG_EC_IS_VALID(ecode) (ecode > EC_NONE && ecode < EC_MAX) argument
1020 #define KFD_DBG_EC_TYPE_IS_QUEUE(ecode) \ argument
1021 (KFD_DBG_EC_IS_VALID(ecode) && !!(KFD_EC_MASK(ecode) & KFD_EC_MASK_QUEUE))
1022 #define KFD_DBG_EC_TYPE_IS_DEVICE(ecode) \ argument
1023 (KFD_DBG_EC_IS_VALID(ecode) && !!(KFD_EC_MASK(ecode) & KFD_EC_MASK_DEVICE))
1024 #define KFD_DBG_EC_TYPE_IS_PROCESS(ecode) \ argument
1025 (KFD_DBG_EC_IS_VALID(ecode) && !!(KFD_EC_MASK(ecode) & KFD_EC_MASK_PROCESS))
1026 #define KFD_DBG_EC_TYPE_IS_PACKET(ecode) \ argument
1027 (KFD_DBG_EC_IS_VALID(ecode) && !!(KFD_EC_MASK(ecode) & KFD_EC_MASK_PACKET))
/linux/drivers/infiniband/sw/siw/
H A 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()
H A 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 …]
H A Dsiw_qp_tx.c798 enum rdmap_ecode ecode = RDMAP_ECODE_CATASTROPHIC_STREAM; in siw_qp_sq_proc_tx() local
822 ecode = siw_rdmap_error(-rv); in siw_qp_sq_proc_tx()
921 if (ecode != RDMAP_ECODE_CATASTROPHIC_STREAM) in siw_qp_sq_proc_tx()
923 RDMAP_ETYPE_REMOTE_PROTECTION, ecode, 1); in siw_qp_sq_proc_tx()
H A Dsiw.h463 u8 ecode; member
517 u8 etype, u8 ecode, int in_tx);
/linux/drivers/net/ethernet/amd/pds_core/
H A Dadminq.c21 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/tools/sched_ext/
H A Dscx_simple.c68 __u64 ecode; in main() local
103 ecode = UEI_REPORT(skel, uei); in main()
106 if (UEI_ECODE_RESTART(ecode)) in main()
H A Dscx_cpu0.c66 __u64 ecode; in main() local
100 ecode = UEI_REPORT(skel, uei); in main()
103 if (UEI_ECODE_RESTART(ecode)) in main()
H A Dscx_central.c50 __u64 seq = 0, ecode; in main() local
140 ecode = UEI_REPORT(skel, uei); in main()
143 if (UEI_ECODE_RESTART(ecode)) in main()
H A Dscx_flatcg.c132 __u64 ecode; in main() local
230 ecode = UEI_REPORT(skel, uei); in main()
233 if (UEI_ECODE_RESTART(ecode)) in main()
/linux/drivers/crypto/caam/
H A 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()
H A Dblob_gen.c47 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 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/drivers/vfio/pci/pds/
H A Dpci_drv.c47 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/drivers/crypto/marvell/octeontx/
H A 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/drivers/net/hippi/
H A 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/drivers/iio/adc/
H A Drohm-bd79124.c865 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 Dtraps.c254 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 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/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A 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/tools/testing/selftests/net/
H A 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/drivers/vdpa/pds/
H A 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/net/9p/
H A Dclient.c403 int ecode; in p9_check_errors() local
426 &ename, &ecode); in p9_check_errors()
432 if (p9_is_proto_dotu(c) && ecode < 512) in p9_check_errors()
433 err = -ecode; in p9_check_errors()
439 -ecode, ename); in p9_check_errors()
443 err = p9pdu_readf(&req->rc, c->proto_version, "d", &ecode); in p9_check_errors()
446 err = -ecode; in p9_check_errors()
448 p9_debug(P9_DEBUG_9P, "<<< RLERROR (%d)\n", -ecode); in p9_check_errors()
/linux/arch/mips/include/asm/sn/sn0/
H A Dhubio.h451 ecode: 3, /* Error Code */ member
473 ecode: 4, /* Error Code */ member
/linux/fs/smb/client/
H A Dnetmisc.c789 ntstatus_to_dos(__u32 ntstatus, __u8 *eclass, __u16 *ecode) in ntstatus_to_dos() argument
794 *ecode = 0; in ntstatus_to_dos()
800 *ecode = ntstatus_to_dos_map[i].dos_code; in ntstatus_to_dos()
805 *ecode = ERRgeneral; in ntstatus_to_dos()

12