/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() 78 mac_addr0 = (mac_addr[3] << 24) | (mac_addr[2] << 16) | \ in tgec_set_mac_addr() 80 out_be32(®s->mac_addr_0, mac_addr0); 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() 59 mac_addr0 = (mac_addr[3] << 24) | (mac_addr[2] << 16) | \ in memac_set_mac_addr() 61 out_be32(®s->mac_addr_0, mac_addr0); in memac_set_mac_addr()
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | mac.c | 15 u32 mac_addr0; member 54 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
|
/openbmc/qemu/hw/net/ |
H A D | opencores_eth.c | 153 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 D | sungem.c | 149 #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 D | sunplus,sp7021-ocotp.yaml | 71 mac_addr0: mac-address0@34 {
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | sunplus,sp7021-emac.yaml | 117 nvmem-cells = <&mac_addr0>;
|
/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 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 D | qlcnic_83xx_hw.h | 257 u8 mac_addr0; member 268 u8 mac_addr0;
|
H A D | qlcnic_sriov_pf.c | 826 mv.mac_addr0 = addr[0]; in qlcnic_sriov_cfg_vf_def_mac()
|
H A D | qlcnic_83xx_hw.c | 2122 mv.mac_addr0 = addr[0]; in qlcnic_83xx_sre_macaddr_change()
|
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/ |
H A D | generic.c | 262 u32 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
|
/openbmc/u-boot/arch/arm/include/asm/arch-imx8m/ |
H A D | imx-regs.h | 242 u32 mac_addr0; member
|
/openbmc/linux/arch/arm/boot/dts/sunplus/ |
H A D | sunplus-sp7021.dtsi | 67 mac_addr0: mac-address0@34 { label
|
/openbmc/linux/drivers/net/ethernet/freescale/fman/ |
H A D | fman_memac.c | 127 struct mac_addr mac_addr0; /* 0x00C-0x010 MAC_ADDR_0...1 */ member 310 iowrite32be(tmp0, ®s->mac_addr0.mac_addr_l); in add_addr_in_paddr() 311 iowrite32be(tmp1, ®s->mac_addr0.mac_addr_u); in add_addr_in_paddr()
|
/openbmc/u-boot/drivers/net/ |
H A D | ethoc.c | 39 #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 D | ethoc.c | 48 #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 D | imx-regs.h | 432 u32 mac_addr0; member
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx6/ |
H A D | imx-regs.h | 801 u32 mac_addr0; member
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx7/ |
H A D | imx-regs.h | 991 u32 mac_addr0; member
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sungem.h | 324 #define MAC_ADDR0 0x6080UL /* MAC Address 0 Register */ macro
|
H A D | sungem.c | 1822 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 D | niu.c | 8470 "SPROM: MAC_ADDR0[%08llx]\n", (unsigned long long)val); in niu_pci_probe_sprom()
|