Searched refs:gma_read16 (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/marvell/ |
D | sky2.c | 158 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL); in gm_phy_write() 184 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL); in __gm_phy_read() 189 *val = gma_read16(hw, port, GM_SMI_DATA); in __gm_phy_read() 294 reg = gma_read16(hw, port, GM_RX_CTRL); in sky2_gmac_reset() 775 reg = gma_read16(sky2->hw, sky2->port, GM_SERIAL_MODE); in sky2_set_ipg() 791 reg = gma_read16(hw, port, GM_GP_CTRL); in sky2_enable_rx_tx() 934 reg = gma_read16(hw, port, GM_PHY_ADDR); in sky2_mac_init() 938 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.c | 1911 if (!(gma_read16(hw, port, GM_SMI_CTRL) & GM_SMI_CT_BUSY)) in gm_phy_write() 1929 if (gma_read16(hw, port, GM_SMI_CTRL) & GM_SMI_CT_RD_VAL) in __gm_phy_read() 1935 *val = gma_read16(hw, port, GM_SMI_DATA); in __gm_phy_read() 2044 gma_read16(hw, port, GM_RX_CTRL) in yukon_reset() 2105 gma_read16(hw, port, GM_GP_CTRL) | reg); in yukon_mac_init() 2147 reg = gma_read16(hw, port, GM_PHY_ADDR); in yukon_mac_init() 2151 gma_read16(hw, port, GM_MIB_CNT_BASE + 8*i); in yukon_mac_init() 2242 gma_read16(hw, port, GM_GP_CTRL) in yukon_stop() 2244 gma_read16(hw, port, GM_GP_CTRL); in yukon_stop() 2311 reg = gma_read16(hw, port, GM_GP_CTRL); in yukon_link_up() [all …]
|
D | sky2.h | 2350 static inline u16 gma_read16(const struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read16() function
|
D | skge.h | 2555 static inline u16 gma_read16(const struct skge_hw *hw, int port, int reg) in gma_read16() function
|