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.
204 /* Return ownership to EMAC */ in arc_emac_rx()
219 /* Return ownership to EMAC */ in arc_emac_rx()
232 /* Return ownership to EMAC */ in arc_emac_rx()
261 /* Return ownership to EMAC */ in arc_emac_rx()
292 * Under certain conditions EMAC stop reception of incoming packets and
295 * EMAC.
343 * arc_emac_intr - Global interrupt handler for EMAC.
349 * ARC EMAC has only 1 interrupt line, and depending on bits raised in
419 * for the EMAC device and starts the Tx queue.
463 /* Return ownership to EMAC */ in arc_emac_open()
494 /* Enable EMAC */ in arc_emac_open()
546 * This function must be called while EMAC disable
577 * This function must be called while EMAC disable
609 * the EMAC device.
610 * It also disconnects the PHY device associated with the EMAC device.
624 /* Disable EMAC */ in arc_emac_stop()
784 * arc_emac_restart - Restart EMAC
787 * This function do hardware reset of EMAC in order to restore
797 netdev_warn(ndev, "restarting stalled EMAC\n"); in arc_emac_restart()
804 /* Disable EMAC */ in arc_emac_restart()
823 /* Return ownership to EMAC */ in arc_emac_restart()
828 /* Make sure info is visible to EMAC before enable */ in arc_emac_restart()
834 /* Enable EMAC */ in arc_emac_restart()
871 /* Get EMAC registers base address from device tree */ in arc_emac_probe()
922 /* Check for EMAC revision 5 or 7, magic number */ in arc_emac_probe()
924 dev_err(dev, "ARC EMAC not detected, id=0x%x\n", id); in arc_emac_probe()
928 dev_info(dev, "ARC EMAC detected with id: 0x%x\n", id); in arc_emac_probe()
968 dev_dbg(dev, "EMAC Device addr: Rx Ring [0x%x], Tx Ring[%x]\n", in arc_emac_probe()
1031 MODULE_DESCRIPTION("ARC EMAC driver");