Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c446 u32 ievent; in mpc52xx_fec_interrupt() local
448 ievent = in_be32(&fec->ievent); in mpc52xx_fec_interrupt()
450 ievent &= ~FEC_IEVENT_MII; /* mii is handled separately */ in mpc52xx_fec_interrupt()
451 if (!ievent) in mpc52xx_fec_interrupt()
454 out_be32(&fec->ievent, ievent); /* clear pending events */ in mpc52xx_fec_interrupt()
457 if (ievent & (FEC_IEVENT_RFIFO_ERROR | FEC_IEVENT_XFIFO_ERROR)) { in mpc52xx_fec_interrupt()
459 if (net_ratelimit() && (ievent & FEC_IEVENT_RFIFO_ERROR)) in mpc52xx_fec_interrupt()
461 if (net_ratelimit() && (ievent & FEC_IEVENT_XFIFO_ERROR)) in mpc52xx_fec_interrupt()
471 if (ievent & ~FEC_IEVENT_TFINT) in mpc52xx_fec_interrupt()
472 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.c384 gfar_write(&regs->ievent, IEVENT_INIT_CLEAR); in gfar_ints_disable()
2335 u32 imask, ievent; in gfar_receive() local
2337 ievent = gfar_read(&grp->regs->ievent); in gfar_receive()
2339 if (unlikely(ievent & IEVENT_FGPI)) { in gfar_receive()
2340 gfar_write(&grp->regs->ievent, IEVENT_FGPI); in gfar_receive()
2355 gfar_write(&grp->regs->ievent, IEVENT_RX_MASK); in gfar_receive()
2379 gfar_write(&grp->regs->ievent, IEVENT_TX_MASK); in gfar_transmit()
2651 gfar_write(&regs->ievent, IEVENT_RX_MASK); in gfar_poll_rx_sq()
2682 gfar_write(&regs->ievent, IEVENT_TX_MASK); in gfar_poll_tx_sq()
2714 gfar_write(&regs->ievent, IEVENT_RX_MASK); in gfar_poll_rx()
[all …]
Dgianfar.h639 u32 ievent; /* 0x.010 - Interrupt Event Register */ member
1240 return ((gfar_read(&regs->ievent) & (IEVENT_GRSC | IEVENT_GTSC)) == in gfar_is_dma_stopped()
1248 return gfar_read(&regs->ievent) & IEVENT_GRSC; in gfar_is_rx_dma_stopped()
Dfec_mpc52xx.h35 u32 ievent; /* FEC + 0x004 */ member
Dfec_main.c1796 uint ievent; in fec_enet_mdio_wait() local
1799 ret = readl_poll_timeout_atomic(fep->hwp + FEC_IEVENT, ievent, in fec_enet_mdio_wait()
1800 ievent & FEC_ENET_MII, 2, 30000); in fec_enet_mdio_wait()
/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c300 FW(fecp, ievent, 0xffc0); in restart()
354 for (i = 0; ((FR(fecp, ievent) & 0x10000000) == 0) && in stop()
374 FW(fecp, ievent, FEC_ENET_MII); in stop()
384 FW(fecp, ievent, FEC_NAPI_EVENT_MSK); in napi_clear_event_fs()
424 return FR(fecp, ievent) & FR(fecp, imask); in get_int_events()
432 FW(fecp, ievent, int_events); in clear_int_events()
/drivers/net/ethernet/freescale/fman/
Dfman_memac.c190 u32 ievent; /* 0x040 Interrupt event */ member
472 iowrite32be(0xffffffff, &regs->ievent); in init()
642 event = ioread32be(&regs->ievent); in memac_err_exception()
652 iowrite32be(event, &regs->ievent); in memac_err_exception()
668 event = ioread32be(&regs->ievent); in memac_exception()
678 iowrite32be(event, &regs->ievent); in memac_exception()
Dfman_dtsec.c186 u32 ievent; /* 0x008 Interrupt event register */ member
515 iowrite32be(0xffffffff, &regs->ievent); in init()
685 event = ioread32be(&regs->ievent) & in dtsec_isr()
690 iowrite32be(event, &regs->ievent); in dtsec_isr()
765 if (ioread32be(&regs->ievent) & in dtsec_isr()
770 if (ioread32be(&regs->ievent) & in dtsec_isr()
773 &regs->ievent); in dtsec_isr()
Dfman_tgec.c119 u32 ievent; /* 0x064 Interrupt event */ member
264 iowrite32be(0xffffffff, &regs->ievent); in init()
359 event = ioread32be(&regs->ievent) & in tgec_err_exception()
365 iowrite32be(event, &regs->ievent); in tgec_err_exception()