/external/u-boot/board/grinn/chiliboard/ |
D | board.c | 116 uint32_t mac_hi, mac_lo; in board_late_init() local 119 mac_lo = readl(&cdev->macid0l); in board_late_init() 125 mac_addr[4] = mac_lo & 0xFF; in board_late_init() 126 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_late_init() 135 mac_lo = readl(&cdev->macid1l); in board_late_init() 141 mac_addr[4] = mac_lo & 0xFF; in board_late_init() 142 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_late_init()
|
/external/u-boot/board/compulab/cl-som-am57x/ |
D | eth.c | 66 uint32_t mac_hi, mac_lo; in cl_som_am57x_efuse_read_mac_addr() local 69 mac_lo = readl((*ctrl)->control_core_mac_id_1_lo); in cl_som_am57x_efuse_read_mac_addr() 72 mac_lo = readl((*ctrl)->control_core_mac_id_0_lo); in cl_som_am57x_efuse_read_mac_addr() 79 buff[3] = (mac_lo & 0xFF0000) >> 16; in cl_som_am57x_efuse_read_mac_addr() 80 buff[4] = (mac_lo & 0xFF00) >> 8; in cl_som_am57x_efuse_read_mac_addr() 81 buff[5] = mac_lo & 0xFF; in cl_som_am57x_efuse_read_mac_addr()
|
/external/u-boot/board/tcl/sl50/ |
D | board.c | 310 uint32_t mac_hi, mac_lo; in board_eth_init() local 313 mac_lo = readl(&cdev->macid0l); in board_eth_init() 319 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 320 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init() 333 mac_lo = readl(&cdev->macid1l); in board_eth_init() 339 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 340 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/board/ti/ti816x/ |
D | evm.c | 38 uint32_t mac_hi, mac_lo; in board_eth_init() local 44 mac_lo = readl(&cdev->macid0l); in board_eth_init() 50 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 51 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/board/compulab/cm_t335/ |
D | cm_t335.c | 87 uint32_t mac_hi, mac_lo; in get_efuse_mac_addr() local 90 mac_lo = readl(&cdev->macid0l); in get_efuse_mac_addr() 96 enetaddr[4] = mac_lo & 0xFF; in get_efuse_mac_addr() 97 enetaddr[5] = (mac_lo & 0xFF00) >> 8; in get_efuse_mac_addr()
|
/external/u-boot/board/ti/ti814x/ |
D | evm.c | 167 uint32_t mac_hi, mac_lo; in board_eth_init() local 172 mac_lo = readl(&cdev->macid0l); in board_eth_init() 178 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 179 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/board/silica/pengwyn/ |
D | board.c | 172 uint32_t mac_hi, mac_lo; in board_eth_init() local 177 mac_lo = readl(&cdev->macid0l); in board_eth_init() 183 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 184 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/board/ti/am335x/ |
D | board.c | 705 uint32_t mac_hi, mac_lo; in board_late_init() local 740 mac_lo = readl(&cdev->macid0l); in board_late_init() 746 mac_addr[4] = mac_lo & 0xFF; in board_late_init() 747 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_late_init() 756 mac_lo = readl(&cdev->macid1l); in board_late_init() 762 mac_addr[4] = mac_lo & 0xFF; in board_late_init() 763 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_late_init() 852 uint32_t mac_hi, mac_lo; in board_eth_init() local 858 mac_lo = readl(&cdev->macid0l); in board_eth_init() 864 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() [all …]
|
/external/u-boot/board/phytec/pcm051/ |
D | board.c | 217 uint32_t mac_hi, mac_lo; in board_eth_init() local 222 mac_lo = readl(&cdev->macid0l); in board_eth_init() 228 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 229 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/board/gumstix/pepper/ |
D | board.c | 238 uint32_t mac_hi, mac_lo; in board_eth_init() local 243 mac_lo = readl(&cdev->macid0l); in board_eth_init() 249 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 250 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/board/isee/igep003x/ |
D | board.c | 264 uint32_t mac_hi, mac_lo; in board_eth_init() local 268 mac_lo = readl(&cdev->macid0l); in board_eth_init() 274 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 275 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/board/ti/am43xx/ |
D | board.c | 847 uint32_t mac_hi, mac_lo; in board_eth_init() local 850 mac_lo = readl(&cdev->macid0l); in board_eth_init() 856 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 857 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init() 865 mac_lo = readl(&cdev->macid1l); in board_eth_init() 871 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 872 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/drivers/net/ |
D | altera_tse.c | 456 u32 mac_lo, mac_hi; in altera_tse_write_hwaddr() local 458 mac_lo = (hwaddr[3] << 24) | (hwaddr[2] << 16) | in altera_tse_write_hwaddr() 461 debug("Set MAC address to 0x%04x%08x\n", mac_hi, mac_lo); in altera_tse_write_hwaddr() 463 writel(mac_lo, &mac_dev->mac_addr_0); in altera_tse_write_hwaddr() 465 writel(mac_lo, &mac_dev->supp_mac_addr_0_0); in altera_tse_write_hwaddr() 467 writel(mac_lo, &mac_dev->supp_mac_addr_1_0); in altera_tse_write_hwaddr() 469 writel(mac_lo, &mac_dev->supp_mac_addr_2_0); in altera_tse_write_hwaddr() 471 writel(mac_lo, &mac_dev->supp_mac_addr_3_0); in altera_tse_write_hwaddr()
|
D | davinci_emac.c | 113 unsigned long mac_lo; in davinci_eth_set_mac_addr() local 125 mac_lo = (dev->enetaddr[5] << 8) | in davinci_eth_set_mac_addr() 130 writel(mac_lo | EMAC_MAC_ADDR_IS_VALID | EMAC_MAC_ADDR_MATCH, in davinci_eth_set_mac_addr() 133 writel(mac_lo, &adap_emac->MACADDRLO); in davinci_eth_set_mac_addr() 141 writel(mac_lo, &adap_emac->MACSRCADDRLO); in davinci_eth_set_mac_addr()
|
D | keystone_net.c | 72 #define mac_lo(mac) (((mac)[4] << 0) | ((mac)[5] << 8)) macro 881 writel(mac_lo(pdata->enetaddr), in ks2_eth_write_hwaddr()
|
D | cpsw.c | 599 #define mac_lo(mac) (((mac)[4] << 0) | ((mac)[5] << 8)) macro 608 writel(mac_lo(pdata->enetaddr), &slave->regs->sa_lo); in cpsw_set_slave_mac() 611 __raw_writel(mac_lo(priv->dev->enetaddr), &slave->regs->sa_lo); in cpsw_set_slave_mac()
|
/external/u-boot/board/siemens/common/ |
D | factoryset.c | 277 uint32_t mac_hi, mac_lo; in factoryset_mac_env_set() local 280 mac_lo = readl(&cdev->macid0l); in factoryset_mac_env_set() 287 mac_addr[4] = mac_lo & 0xFF; in factoryset_mac_env_set() 288 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in factoryset_mac_env_set()
|
/external/u-boot/board/vscom/baltos/ |
D | board.c | 434 uint32_t mac_hi, mac_lo; in board_eth_init() local 444 mac_lo = readl(&cdev->macid1l); in board_eth_init() 450 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 451 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/board/ti/am57xx/ |
D | board.c | 1032 uint32_t mac_hi, mac_lo; in board_eth_init() local 1040 mac_lo = readl((*ctrl)->control_core_mac_id_0_lo); in board_eth_init() 1045 mac_addr[3] = (mac_lo & 0xFF0000) >> 16; in board_eth_init() 1046 mac_addr[4] = (mac_lo & 0xFF00) >> 8; in board_eth_init() 1047 mac_addr[5] = mac_lo & 0xFF; in board_eth_init() 1056 mac_lo = readl((*ctrl)->control_core_mac_id_1_lo); in board_eth_init() 1061 mac_addr[3] = (mac_lo & 0xFF0000) >> 16; in board_eth_init() 1062 mac_addr[4] = (mac_lo & 0xFF00) >> 8; in board_eth_init() 1063 mac_addr[5] = mac_lo & 0xFF; in board_eth_init()
|
/external/u-boot/board/bosch/shc/ |
D | board.c | 533 uint32_t mac_hi, mac_lo; in board_eth_init() local 536 mac_lo = readl(&cdev->macid0l); in board_eth_init() 542 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 543 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|
/external/u-boot/board/ti/dra7xx/ |
D | evm.c | 1067 uint32_t mac_hi, mac_lo; in board_eth_init() local 1071 mac_lo = readl((*ctrl)->control_core_mac_id_0_lo); in board_eth_init() 1076 mac_addr[3] = (mac_lo & 0xFF0000) >> 16; in board_eth_init() 1077 mac_addr[4] = (mac_lo & 0xFF00) >> 8; in board_eth_init() 1078 mac_addr[5] = mac_lo & 0xFF; in board_eth_init() 1087 mac_lo = readl((*ctrl)->control_core_mac_id_1_lo); in board_eth_init() 1092 mac_addr[3] = (mac_lo & 0xFF0000) >> 16; in board_eth_init() 1093 mac_addr[4] = (mac_lo & 0xFF00) >> 8; in board_eth_init() 1094 mac_addr[5] = mac_lo & 0xFF; in board_eth_init()
|
/external/u-boot/board/BuR/common/ |
D | common.c | 643 uint32_t mac_hi, mac_lo; in board_eth_init() local 645 mac_lo = readl(&cdev->macid0l); in board_eth_init() 651 mac_addr[4] = mac_lo & 0xFF; in board_eth_init() 652 mac_addr[5] = (mac_lo & 0xFF00) >> 8; in board_eth_init()
|