Searched refs:gma_read16 (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/marvell/ |
D | skge.c | 1904 if (!(gma_read16(hw, port, GM_SMI_CTRL) & GM_SMI_CT_BUSY)) in gm_phy_write() 1922 if (gma_read16(hw, port, GM_SMI_CTRL) & GM_SMI_CT_RD_VAL) in __gm_phy_read() 1928 *val = gma_read16(hw, port, GM_SMI_DATA); in __gm_phy_read() 2037 gma_read16(hw, port, GM_RX_CTRL) in yukon_reset() 2098 gma_read16(hw, port, GM_GP_CTRL) | reg); in yukon_mac_init() 2140 reg = gma_read16(hw, port, GM_PHY_ADDR); in yukon_mac_init() 2144 gma_read16(hw, port, GM_MIB_CNT_BASE + 8*i); in yukon_mac_init() 2235 gma_read16(hw, port, GM_GP_CTRL) in yukon_stop() 2237 gma_read16(hw, port, GM_GP_CTRL); in yukon_stop() 2304 reg = gma_read16(hw, port, GM_GP_CTRL); in yukon_link_up() [all …]
|
D | sky2.c | 159 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() 2079 ctrl = gma_read16(hw, port, GM_GP_CTRL); in sky2_hw_down() 2211 reg = gma_read16(hw, port, GM_GP_CTRL); in sky2_link_down() [all …]
|
D | skge.h | 2555 static inline u16 gma_read16(const struct skge_hw *hw, int port, int reg) in gma_read16() function
|
D | sky2.h | 2350 static inline u16 gma_read16(const struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read16() function
|