Searched refs:XGMAC_CONTROL (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/vfio/platform/reset/
H A Dvfio_platform_calxedaxgmac.c34 #define XGMAC_CONTROL 0x00000000 /* MAC Configuration */ macro
55 value = readl(ioaddr + XGMAC_CONTROL); xgmac_mac_disable()
57 writel(value, ioaddr + XGMAC_CONTROL); xgmac_mac_disable()
/linux-4.4.14/drivers/net/ethernet/calxeda/
H A Dxgmac.c30 #define XGMAC_CONTROL 0x00000000 /* MAC Configuration */ macro
600 u32 value = readl(ioaddr + XGMAC_CONTROL); xgmac_mac_enable()
602 writel(value, ioaddr + XGMAC_CONTROL); xgmac_mac_enable()
615 value = readl(ioaddr + XGMAC_CONTROL); xgmac_mac_disable()
617 writel(value, ioaddr + XGMAC_CONTROL); xgmac_mac_disable()
960 ctrl = readl(ioaddr + XGMAC_CONTROL) & XGMAC_CONTROL_SPD_MASK; xgmac_hw_init()
989 writel(ctrl, ioaddr + XGMAC_CONTROL); xgmac_hw_init()
1522 ctrl = readl(ioaddr + XGMAC_CONTROL); xgmac_set_features()
1527 writel(ctrl, ioaddr + XGMAC_CONTROL); xgmac_set_features()

Completed in 274 milliseconds