Home
last modified time | relevance | path

Searched refs:ievent (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c445 u32 ievent; in mpc52xx_fec_interrupt() local
447 ievent = in_be32(&fec->ievent); in mpc52xx_fec_interrupt()
449 ievent &= ~FEC_IEVENT_MII; /* mii is handled separately */ in mpc52xx_fec_interrupt()
450 if (!ievent) in mpc52xx_fec_interrupt()
453 out_be32(&fec->ievent, ievent); /* clear pending events */ in mpc52xx_fec_interrupt()
456 if (ievent & (FEC_IEVENT_RFIFO_ERROR | FEC_IEVENT_XFIFO_ERROR)) { in mpc52xx_fec_interrupt()
458 if (net_ratelimit() && (ievent & FEC_IEVENT_RFIFO_ERROR)) in mpc52xx_fec_interrupt()
460 if (net_ratelimit() && (ievent & FEC_IEVENT_XFIFO_ERROR)) in mpc52xx_fec_interrupt()
470 if (ievent & ~FEC_IEVENT_TFINT) in mpc52xx_fec_interrupt()
471 dev_dbg(&dev->dev, "ievent: %08x\n", ievent); in mpc52xx_fec_interrupt()
[all …]
Dfec_mpc52xx_phy.c37 out_be32(&fec->ievent, FEC_IEVENT_MII); in mpc52xx_fec_mdio_transfer()
41 while (!(in_be32(&fec->ievent) & FEC_IEVENT_MII) && --tries) in mpc52xx_fec_mdio_transfer()
Dgianfar.c518 gfar_write(&regs->ievent, IEVENT_INIT_CLEAR); in gfar_ints_disable()
2885 u32 imask, ievent; in gfar_receive() local
2887 ievent = gfar_read(&grp->regs->ievent); in gfar_receive()
2889 if (unlikely(ievent & IEVENT_FGPI)) { in gfar_receive()
2890 gfar_write(&grp->regs->ievent, IEVENT_FGPI); in gfar_receive()
2905 gfar_write(&grp->regs->ievent, IEVENT_RX_MASK); in gfar_receive()
2929 gfar_write(&grp->regs->ievent, IEVENT_TX_MASK); in gfar_transmit()
3190 gfar_write(&regs->ievent, IEVENT_RX_MASK); in gfar_poll_rx_sq()
3221 gfar_write(&regs->ievent, IEVENT_TX_MASK); in gfar_poll_tx_sq()
3253 gfar_write(&regs->ievent, IEVENT_RX_MASK); in gfar_poll_rx()
[all …]
Dgianfar.h675 u32 ievent; /* 0x.010 - Interrupt Event Register */ member
1276 return ((gfar_read(&regs->ievent) & (IEVENT_GRSC | IEVENT_GTSC)) == in gfar_is_dma_stopped()
1284 return gfar_read(&regs->ievent) & IEVENT_GRSC; in gfar_is_rx_dma_stopped()
Dfec_mpc52xx.h35 u32 ievent; /* FEC + 0x004 */ member
/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c316 FW(fecp, ievent, 0xffc0); in restart()
370 for (i = 0; ((FR(fecp, ievent) & 0x10000000) == 0) && in stop()
390 FW(fecp, ievent, FEC_ENET_MII); in stop()
400 FW(fecp, ievent, FEC_NAPI_EVENT_MSK); in napi_clear_event_fs()
440 return FR(fecp, ievent) & FR(fecp, imask); in get_int_events()
448 FW(fecp, ievent, int_events); in clear_int_events()
/drivers/net/ethernet/freescale/fman/
Dfman_memac.c189 u32 ievent; /* 0x040 Interrupt event */ member
467 iowrite32be(0xffffffff, &regs->ievent); in init()
641 event = ioread32be(&regs->ievent); in memac_err_exception()
651 iowrite32be(event, &regs->ievent); in memac_err_exception()
667 event = ioread32be(&regs->ievent); in memac_exception()
677 iowrite32be(event, &regs->ievent); in memac_exception()
Dfman_dtsec.c184 u32 ievent; /* 0x008 Interrupt event register */ member
494 iowrite32be(0xffffffff, &regs->ievent); in init()
682 event = ioread32be(&regs->ievent) & in dtsec_isr()
687 iowrite32be(event, &regs->ievent); in dtsec_isr()
762 if (ioread32be(&regs->ievent) & in dtsec_isr()
767 if (ioread32be(&regs->ievent) & in dtsec_isr()
770 &regs->ievent); in dtsec_isr()
Dfman_tgec.c118 u32 ievent; /* 0x064 Interrupt event */ member
262 iowrite32be(0xffffffff, &regs->ievent); in init()
361 event = ioread32be(&regs->ievent) & in tgec_err_exception()
367 iowrite32be(event, &regs->ievent); in tgec_err_exception()