Lines Matching refs:atmel_read16
647 static inline u16 atmel_read16(struct net_device *dev, u16 offset)
672 return atmel_read16(priv->dev, DR);
3635 mr1 = atmel_read16(priv->dev, MR1);
3636 mr3 = atmel_read16(priv->dev, MR3);
3650 if ((priv->host_info_base = atmel_read16(priv->dev, MR2)) == 0xffff) {
3663 mr1 = atmel_read16(priv->dev, MR1);
3664 mr3 = atmel_read16(priv->dev, MR3);
3681 !(atmel_read16(priv->dev, MR3) & MAC_INIT_OK)) {
3686 !(atmel_read16(priv->dev, MR1) & MAC_INIT_OK)) {
3725 if (atmel_read16(dev, MR2) == 0) {
3736 if (atmel_read16(dev, MR3) & MAC_BOOT_COMPLETE)
3741 atmel_copy_to_host(dev, dev->dev_addr, atmel_read16(dev, MR2), 6);
3749 } else if (atmel_read16(dev, MR4) == 0) {
4217 u16 hw = atmel_read16(dev, DR);