Lines Matching refs:dev_addr
972 (ndev->dev_addr[0] << 24) | (ndev->dev_addr[1] << 16) | in update_mac_address()
973 (ndev->dev_addr[2] << 8) | (ndev->dev_addr[3]), MAHR); in update_mac_address()
975 (ndev->dev_addr[4] << 8) | (ndev->dev_addr[5]), MALR); in update_mac_address()
988 memcpy(ndev->dev_addr, mac, ETH_ALEN); in read_mac_address()
990 ndev->dev_addr[0] = (sh_eth_read(ndev, MAHR) >> 24); in read_mac_address()
991 ndev->dev_addr[1] = (sh_eth_read(ndev, MAHR) >> 16) & 0xFF; in read_mac_address()
992 ndev->dev_addr[2] = (sh_eth_read(ndev, MAHR) >> 8) & 0xFF; in read_mac_address()
993 ndev->dev_addr[3] = (sh_eth_read(ndev, MAHR) & 0xFF); in read_mac_address()
994 ndev->dev_addr[4] = (sh_eth_read(ndev, MALR) >> 8) & 0xFF; in read_mac_address()
995 ndev->dev_addr[5] = (sh_eth_read(ndev, MALR) & 0xFF); in read_mac_address()
3162 if (!is_valid_ether_addr(ndev->dev_addr)) { in sh_eth_drv_probe()
3211 (u32)ndev->base_addr, ndev->dev_addr, ndev->irq); in sh_eth_drv_probe()