Home
last modified time | relevance | path

Searched refs:mac_addr1 (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/net/fm/
H A Dtgec.c73 u32 mac_addr0, mac_addr1; in tgec_set_mac_addr() local
83 mac_addr1 = ((mac_addr[5] << 8) | mac_addr[4]) & 0x0000ffff; in tgec_set_mac_addr()
84 out_be32(&regs->mac_addr_1, mac_addr1); in tgec_set_mac_addr()
H A Dmemac.c54 u32 mac_addr0, mac_addr1; in memac_set_mac_addr() local
64 mac_addr1 = ((mac_addr[5] << 8) | mac_addr[4]) & 0x0000ffff; in memac_set_mac_addr()
65 out_be32(&regs->mac_addr_1, mac_addr1); in memac_set_mac_addr()
H A Ddtsec.c96 u32 mac_addr1, mac_addr2; in dtsec_set_mac_addr() local
102 mac_addr1 = (mac_addr[5] << 24) | (mac_addr[4] << 16) | \ in dtsec_set_mac_addr()
104 out_be32(&regs->macstnaddr1, mac_addr1); in dtsec_set_mac_addr()
/OK3568_Linux_fs/u-boot/board/ti/common/
H A Dboard_detect.c427 u8 mac_addr1[6], mac_addr2[6]; in board_ti_set_ethaddr() local
433 board_ti_get_eth_mac_addr(0, mac_addr1); in board_ti_set_ethaddr()
436 if (is_valid_ethaddr(mac_addr1) && is_valid_ethaddr(mac_addr2)) { in board_ti_set_ethaddr()
437 mac1 = mac_to_u64(mac_addr1); in board_ti_set_ethaddr()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.c874 static void iwl_flip_hw_address(__le32 mac_addr0, __le32 mac_addr1, u8 *dest) in iwl_flip_hw_address() argument
884 hw_addr = (const u8 *)&mac_addr1; in iwl_flip_hw_address()
893 __le32 mac_addr1 = cpu_to_le32(iwl_read32(trans, CSR_MAC_ADDR1_STRAP)); in iwl_set_hw_address_from_csr() local
895 iwl_flip_hw_address(mac_addr0, mac_addr1, data->hw_addr); in iwl_set_hw_address_from_csr()
904 mac_addr1 = cpu_to_le32(iwl_read32(trans, CSR_MAC_ADDR1_OTP)); in iwl_set_hw_address_from_csr()
906 iwl_flip_hw_address(mac_addr0, mac_addr1, data->hw_addr); in iwl_set_hw_address_from_csr()
947 __le32 mac_addr1 = cpu_to_le32(iwl_trans_read_prph(trans, in iwl_set_hw_address_family_8000() local
950 iwl_flip_hw_address(mac_addr0, mac_addr1, data->hw_addr); in iwl_set_hw_address_family_8000()
/OK3568_Linux_fs/u-boot/board/ti/am57xx/
H A Dboard.c923 u8 mac_addr1[6], mac_addr2[6]; in board_eth_init() local
975 board_ti_get_eth_mac_addr(0, mac_addr1); in board_eth_init()
978 if (is_valid_ethaddr(mac_addr1) && is_valid_ethaddr(mac_addr2)) { in board_eth_init()
979 mac1 = mac_to_u64(mac_addr1); in board_eth_init()
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx7/
H A Dsoc.c291 u32 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
307 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx6/
H A Dsoc.c535 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
540 u32 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
/OK3568_Linux_fs/kernel/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()
H A Dqlcnic_83xx_hw.c2124 mv.mac_addr1 = addr[1]; in qlcnic_83xx_sre_macaddr_change()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/vf610/
H A Dgeneric.c267 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
/OK3568_Linux_fs/u-boot/drivers/qe/
H A Duec.c668 u32 mac_addr1; in uec_set_mac_address() local
682 mac_addr1 = (mac_addr[5] << 24) | (mac_addr[4] << 16) | \ in uec_set_mac_address()
684 out_be32(&uec_regs->macstnaddr1, mac_addr1); in uec_set_mac_address()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-vf610/
H A Dimx-regs.h422 u32 mac_addr1; member
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-mx6/
H A Dimx-regs.h792 u32 mac_addr1; member
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-mx7/
H A Dimx-regs.h988 u32 mac_addr1; member
/OK3568_Linux_fs/kernel/drivers/staging/qlge/
H A Dqlge.h1025 u8 mac_addr1[6]; member
H A Dqlge_main.c713 qdev->flash.flash_params_8000.mac_addr1, in ql_get_8000_flash_params()