Home
last modified time | relevance | path

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

/linux-6.1.9/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.c140 if (!priv->ecr) { in change_mode()
235 s->u.pc.ecr = 0x34; /* NetMos chip can cause problems 0x24; in parport_pc_init_state()
243 if (priv->ecr) in parport_pc_save_state()
244 s->u.pc.ecr = inb(ECONTROL(p)); in parport_pc_save_state()
254 if (priv->ecr) in parport_pc_restore_state()
255 ECR_WRITE(p, s->u.pc.ecr); in parport_pc_restore_state()
1498 priv->ecr = 1; in parport_ECR_present()
1570 if (!priv->ecr) in parport_ECP_supported()
1691 if (priv->ecr) { in intel_bug_present_check_epp()
1693 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.1.9/include/linux/
Dparport_pc.h27 int ecr; member
85 unsigned char ecr = inb (ECONTROL (p)); in dump_parport_state() local
92 printk (KERN_DEBUG "*** parport state (%s): ecr=[%s", str, ecr_modes[(ecr & 0xe0) >> 5]); in dump_parport_state()
93 if (ecr & 0x10) printk (",nErrIntrEn"); in dump_parport_state()
94 if (ecr & 0x08) printk (",dmaEn"); in dump_parport_state()
95 if (ecr & 0x04) printk (",serviceIntr"); in dump_parport_state()
96 if (ecr & 0x02) printk (",f_full"); in dump_parport_state()
97 if (ecr & 0x01) printk (",f_empty"); in dump_parport_state()
Dparport.h26 unsigned int ecr; member
31 unsigned int ecr; member
49 unsigned int ecr; member
/linux-6.1.9/drivers/usb/gadget/udc/
Ds3c-hsudc.c454 u32 ecr; in s3c_hsudc_set_halt() local
463 ecr = readl(hsudc->regs + offset); in s3c_hsudc_set_halt()
466 ecr |= S3C_ECR_STALL; in s3c_hsudc_set_halt()
468 ecr |= S3C_ECR_FLUSH; in s3c_hsudc_set_halt()
471 ecr &= ~S3C_ECR_STALL; in s3c_hsudc_set_halt()
474 writel(ecr, hsudc->regs + offset); in s3c_hsudc_set_halt()
647 u32 ecr; in s3c_hsudc_handle_ep0_intr() local
650 ecr = readl(hsudc->regs + S3C_EP0CR); in s3c_hsudc_handle_ep0_intr()
651 ecr &= ~(S3C_ECR_STALL | S3C_ECR_FLUSH); in s3c_hsudc_handle_ep0_intr()
652 writel(ecr, hsudc->regs + S3C_EP0CR); in s3c_hsudc_handle_ep0_intr()
[all …]
/linux-6.1.9/fs/ecryptfs/
Dcrypto.c270 struct extent_crypt_result *ecr = req->data; in extent_crypt_complete() local
275 ecr->rc = rc; in extent_crypt_complete()
276 complete(&ecr->completion); in extent_crypt_complete()
296 struct extent_crypt_result ecr; in crypt_scatterlist() local
306 init_completion(&ecr.completion); in crypt_scatterlist()
318 extent_crypt_complete, &ecr); in crypt_scatterlist()
338 struct extent_crypt_result *ecr = req->base.data; in crypt_scatterlist() local
340 wait_for_completion(&ecr->completion); in crypt_scatterlist()
341 rc = ecr->rc; in crypt_scatterlist()
342 reinit_completion(&ecr->completion); in crypt_scatterlist()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/net/can/m_can/
Dm_can.c663 unsigned int ecr; in __m_can_get_berr_counter() local
665 ecr = m_can_read(cdev, M_CAN_ECR); in __m_can_get_berr_counter()
666 bec->rxerr = FIELD_GET(ECR_REC_MASK, ecr); in __m_can_get_berr_counter()
667 bec->txerr = FIELD_GET(ECR_TEC_MASK, ecr); in __m_can_get_berr_counter()
710 unsigned int ecr; in m_can_handle_state_change() local
755 ecr = m_can_read(cdev, M_CAN_ECR); in m_can_handle_state_change()
756 if (ecr & ECR_RP) in m_can_handle_state_change()
/linux-6.1.9/arch/arc/include/asm/
Dentry-compact.h180 lr r10, [ecr]
Dentry-arcv2.h96 lr r10, [ecr]
/linux-6.1.9/drivers/net/can/
Dxilinx_can.c956 u32 ecr = priv->read_reg(priv, XCAN_ECR_OFFSET); in xcan_set_error_state() local
957 u32 txerr = ecr & XCAN_ECR_TEC_MASK; in xcan_set_error_state()
958 u32 rxerr = (ecr & XCAN_ECR_REC_MASK) >> XCAN_ESR_REC_SHIFT; in xcan_set_error_state()
/linux-6.1.9/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.1.9/arch/arc/kernel/
Dentry.S100 lr r2, [ecr]
/linux-6.1.9/drivers/net/vmxnet3/
Dvmxnet3_defs.h792 __le32 ecr; member
Dvmxnet3_drv.c202 u32 events = le32_to_cpu(adapter->shared->ecr); in vmxnet3_process_events()
2052 if (unlikely(adapter->shared->ecr)) in vmxnet3_do_poll()
2186 if (adapter->shared->ecr) in vmxnet3_msix_event()
/linux-6.1.9/drivers/net/can/flexcan/
Dflexcan-core.c225 u32 ecr; /* 0x1c */ member
711 u32 reg = priv->read(&regs->ecr); in __flexcan_get_berr_counter()