Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
308 init_completion(&ecr.completion); in crypt_scatterlist()
320 extent_crypt_complete, &ecr); in crypt_scatterlist()
340 struct extent_crypt_result *ecr = req->base.data; in crypt_scatterlist() local
342 wait_for_completion(&ecr->completion); in crypt_scatterlist()
343 rc = ecr->rc; in crypt_scatterlist()
344 reinit_completion(&ecr->completion); in crypt_scatterlist()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/misc/
Duss720.c434 s->u.pc.ecr = 0x24; in parport_uss720_init_state()
446 s->u.pc.ecr = priv->reg[2]; in parport_uss720_save_state()
454 set_1284_register(pp, 6, s->u.pc.ecr, GFP_ATOMIC); in parport_uss720_restore_state()
457 priv->reg[2] = s->u.pc.ecr; in parport_uss720_restore_state()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_esai.c271 u32 ratio, ecr = 0; in fsl_esai_set_dai_sysclk() local
301 ecr |= ESAI_ECR_ETI; in fsl_esai_set_dai_sysclk()
304 ecr |= esai_priv->synchronous ? ESAI_ECR_ETI : ESAI_ECR_ERI; in fsl_esai_set_dai_sysclk()
335 ecr |= tx ? ESAI_ECR_ETO : ESAI_ECR_ERO; in fsl_esai_set_dai_sysclk()
356 ESAI_ECR_ERI | ESAI_ECR_ERO, ecr); in fsl_esai_set_dai_sysclk()
/kernel/linux/linux-5.10/drivers/net/can/m_can/
Dm_can.c602 unsigned int ecr; in __m_can_get_berr_counter() local
604 ecr = m_can_read(cdev, M_CAN_ECR); in __m_can_get_berr_counter()
605 bec->rxerr = (ecr & ECR_REC_MASK) >> ECR_REC_SHIFT; in __m_can_get_berr_counter()
606 bec->txerr = (ecr & ECR_TEC_MASK) >> ECR_TEC_SHIFT; in __m_can_get_berr_counter()
658 unsigned int ecr; in m_can_handle_state_change() local
702 ecr = m_can_read(cdev, M_CAN_ECR); in m_can_handle_state_change()
703 if (ecr & ECR_RP) in m_can_handle_state_change()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dentry-compact.h188 lr r10, [ecr]
Dentry-arcv2.h96 lr r10, [ecr]
/kernel/linux/linux-5.10/drivers/net/can/
Dxilinx_can.c920 u32 ecr = priv->read_reg(priv, XCAN_ECR_OFFSET); in xcan_set_error_state() local
921 u32 txerr = ecr & XCAN_ECR_TEC_MASK; in xcan_set_error_state()
922 u32 rxerr = (ecr & XCAN_ECR_REC_MASK) >> XCAN_ESR_REC_SHIFT; in xcan_set_error_state()
Dflexcan.c262 u32 ecr; /* 0x1c */ member
722 u32 reg = priv->read(&regs->ecr); in __flexcan_get_berr_counter()
/kernel/linux/linux-5.10/arch/arc/kernel/
Dentry.S100 lr r2, [ecr]
/kernel/linux/linux-5.10/drivers/net/vmxnet3/
Dvmxnet3_defs.h728 __le32 ecr; member
Dvmxnet3_drv.c176 u32 events = le32_to_cpu(adapter->shared->ecr); in vmxnet3_process_events()
1937 if (unlikely(adapter->shared->ecr)) in vmxnet3_do_poll()
2071 if (adapter->shared->ecr) in vmxnet3_msix_event()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dmos7720.c612 s->u.pc.ecr = ECR_INIT_VAL; in parport_mos7715_init_state()
628 s->u.pc.ecr = mos_parport->shadowECR; in parport_mos7715_save_state()
645 mos_parport->shadowECR = s->u.pc.ecr; in parport_mos7715_restore_state()
/kernel/linux/linux-5.10/arch/arc/mm/
Dtlbex.S359 lr r3, [ecr]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch9947 + u32 ecr = readl(base + EMAC_ECNTRL_REG) & ~EMAC_ECNTRL_SPEED;
9956 + ecr |= EMAC_ECNTRL_SPEED;
9964 + writel(ecr, (base + EMAC_ECNTRL_REG));