Home
last modified time | relevance | path

Searched refs:sky2_read16 (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/marvell/
Dsky2.h2320 static inline u16 sky2_read16(const struct sky2_hw *hw, unsigned reg) in sky2_read16() function
2352 return sky2_read16(hw, SK_GMAC_REG(port,reg)); in gma_read16()
2358 return (u32) sky2_read16(hw, base) in gma_read32()
2359 | (u32) sky2_read16(hw, base+4) << 16; in gma_read32()
2366 return (u64) sky2_read16(hw, base) in gma_read64()
2367 | (u64) sky2_read16(hw, base+4) << 16 in gma_read64()
2368 | (u64) sky2_read16(hw, base+8) << 32 in gma_read64()
2369 | (u64) sky2_read16(hw, base+12) << 48; in gma_read64()
2416 return sky2_read16(hw, Y2_CFG_SPC + reg); in sky2_pci_read16()
Dsky2.c924 sky2_read16(hw, SK_REG(port, GMAC_IRQ_SRC)); in sky2_mac_init()
1029 reg = sky2_read16(hw, SK_REG(port, TX_GMF_EA)); in sky2_mac_init()
2369 sky2_read16(hw, sky2->port == 0 ? STAT_TXA1_RIDX : STAT_TXA2_RIDX), in sky2_tx_timeout()
2370 sky2_read16(hw, Q_ADDR(txqaddr[sky2->port], Q_DONE))); in sky2_tx_timeout()
2918 u16 idx = sky2_read16(hw, Y2_QADDR(q, PREF_UNIT_GET_IDX)); in sky2_le_error()
2922 (unsigned) sky2_read16(hw, Y2_QADDR(q, PREF_UNIT_PUT_IDX))); in sky2_le_error()
3039 while ((idx = sky2_read16(hw, STAT_PUT_IDX)) != hw->st_idx) { in sky2_poll()
3239 status = sky2_read16(hw, HCU_CCSR); in sky2_reset()
3335 reg = sky2_read16(hw, GPHY_CTRL); in sky2_reset()
3339 reg = sky2_read16(hw, Y2_CFG_SPC + PCI_LDO_CTRL); in sky2_reset()
[all …]