• Home
  • Raw
  • Download

Lines Matching full:emac

8  * Driver for the ARC EMAC 10100 (hardware revision 5)
27 #include "emac.h"
33 * @priv: Pointer to ARC EMAC private data structure.
85 * arc_emac_get_drvinfo - Get EMAC driver information.
111 * arc_emac_tx_clean - clears processed by EMAC Tx BDs.
208 /* Return ownership to EMAC */ in arc_emac_rx()
223 /* Return ownership to EMAC */ in arc_emac_rx()
236 /* Return ownership to EMAC */ in arc_emac_rx()
265 /* Return ownership to EMAC */ in arc_emac_rx()
296 * Under certain conditions EMAC stop reception of incoming packets and
299 * EMAC.
347 * arc_emac_intr - Global interrupt handler for EMAC.
353 * ARC EMAC has only 1 interrupt line, and depending on bits raised in
423 * for the EMAC device and starts the Tx queue.
466 /* Return ownership to EMAC */ in arc_emac_open()
497 /* Enable EMAC */ in arc_emac_open()
549 * This function must be called while EMAC disable
580 * This function must be called while EMAC disable
612 * the EMAC device.
613 * It also disconnects the PHY device associated with the EMAC device.
627 /* Disable EMAC */ in arc_emac_stop()
799 * arc_emac_restart - Restart EMAC
802 * This function do hardware reset of EMAC in order to restore
812 netdev_warn(ndev, "restarting stalled EMAC\n"); in arc_emac_restart()
819 /* Disable EMAC */ in arc_emac_restart()
838 /* Return ownership to EMAC */ in arc_emac_restart()
843 /* Make sure info is visible to EMAC before enable */ in arc_emac_restart()
849 /* Enable EMAC */ in arc_emac_restart()
886 /* Get EMAC registers base address from device tree */ in arc_emac_probe()
937 /* Check for EMAC revision 5 or 7, magic number */ in arc_emac_probe()
939 dev_err(dev, "ARC EMAC not detected, id=0x%x\n", id); in arc_emac_probe()
943 dev_info(dev, "ARC EMAC detected with id: 0x%x\n", id); in arc_emac_probe()
983 dev_dbg(dev, "EMAC Device addr: Rx Ring [0x%x], Tx Ring[%x]\n", in arc_emac_probe()
1046 MODULE_DESCRIPTION("ARC EMAC driver");