Lines Matching full:emac

5  * Driver for the ARC EMAC 10100 (hardware revision 5)
24 #include "emac.h"
30 * @priv: Pointer to ARC EMAC private data structure.
82 * arc_emac_get_drvinfo - Get EMAC driver information.
107 * arc_emac_tx_clean - clears processed by EMAC Tx BDs.
206 /* Return ownership to EMAC */ in arc_emac_rx()
221 /* Return ownership to EMAC */ in arc_emac_rx()
234 /* Return ownership to EMAC */ in arc_emac_rx()
263 /* Return ownership to EMAC */ in arc_emac_rx()
294 * Under certain conditions EMAC stop reception of incoming packets and
297 * EMAC.
345 * arc_emac_intr - Global interrupt handler for EMAC.
351 * ARC EMAC has only 1 interrupt line, and depending on bits raised in
421 * 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
581 * This function must be called while EMAC disable
614 * the EMAC device.
615 * It also disconnects the PHY device associated with the EMAC device.
629 /* Disable EMAC */ in arc_emac_stop()
789 * arc_emac_restart - Restart EMAC
792 * This function do hardware reset of EMAC in order to restore
802 netdev_warn(ndev, "restarting stalled EMAC\n"); in arc_emac_restart()
809 /* Disable EMAC */ in arc_emac_restart()
828 /* Return ownership to EMAC */ in arc_emac_restart()
833 /* Make sure info is visible to EMAC before enable */ in arc_emac_restart()
839 /* Enable EMAC */ in arc_emac_restart()
875 /* Get EMAC registers base address from device tree */ in arc_emac_probe()
926 /* Check for EMAC revision 5 or 7, magic number */ in arc_emac_probe()
928 dev_err(dev, "ARC EMAC not detected, id=0x%x\n", id); in arc_emac_probe()
932 dev_info(dev, "ARC EMAC detected with id: 0x%x\n", id); in arc_emac_probe()
969 dev_dbg(dev, "EMAC Device addr: Rx Ring [0x%x], Tx Ring[%x]\n", in arc_emac_probe()
1031 MODULE_DESCRIPTION("ARC EMAC driver");