Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/cadence/
Dat91_ether.c54 static inline unsigned long at91_emac_read(unsigned int reg) in at91_emac_read() function
82 ctl = at91_emac_read(AT91_EMAC_CTL); in enable_mdi()
93 ctl = at91_emac_read(AT91_EMAC_CTL); in disable_mdi()
103 while (!(at91_emac_read(AT91_EMAC_SR) & AT91_EMAC_SR_IDLE)) { in at91_phy_wait()
137 *value = at91_emac_read(AT91_EMAC_MAN) & AT91_EMAC_DATA; in read_phy()
178 mac_cfg = at91_emac_read(AT91_EMAC_CFG) & ~(AT91_EMAC_SPD | AT91_EMAC_FD); in update_linkspeed()
458 if (unpack_mac_address(dev, at91_emac_read(AT91_EMAC_SA1H), at91_emac_read(AT91_EMAC_SA1L))) in get_mac_address()
461 if (unpack_mac_address(dev, at91_emac_read(AT91_EMAC_SA2H), at91_emac_read(AT91_EMAC_SA2L))) in get_mac_address()
464 if (unpack_mac_address(dev, at91_emac_read(AT91_EMAC_SA3H), at91_emac_read(AT91_EMAC_SA3L))) in get_mac_address()
467 if (unpack_mac_address(dev, at91_emac_read(AT91_EMAC_SA4H), at91_emac_read(AT91_EMAC_SA4L))) in get_mac_address()
[all …]