Home
last modified time | relevance | path

Searched refs:int_events (Results 1 – 7 of 7) sorted by relevance

/drivers/char/
Dtlclk.c184 static int int_events; /* Event that generate a interrupt */ variable
880 int_events = inb(TLCLK_REG6); in tlclk_interrupt()
883 if (int_events & PRI_LOS_01_MASK) { in tlclk_interrupt()
891 if (int_events & PRI_LOS_10_MASK) { in tlclk_interrupt()
896 if (int_events & SEC_LOS_01_MASK) { in tlclk_interrupt()
903 if (int_events & SEC_LOS_10_MASK) { in tlclk_interrupt()
907 if (int_events & HOLDOVER_10_MASK) in tlclk_interrupt()
910 if (int_events & UNLOCK_01_MASK) in tlclk_interrupt()
913 if (int_events & UNLOCK_10_MASK) in tlclk_interrupt()
917 if (int_events & HOLDOVER_01_MASK) { in tlclk_interrupt()
/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c442 static void clear_int_events(struct net_device *dev, u32 int_events) in clear_int_events() argument
447 FW(fecp, ievent, int_events); in clear_int_events()
450 static void ev_error(struct net_device *dev, u32 int_events) in ev_error() argument
454 dev_warn(fep->dev, "FEC ERROR(s) 0x%x\n", int_events); in ev_error()
Dfs_enet-main.c445 u32 int_events; in fs_enet_interrupt() local
454 while ((int_events = (*fep->ops->get_int_events)(dev)) != 0) { in fs_enet_interrupt()
457 int_clr_events = int_events; in fs_enet_interrupt()
463 if (int_events & fep->ev_err) in fs_enet_interrupt()
464 (*fep->ops->ev_error)(dev, int_events); in fs_enet_interrupt()
466 if (int_events & fep->ev_rx) { in fs_enet_interrupt()
482 if (int_events & fep->ev_tx) in fs_enet_interrupt()
Dmac-scc.c419 static void clear_int_events(struct net_device *dev, u32 int_events) in clear_int_events() argument
424 W16(sccp, scc_scce, int_events & 0xffff); in clear_int_events()
427 static void ev_error(struct net_device *dev, u32 int_events) in ev_error() argument
431 dev_warn(fep->dev, "SCC ERROR(s) 0x%x\n", int_events); in ev_error()
Dmac-fcc.c469 static void clear_int_events(struct net_device *dev, u32 int_events) in clear_int_events() argument
474 W16(fccp, fcc_fcce, int_events & 0xffff); in clear_int_events()
477 static void ev_error(struct net_device *dev, u32 int_events) in ev_error() argument
481 dev_warn(fep->dev, "FS_ENET ERROR(s) 0x%x\n", int_events); in ev_error()
Dfs_enet.h90 void (*clear_int_events)(struct net_device *dev, u32 int_events);
91 void (*ev_error)(struct net_device *dev, u32 int_events);
/drivers/net/ethernet/freescale/
Dfec.c760 uint int_events; in fec_enet_interrupt() local
764 int_events = readl(fep->hwp + FEC_IEVENT); in fec_enet_interrupt()
765 writel(int_events, fep->hwp + FEC_IEVENT); in fec_enet_interrupt()
767 if (int_events & FEC_ENET_RXF) { in fec_enet_interrupt()
776 if (int_events & FEC_ENET_TXF) { in fec_enet_interrupt()
781 if (int_events & FEC_ENET_MII) { in fec_enet_interrupt()
785 } while (int_events); in fec_enet_interrupt()