Home
last modified time | relevance | path

Searched refs:SK_REG (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dskge.c583 skge_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_OFF); in skge_led()
584 skge_write32(hw, SK_REG(port, RX_LED_VAL), 0); in skge_led()
585 skge_write8(hw, SK_REG(port, RX_LED_CTRL), LED_T_OFF); in skge_led()
589 skge_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_ON); in skge_led()
590 skge_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_LINKSYNC_ON); in skge_led()
592 skge_write8(hw, SK_REG(port, RX_LED_CTRL), LED_START); in skge_led()
593 skge_write8(hw, SK_REG(port, TX_LED_CTRL), LED_START); in skge_led()
598 skge_write8(hw, SK_REG(port, RX_LED_TST), LED_T_ON); in skge_led()
599 skge_write32(hw, SK_REG(port, RX_LED_VAL), 100); in skge_led()
600 skge_write8(hw, SK_REG(port, RX_LED_CTRL), LED_START); in skge_led()
[all …]
Dsky2.c284 sky2_write8(hw, SK_REG(port, GMAC_IRQ_MSK), 0); in sky2_phy_reset()
542 sky2_write32(hw, SK_REG(port, GPHY_CTRL), GPC_RST_SET); in sky2_mac_init()
543 sky2_write32(hw, SK_REG(port, GPHY_CTRL), GPC_RST_CLR|GPC_ENA_PAUSE); in sky2_mac_init()
545 sky2_write8(hw, SK_REG(port, GMAC_CTRL), GMC_RST_CLR); in sky2_mac_init()
550 sky2_write8(hw, SK_REG(0, GMAC_CTRL), GMC_RST_CLR); in sky2_mac_init()
552 sky2_write8(hw, SK_REG(1, GMAC_CTRL), GMC_RST_SET); in sky2_mac_init()
553 sky2_write8(hw, SK_REG(1, GMAC_CTRL), GMC_RST_CLR); in sky2_mac_init()
590 sky2_write32(hw, SK_REG(port, GMAC_CTRL), GMC_PAUSE_OFF); in sky2_mac_init()
600 sky2_read16(hw, SK_REG(port, GMAC_IRQ_SRC)); in sky2_mac_init()
652 sky2_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_RST_CLR); in sky2_mac_init()
[all …]
Dsky2.h457 #define SK_REG(port,reg) (((port)<<7)+(reg)) macro
Dskge.h2474 #define SK_REG(port,reg) (((port)<<7)+(reg)) macro