Home
last modified time | relevance | path

Searched full:mac_addr0 (Results 1 – 23 of 23) sorted by relevance

/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()
78 mac_addr0 = (mac_addr[3] << 24) | (mac_addr[2] << 16) | \ in tgec_set_mac_addr()
80 out_be32(&regs->mac_addr_0, mac_addr0); 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()
59 mac_addr0 = (mac_addr[3] << 24) | (mac_addr[2] << 16) | \ in memac_set_mac_addr()
61 out_be32(&regs->mac_addr_0, mac_addr0); in memac_set_mac_addr()
/openbmc/u-boot/arch/arm/mach-imx/
H A Dmac.c15 u32 mac_addr0; member
54 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
/openbmc/qemu/hw/net/
H A Dopencores_eth.c153 MAC_ADDR0, enumerator
386 GET_REGFIELD(s, MAC_ADDR0, BYTE2) != buf[2] ||
387 GET_REGFIELD(s, MAC_ADDR0, BYTE3) != buf[3] ||
388 GET_REGFIELD(s, MAC_ADDR0, BYTE4) != buf[4] ||
389 GET_REGFIELD(s, MAC_ADDR0, BYTE5) != buf[5];
H A Dsungem.c149 #define MAC_ADDR0 0x0080UL /* MAC Address 0 Register */ macro
537 trace_sungem_rx_mac_compare(s->macregs[MAC_ADDR0 >> 2], in sungem_check_rx_mac()
541 if (mac0 == s->macregs[MAC_ADDR0 >> 2] && in sungem_check_rx_mac()
746 s->macregs[MAC_ADDR0 >> 2] = (ma[4] << 8) | ma[5]; in sungem_reset_all()
/openbmc/linux/Documentation/devicetree/bindings/nvmem/
H A Dsunplus,sp7021-ocotp.yaml71 mac_addr0: mac-address0@34 {
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dsunplus,sp7021-emac.yaml117 nvmem-cells = <&mac_addr0>;
/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
1215 hw_addr = (const u8 *)&mac_addr0; in iwl_flip_hw_address()
1229 __le32 mac_addr0 = 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()
1242 mac_addr0 = cpu_to_le32(iwl_read32(trans, CSR_MAC_ADDR0_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()
1284 __le32 mac_addr0 = 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/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.h257 u8 mac_addr0; member
268 u8 mac_addr0;
H A Dqlcnic_sriov_pf.c826 mv.mac_addr0 = addr[0]; in qlcnic_sriov_cfg_vf_def_mac()
H A Dqlcnic_83xx_hw.c2122 mv.mac_addr0 = addr[0]; in qlcnic_83xx_sre_macaddr_change()
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/
H A Dgeneric.c262 u32 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
/openbmc/u-boot/arch/arm/include/asm/arch-imx8m/
H A Dimx-regs.h242 u32 mac_addr0; member
/openbmc/linux/arch/arm/boot/dts/sunplus/
H A Dsunplus-sp7021.dtsi67 mac_addr0: mac-address0@34 { label
/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_memac.c127 struct mac_addr mac_addr0; /* 0x00C-0x010 MAC_ADDR_0...1 */ member
310 iowrite32be(tmp0, &regs->mac_addr0.mac_addr_l); in add_addr_in_paddr()
311 iowrite32be(tmp1, &regs->mac_addr0.mac_addr_u); in add_addr_in_paddr()
/openbmc/u-boot/drivers/net/
H A Dethoc.c39 #define MAC_ADDR0 0x40 macro
234 ethoc_write(priv, MAC_ADDR0, (mac[2] << 24) | (mac[3] << 16) | in ethoc_write_hwaddr_common()
/openbmc/linux/drivers/net/ethernet/
H A Dethoc.c48 #define MAC_ADDR0 0x40 macro
595 reg = ethoc_read(priv, MAC_ADDR0); in ethoc_get_mac_address()
808 ethoc_write(priv, MAC_ADDR0, (mac[2] << 24) | (mac[3] << 16) | in ethoc_do_set_mac_address()
/openbmc/u-boot/arch/arm/include/asm/arch-vf610/
H A Dimx-regs.h432 u32 mac_addr0; member
/openbmc/u-boot/arch/arm/include/asm/arch-mx6/
H A Dimx-regs.h801 u32 mac_addr0; member
/openbmc/u-boot/arch/arm/include/asm/arch-mx7/
H A Dimx-regs.h991 u32 mac_addr0; member
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsungem.h324 #define MAC_ADDR0 0x6080UL /* MAC Address 0 Register */ macro
H A Dsungem.c1822 writel((e[4] << 8) | e[5], gp->regs + MAC_ADDR0); in gem_init_mac()
2439 writel((e[4] << 8) | e[5], gp->regs + MAC_ADDR0); in gem_set_mac_address()
H A Dniu.c8470 "SPROM: MAC_ADDR0[%08llx]\n", (unsigned long long)val); in niu_pci_probe_sprom()