/openbmc/u-boot/drivers/net/fm/ |
H A D | tgec.c | 72 u32 mac_addr0, mac_addr1; in tgec_set_mac_addr() local 76 * MAC_ADDR0 of 0x78563412, MAC_ADDR1 of 0x0000CDAB in tgec_set_mac_addr() 82 mac_addr1 = ((mac_addr[5] << 8) | mac_addr[4]) & 0x0000ffff; in tgec_set_mac_addr() 83 out_be32(®s->mac_addr_1, mac_addr1); in tgec_set_mac_addr()
|
H A D | memac.c | 53 u32 mac_addr0, mac_addr1; in memac_set_mac_addr() local 57 * MAC_ADDR0 of 0x78563412, MAC_ADDR1 of 0x0000CDAB in memac_set_mac_addr() 63 mac_addr1 = ((mac_addr[5] << 8) | mac_addr[4]) & 0x0000ffff; in memac_set_mac_addr() 64 out_be32(®s->mac_addr_1, mac_addr1); in memac_set_mac_addr()
|
H A D | dtsec.c | 95 u32 mac_addr1, mac_addr2; in dtsec_set_mac_addr() local 101 mac_addr1 = (mac_addr[5] << 24) | (mac_addr[4] << 16) | \ in dtsec_set_mac_addr() 103 out_be32(®s->macstnaddr1, mac_addr1); in dtsec_set_mac_addr()
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | mac.c | 17 u32 mac_addr1; member 44 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse() 49 u32 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
|
/openbmc/u-boot/board/ti/common/ |
H A D | board_detect.c | 422 u8 mac_addr1[6], mac_addr2[6]; in board_ti_set_ethaddr() local 428 board_ti_get_eth_mac_addr(0, mac_addr1); in board_ti_set_ethaddr() 431 if (is_valid_ethaddr(mac_addr1) && is_valid_ethaddr(mac_addr2)) { in board_ti_set_ethaddr() 432 mac1 = mac_to_u64(mac_addr1); in board_ti_set_ethaddr()
|
/openbmc/linux/Documentation/devicetree/bindings/nvmem/ |
H A D | sunplus,sp7021-ocotp.yaml | 74 mac_addr1: mac-address1@3a {
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | sunplus,sp7021-emac.yaml | 125 nvmem-cells = <&mac_addr1>;
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-nvm-parse.c | 1211 static void iwl_flip_hw_address(__le32 mac_addr0, __le32 mac_addr1, u8 *dest) in iwl_flip_hw_address() argument 1221 hw_addr = (const u8 *)&mac_addr1; in iwl_flip_hw_address() 1231 __le32 mac_addr1 = cpu_to_le32(iwl_read32(trans, in iwl_set_hw_address_from_csr() local 1234 iwl_flip_hw_address(mac_addr0, mac_addr1, data->hw_addr); in iwl_set_hw_address_from_csr() 1243 mac_addr1 = cpu_to_le32(iwl_read32(trans, CSR_MAC_ADDR1_OTP(trans))); in iwl_set_hw_address_from_csr() 1245 iwl_flip_hw_address(mac_addr0, mac_addr1, data->hw_addr); in iwl_set_hw_address_from_csr() 1286 __le32 mac_addr1 = cpu_to_le32(iwl_trans_read_prph(trans, in iwl_set_hw_address_family_8000() local 1289 iwl_flip_hw_address(mac_addr0, mac_addr1, data->hw_addr); in iwl_set_hw_address_family_8000()
|
/openbmc/qemu/hw/net/ |
H A D | opencores_eth.c | 154 MAC_ADDR1, enumerator 384 miss = GET_REGFIELD(s, MAC_ADDR1, BYTE0) != buf[0] || 385 GET_REGFIELD(s, MAC_ADDR1, BYTE1) != buf[1] ||
|
H A D | sungem.c | 150 #define MAC_ADDR1 0x0084UL /* MAC Address 1 Register */ macro 538 s->macregs[MAC_ADDR1 >> 2], in sungem_check_rx_mac() 542 mac1 == s->macregs[MAC_ADDR1 >> 2] && in sungem_check_rx_mac() 747 s->macregs[MAC_ADDR1 >> 2] = (ma[2] << 8) | ma[3]; in sungem_reset_all()
|
/openbmc/u-boot/board/ti/am57xx/ |
H A D | board.c | 965 u8 mac_addr1[6], mac_addr2[6]; in board_eth_init() local 1018 board_ti_get_eth_mac_addr(0, mac_addr1); in board_eth_init() 1021 if (is_valid_ethaddr(mac_addr1) && is_valid_ethaddr(mac_addr2)) { in board_eth_init() 1022 mac1 = mac_to_u64(mac_addr1); in board_eth_init()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_hw.h | 258 u8 mac_addr1; member 267 u8 mac_addr1;
|
H A D | qlcnic_sriov_pf.c | 827 mv.mac_addr1 = addr[1]; in qlcnic_sriov_cfg_vf_def_mac()
|
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/ |
H A D | generic.c | 266 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
|
/openbmc/u-boot/arch/arm/include/asm/arch-imx8m/ |
H A D | imx-regs.h | 244 u32 mac_addr1; member
|
/openbmc/linux/arch/arm/boot/dts/sunplus/ |
H A D | sunplus-sp7021.dtsi | 70 mac_addr1: mac-address1@3a { label
|
/openbmc/u-boot/drivers/net/ |
H A D | ethoc.c | 40 #define MAC_ADDR1 0x44 macro 236 ethoc_write(priv, MAC_ADDR1, (mac[0] << 8) | (mac[1] << 0)); in ethoc_write_hwaddr_common()
|
/openbmc/u-boot/drivers/qe/ |
H A D | uec.c | 667 u32 mac_addr1; in uec_set_mac_address() local 681 mac_addr1 = (mac_addr[5] << 24) | (mac_addr[4] << 16) | \ in uec_set_mac_address() 683 out_be32(&uec_regs->macstnaddr1, mac_addr1); in uec_set_mac_address()
|
/openbmc/linux/drivers/net/ethernet/ |
H A D | ethoc.c | 49 #define MAC_ADDR1 0x44 macro 601 reg = ethoc_read(priv, MAC_ADDR1); in ethoc_get_mac_address() 810 ethoc_write(priv, MAC_ADDR1, (mac[0] << 8) | (mac[1] << 0)); in ethoc_do_set_mac_address()
|
/openbmc/u-boot/arch/arm/include/asm/arch-vf610/ |
H A D | imx-regs.h | 434 u32 mac_addr1; member
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx6/ |
H A D | imx-regs.h | 803 u32 mac_addr1; member
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx7/ |
H A D | imx-regs.h | 993 u32 mac_addr1; member
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sungem.h | 325 #define MAC_ADDR1 0x6084UL /* MAC Address 1 Register */ macro
|
H A D | sungem.c | 1823 writel((e[2] << 8) | e[3], gp->regs + MAC_ADDR1); in gem_init_mac() 2440 writel((e[2] << 8) | e[3], gp->regs + MAC_ADDR1); in gem_set_mac_address()
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge.h | 1025 u8 mac_addr1[6]; member
|