Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/marvell/
Dskge.c1903 if (!(gma_read16(hw, port, GM_SMI_CTRL) & GM_SMI_CT_BUSY)) in gm_phy_write()
1921 if (gma_read16(hw, port, GM_SMI_CTRL) & GM_SMI_CT_RD_VAL) in __gm_phy_read()
1927 *val = gma_read16(hw, port, GM_SMI_DATA); in __gm_phy_read()
2036 gma_read16(hw, port, GM_RX_CTRL) in yukon_reset()
2097 gma_read16(hw, port, GM_GP_CTRL) | reg); in yukon_mac_init()
2139 reg = gma_read16(hw, port, GM_PHY_ADDR); in yukon_mac_init()
2143 gma_read16(hw, port, GM_MIB_CNT_BASE + 8*i); in yukon_mac_init()
2234 gma_read16(hw, port, GM_GP_CTRL) in yukon_stop()
2236 gma_read16(hw, port, GM_GP_CTRL); in yukon_stop()
2303 reg = gma_read16(hw, port, GM_GP_CTRL); in yukon_link_up()
[all …]
Dsky2.c159 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL); in gm_phy_write()
185 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL); in __gm_phy_read()
190 *val = gma_read16(hw, port, GM_SMI_DATA); in __gm_phy_read()
295 reg = gma_read16(hw, port, GM_RX_CTRL); in sky2_gmac_reset()
776 reg = gma_read16(sky2->hw, sky2->port, GM_SERIAL_MODE); in sky2_set_ipg()
792 reg = gma_read16(hw, port, GM_GP_CTRL); in sky2_enable_rx_tx()
935 reg = gma_read16(hw, port, GM_PHY_ADDR); in sky2_mac_init()
939 gma_read16(hw, port, i); in sky2_mac_init()
2080 ctrl = gma_read16(hw, port, GM_GP_CTRL); in sky2_hw_down()
2212 reg = gma_read16(hw, port, GM_GP_CTRL); in sky2_link_down()
[all …]
Dskge.h2561 static inline u16 gma_read16(const struct skge_hw *hw, int port, int reg) in gma_read16() function
Dsky2.h2356 static inline u16 gma_read16(const struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read16() function