Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/ !
Dsky2.h1899 static inline u16 sky2_read16(const struct sky2_hw *hw, unsigned reg) in sky2_read16() function
1931 return sky2_read16(hw, SK_GMAC_REG(port,reg)); in gma_read16()
1937 return (u32) sky2_read16(hw, base) in gma_read32()
1938 | (u32) sky2_read16(hw, base+4) << 16; in gma_read32()
1962 return sky2_read16(hw, Y2_CFG_SPC + reg); in sky2_pci_read16()
Dsky2.c195 vaux = (sky2_read16(hw, B0_CTST) & Y2_VAUX_AVAIL) && in sky2_set_power_state()
600 sky2_read16(hw, SK_REG(port, GMAC_IRQ_SRC)); in sky2_mac_init()
761 sky2_read16(hw, Y2_QADDR(q, PREF_UNIT_PUT_IDX)); in sky2_put_idx()
1672 report = sky2_read16(hw, sky2->port == 0 ? STAT_TXA1_RIDX : STAT_TXA2_RIDX); in sky2_tx_timeout()
1673 done = sky2_read16(hw, Q_ADDR(txq, Q_DONE)); in sky2_tx_timeout()
1870 return (hw->st_idx != sky2_read16(hw, STAT_PUT_IDX)); in sky2_more_work()
1879 u16 hwidx = sky2_read16(hw, STAT_PUT_IDX); in sky2_status_intr()
2791 ecmd->tx_max_coalesced_frames = sky2_read16(hw, STAT_TX_IDX_TH); in sky2_get_coalesce()