Home
last modified time | relevance | path

Searched full:mac_addr1 (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/u-boot/drivers/net/fm/
H A Dtgec.c72 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(&regs->mac_addr_1, mac_addr1); in tgec_set_mac_addr()
H A Dmemac.c53 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(&regs->mac_addr_1, mac_addr1); in memac_set_mac_addr()
H A Ddtsec.c95 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(&regs->macstnaddr1, mac_addr1); in dtsec_set_mac_addr()
/openbmc/u-boot/arch/arm/mach-imx/
H A Dmac.c17 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 Dboard_detect.c422 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 Dsunplus,sp7021-ocotp.yaml74 mac_addr1: mac-address1@3a {
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dsunplus,sp7021-emac.yaml125 nvmem-cells = <&mac_addr1>;
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.c1211 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 Dopencores_eth.c154 MAC_ADDR1, enumerator
384 miss = GET_REGFIELD(s, MAC_ADDR1, BYTE0) != buf[0] ||
385 GET_REGFIELD(s, MAC_ADDR1, BYTE1) != buf[1] ||
H A Dsungem.c150 #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 Dboard.c965 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 Dqlcnic_83xx_hw.h258 u8 mac_addr1; member
267 u8 mac_addr1;
H A Dqlcnic_sriov_pf.c827 mv.mac_addr1 = addr[1]; in qlcnic_sriov_cfg_vf_def_mac()
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/
H A Dgeneric.c266 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
/openbmc/u-boot/arch/arm/include/asm/arch-imx8m/
H A Dimx-regs.h244 u32 mac_addr1; member
/openbmc/linux/arch/arm/boot/dts/sunplus/
H A Dsunplus-sp7021.dtsi70 mac_addr1: mac-address1@3a { label
/openbmc/u-boot/drivers/net/
H A Dethoc.c40 #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 Duec.c667 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 Dethoc.c49 #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 Dimx-regs.h434 u32 mac_addr1; member
/openbmc/u-boot/arch/arm/include/asm/arch-mx6/
H A Dimx-regs.h803 u32 mac_addr1; member
/openbmc/u-boot/arch/arm/include/asm/arch-mx7/
H A Dimx-regs.h993 u32 mac_addr1; member
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsungem.h325 #define MAC_ADDR1 0x6084UL /* MAC Address 1 Register */ macro
H A Dsungem.c1823 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 Dqlge.h1025 u8 mac_addr1[6]; member

12