Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/
Dskge.c1895 if (!(gma_read16(hw, port, GM_SMI_CTRL) & GM_SMI_CT_BUSY)) in gm_phy_write()
1913 if (gma_read16(hw, port, GM_SMI_CTRL) & GM_SMI_CT_RD_VAL) in __gm_phy_read()
1919 *val = gma_read16(hw, port, GM_SMI_DATA); in __gm_phy_read()
2028 gma_read16(hw, port, GM_RX_CTRL) in yukon_reset()
2089 gma_read16(hw, port, GM_GP_CTRL) | reg); in yukon_mac_init()
2131 reg = gma_read16(hw, port, GM_PHY_ADDR); in yukon_mac_init()
2135 gma_read16(hw, port, GM_MIB_CNT_BASE + 8*i); in yukon_mac_init()
2226 gma_read16(hw, port, GM_GP_CTRL) in yukon_stop()
2228 gma_read16(hw, port, GM_GP_CTRL); in yukon_stop()
2295 reg = gma_read16(hw, port, GM_GP_CTRL); in yukon_link_up()
[all …]
Dsky2.c168 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL); in gm_phy_write()
194 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL); in __gm_phy_read()
199 *val = gma_read16(hw, port, GM_SMI_DATA); in __gm_phy_read()
304 reg = gma_read16(hw, port, GM_RX_CTRL); in sky2_gmac_reset()
785 reg = gma_read16(sky2->hw, sky2->port, GM_SERIAL_MODE); in sky2_set_ipg()
801 reg = gma_read16(hw, port, GM_GP_CTRL); in sky2_enable_rx_tx()
944 reg = gma_read16(hw, port, GM_PHY_ADDR); in sky2_mac_init()
948 gma_read16(hw, port, i); in sky2_mac_init()
2097 ctrl = gma_read16(hw, port, GM_GP_CTRL); in sky2_hw_down()
2229 reg = gma_read16(hw, port, GM_GP_CTRL); in sky2_link_down()
[all …]
Dsky2.h2354 static inline u16 gma_read16(const struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read16() function
Dskge.h2560 static inline u16 gma_read16(const struct skge_hw *hw, int port, int reg) in gma_read16() function