Searched refs:SK_REG (Results 1 – 4 of 4) sorted by relevance
/external/syslinux/gpxe/src/drivers/net/ |
D | skge.c | 146 skge_write32(hw, SK_REG(port, TX_LED_VAL), 0); in skge_led() 147 skge_write8(hw, SK_REG(port, TX_LED_CTRL), LED_T_OFF); in skge_led() 149 skge_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_OFF); in skge_led() 150 skge_write32(hw, SK_REG(port, RX_LED_VAL), 0); in skge_led() 151 skge_write8(hw, SK_REG(port, RX_LED_CTRL), LED_T_OFF); in skge_led() 155 skge_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_ON); in skge_led() 156 skge_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_LINKSYNC_ON); in skge_led() 158 skge_write8(hw, SK_REG(port, RX_LED_CTRL), LED_START); in skge_led() 159 skge_write8(hw, SK_REG(port, TX_LED_CTRL), LED_START); in skge_led() 164 skge_write8(hw, SK_REG(port, RX_LED_TST), LED_T_ON); in skge_led() [all …]
|
D | sky2.c | 259 sky2_write8(hw, SK_REG(port, GMAC_IRQ_MSK), 0); in sky2_gmac_reset() 444 sky2_write8(hw, SK_REG(port, GMAC_CTRL), GMC_PAUSE_ON); in sky2_phy_init() 446 sky2_write8(hw, SK_REG(port, GMAC_CTRL), GMC_PAUSE_OFF); in sky2_phy_init() 612 sky2_write8(hw, SK_REG(port, GPHY_CTRL), GPC_RST_CLR); in sky2_phy_power_up() 621 sky2_write8(hw, SK_REG(port, GPHY_CTRL), GPC_RST_CLR); in sky2_phy_power_down() 624 sky2_write8(hw, SK_REG(port, GMAC_CTRL), GMC_RST_CLR); in sky2_phy_power_down() 675 sky2_write32(hw, SK_REG(port, TX_GMF_CTRL_T), in sky2_set_tx_stfwd() 678 sky2_write32(hw, SK_REG(port, TX_GMF_CTRL_T), TX_STFW_ENA); in sky2_set_tx_stfwd() 689 sky2_write8(hw, SK_REG(port, GPHY_CTRL), GPC_RST_SET); in sky2_mac_init() 690 sky2_write8(hw, SK_REG(port, GPHY_CTRL), GPC_RST_CLR); in sky2_mac_init() [all …]
|
D | sky2.h | 575 #define SK_REG(port,reg) (((port)<<7)+(reg)) macro
|
D | skge.h | 2551 #define SK_REG(port,reg) (((port)<<7)+(u16)(reg)) macro
|