Home
last modified time | relevance | path

Searched refs:ecr (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/arch/arc/include/asm/
Dptrace.h54 ecr_reg ecr; member
57 #define MAX_REG_OFFSET offsetof(struct pt_regs, ecr)
65 ecr_reg ecr; /* Exception Cause Reg */ member
123 #define in_syscall(regs) ((regs->ecr.vec == ECR_V_TRAP) && !regs->ecr.param)
124 #define in_brkpt_trap(regs) ((regs->ecr.vec == ECR_V_TRAP) && regs->ecr.param)
128 #define syscall_wont_restart(regs) (regs->ecr.state |= STATE_SCALL_RESTARTED)
129 #define syscall_restartable(regs) !(regs->ecr.state & STATE_SCALL_RESTARTED)
Dentry-compact.h172 lr r10, [ecr]
Dentry-arcv2.h100 lr r10, [ecr]
/linux-6.6.21/drivers/parport/
Dparport_ip32.c168 void __iomem *ecr; member
329 unsigned int ecr = readb(priv->regs.ecr); in parport_ip32_dump_state() local
330 printk(KERN_DEBUG PPIP32 " ecr=0x%02x", ecr); in parport_ip32_dump_state()
332 ecr_modes[(ecr & ECR_MODE_MASK) >> ECR_MODE_SHIFT]); in parport_ip32_dump_state()
333 if (ecr & ECR_nERRINTR) in parport_ip32_dump_state()
335 if (ecr & ECR_DMAEN) in parport_ip32_dump_state()
337 if (ecr & ECR_SERVINTR) in parport_ip32_dump_state()
339 if (ecr & ECR_F_FULL) in parport_ip32_dump_state()
341 if (ecr & ECR_F_EMPTY) in parport_ip32_dump_state()
347 oecr = readb(priv->regs.ecr); in parport_ip32_dump_state()
[all …]
Dparport_pc.c147 if (!priv->ecr) { in change_mode()
242 s->u.pc.ecr = 0x34; /* NetMos chip can cause problems 0x24; in parport_pc_init_state()
250 if (priv->ecr) in parport_pc_save_state()
251 s->u.pc.ecr = inb(ECONTROL(p)); in parport_pc_save_state()
261 if (priv->ecr) in parport_pc_restore_state()
262 ECR_WRITE(p, s->u.pc.ecr); in parport_pc_restore_state()
1520 priv->ecr = 1; in parport_ECR_present()
1592 if (!priv->ecr) in parport_ECP_supported()
1713 if (priv->ecr) { in intel_bug_present_check_epp()
1715 unsigned char ecr = inb(ECONTROL(pb)); in intel_bug_present_check_epp() local
[all …]
Dparport_sunbpp.c219 s->u.pc.ecr = 0x0; in parport_sunbpp_init_state()
/linux-6.6.21/include/linux/
Dparport_pc.h27 int ecr; member
88 unsigned char ecr = inb (ECONTROL (p)); in dump_parport_state() local
95 printk (KERN_DEBUG "*** parport state (%s): ecr=[%s", str, ecr_modes[(ecr & 0xe0) >> 5]); in dump_parport_state()
96 if (ecr & 0x10) printk (",nErrIntrEn"); in dump_parport_state()
97 if (ecr & 0x08) printk (",dmaEn"); in dump_parport_state()
98 if (ecr & 0x04) printk (",serviceIntr"); in dump_parport_state()
99 if (ecr & 0x02) printk (",f_full"); in dump_parport_state()
100 if (ecr & 0x01) printk (",f_empty"); in dump_parport_state()
Dparport.h26 unsigned int ecr; member
31 unsigned int ecr; member
45 unsigned int ecr; member
/linux-6.6.21/arch/arc/kernel/
Dtroubleshoot.c118 vec = regs->ecr.vec; in show_ecr_verbose()
119 cause_code = regs->ecr.cause; in show_ecr_verbose()
157 if (regs->ecr.param == 5) in show_ecr_verbose()
188 regs->ecr.full, current->thread.fault_address, regs->ret); in show_regs()
Dtraps.c113 switch (regs->ecr.param) { in do_non_swi_trap()
Dasm-offsets.c49 DEFINE(PT_event, offsetof(struct pt_regs, ecr)); in main()
Dkgdb.c178 if (regs->ecr.param == 3) in kgdb_trap()
Dptrace.c49 REG_OFFSET_NAME(ecr),
57 REG_OFFSET_NAME(ecr),
/linux-6.6.21/arch/arc/mm/
Dfault.c103 if (regs->ecr.cause & ECR_C_PROTV_STORE) /* ST/EX */ in do_page_fault()
105 else if ((regs->ecr.vec == ECR_V_PROTV) && in do_page_fault()
106 (regs->ecr.cause == ECR_C_PROTV_INST_FETCH)) in do_page_fault()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_eq.c394 u32 ecr; in mthca_tavor_interrupt() local
400 ecr = readl(dev->eq_regs.tavor.ecr_base + 4); in mthca_tavor_interrupt()
401 if (!ecr) in mthca_tavor_interrupt()
404 writel(ecr, dev->eq_regs.tavor.ecr_base + in mthca_tavor_interrupt()
408 if (ecr & dev->eq_table.eq[i].eqn_mask) { in mthca_tavor_interrupt()
/linux-6.6.21/drivers/usb/misc/
Duss720.c435 s->u.pc.ecr = 0x24; in parport_uss720_init_state()
447 s->u.pc.ecr = priv->reg[2]; in parport_uss720_save_state()
455 set_1284_register(pp, 6, s->u.pc.ecr, GFP_ATOMIC); in parport_uss720_restore_state()
458 priv->reg[2] = s->u.pc.ecr; in parport_uss720_restore_state()
/linux-6.6.21/sound/soc/fsl/
Dfsl_esai.c266 u32 ratio, ecr = 0; in fsl_esai_set_dai_sysclk() local
296 ecr |= ESAI_ECR_ETI; in fsl_esai_set_dai_sysclk()
299 ecr |= esai_priv->synchronous ? ESAI_ECR_ETI : ESAI_ECR_ERI; in fsl_esai_set_dai_sysclk()
330 ecr |= tx ? ESAI_ECR_ETO : ESAI_ECR_ERO; in fsl_esai_set_dai_sysclk()
351 ESAI_ECR_ERI | ESAI_ECR_ERO, ecr); in fsl_esai_set_dai_sysclk()
/linux-6.6.21/drivers/net/can/m_can/
Dm_can.c680 unsigned int ecr; in __m_can_get_berr_counter() local
682 ecr = m_can_read(cdev, M_CAN_ECR); in __m_can_get_berr_counter()
683 bec->rxerr = FIELD_GET(ECR_REC_MASK, ecr); in __m_can_get_berr_counter()
684 bec->txerr = FIELD_GET(ECR_TEC_MASK, ecr); in __m_can_get_berr_counter()
727 unsigned int ecr; in m_can_handle_state_change() local
772 ecr = m_can_read(cdev, M_CAN_ECR); in m_can_handle_state_change()
773 if (ecr & ECR_RP) in m_can_handle_state_change()
/linux-6.6.21/drivers/net/can/
Dxilinx_can.c962 u32 ecr = priv->read_reg(priv, XCAN_ECR_OFFSET); in xcan_set_error_state() local
963 u32 txerr = ecr & XCAN_ECR_TEC_MASK; in xcan_set_error_state()
964 u32 rxerr = (ecr & XCAN_ECR_REC_MASK) >> XCAN_ESR_REC_SHIFT; in xcan_set_error_state()
/linux-6.6.21/drivers/usb/serial/
Dmos7720.c459 s->u.pc.ecr = ECR_INIT_VAL; in parport_mos7715_init_state()
475 s->u.pc.ecr = mos_parport->shadowECR; in parport_mos7715_save_state()
492 mos_parport->shadowECR = s->u.pc.ecr; in parport_mos7715_restore_state()
/linux-6.6.21/fs/ecryptfs/
Dcrypto.c280 DECLARE_CRYPTO_WAIT(ecr); in crypt_scatterlist()
300 crypto_req_done, &ecr); in crypt_scatterlist()
319 rc = crypto_wait_req(rc, &ecr); in crypt_scatterlist()
/linux-6.6.21/drivers/net/vmxnet3/
Dvmxnet3_defs.h792 __le32 ecr; member
Dvmxnet3_drv.c203 u32 events = le32_to_cpu(adapter->shared->ecr); in vmxnet3_process_events()
2222 if (unlikely(adapter->shared->ecr)) in vmxnet3_do_poll()
2356 if (adapter->shared->ecr) in vmxnet3_msix_event()
/linux-6.6.21/drivers/net/can/flexcan/
Dflexcan-core.c225 u32 ecr; /* 0x1c */ member
720 u32 reg = priv->read(&regs->ecr); in __flexcan_get_berr_counter()