Home
last modified time | relevance | path

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

/Linux-v5.4/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.c382 gfar_write(&regs->ievent, IEVENT_INIT_CLEAR); in gfar_ints_disable()
2330 u32 imask, ievent; in gfar_receive() local
2332 ievent = gfar_read(&grp->regs->ievent); in gfar_receive()
2334 if (unlikely(ievent & IEVENT_FGPI)) { in gfar_receive()
2335 gfar_write(&grp->regs->ievent, IEVENT_FGPI); in gfar_receive()
2350 gfar_write(&grp->regs->ievent, IEVENT_RX_MASK); in gfar_receive()
2374 gfar_write(&grp->regs->ievent, IEVENT_TX_MASK); in gfar_transmit()
2631 gfar_write(&regs->ievent, IEVENT_RX_MASK); in gfar_poll_rx_sq()
2662 gfar_write(&regs->ievent, IEVENT_TX_MASK); in gfar_poll_tx_sq()
2694 gfar_write(&regs->ievent, IEVENT_RX_MASK); in gfar_poll_rx()
[all …]
Dfec_mpc52xx.h35 u32 ievent; /* FEC + 0x004 */ member
Dgianfar.h640 u32 ievent; /* 0x.010 - Interrupt Event Register */ member
1241 return ((gfar_read(&regs->ievent) & (IEVENT_GRSC | IEVENT_GTSC)) == in gfar_is_dma_stopped()
1249 return gfar_read(&regs->ievent) & IEVENT_GRSC; in gfar_is_rx_dma_stopped()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dfman_memac.c190 u32 ievent; /* 0x040 Interrupt event */ member
472 iowrite32be(0xffffffff, &regs->ievent); in init()
646 event = ioread32be(&regs->ievent); in memac_err_exception()
656 iowrite32be(event, &regs->ievent); in memac_err_exception()
672 event = ioread32be(&regs->ievent); in memac_exception()
682 iowrite32be(event, &regs->ievent); in memac_exception()
Dfman_dtsec.c186 u32 ievent; /* 0x008 Interrupt event register */ member
502 iowrite32be(0xffffffff, &regs->ievent); in init()
690 event = ioread32be(&regs->ievent) & in dtsec_isr()
695 iowrite32be(event, &regs->ievent); in dtsec_isr()
770 if (ioread32be(&regs->ievent) & in dtsec_isr()
775 if (ioread32be(&regs->ievent) & in dtsec_isr()
778 &regs->ievent); in dtsec_isr()
Dfman_tgec.c119 u32 ievent; /* 0x064 Interrupt event */ member
264 iowrite32be(0xffffffff, &regs->ievent); in init()
363 event = ioread32be(&regs->ievent) & in tgec_err_exception()
369 iowrite32be(event, &regs->ievent); in tgec_err_exception()
/Linux-v5.4/tools/perf/tests/
Dattr.py295 for iname, ievent in events.items():
296 if (ievent['fd'] == group_fd):