Lines Matching refs:MAC_ADDR_LEN
745 #define MAC_ADDR_LEN 6 macro
746 #define MAC_ADDR_ORDER(i) (MAC_ADDR_LEN - 1 - (i))
1045 u8 mac_addr[MAC_ADDR_LEN];
1189 u8 br_addr[MAC_ADDR_LEN];
1190 u8 other_addr[MAC_ADDR_LEN];
1295 u8 perm_addr[MAC_ADDR_LEN];
1296 u8 override_addr[MAC_ADDR_LEN];
1297 u8 address[ADDITIONAL_ENTRIES][MAC_ADDR_LEN];
1302 u8 multi_list[MAX_MULTICAST_LIST][MAC_ADDR_LEN];
3657 hw_set_wol_frame(hw, 2, 1, mask, MAC_ADDR_LEN, pattern); in hw_add_wol_bcast()
3692 hw_set_wol_frame(hw, 0, 1, mask, MAC_ADDR_LEN, hw->override_addr); in hw_add_wol_ucast()
4059 for (i = 0; i < MAC_ADDR_LEN; i++) in hw_set_addr()
4076 for (i = 0; i < MAC_ADDR_LEN; i++) in hw_read_addr()
4081 memcpy(hw->override_addr, hw->perm_addr, MAC_ADDR_LEN); in hw_read_addr()
4084 MAC_ADDR_LEN); in hw_read_addr()
4086 MAC_ADDR_LEN); in hw_read_addr()
4134 if (!memcmp(hw->override_addr, mac_addr, MAC_ADDR_LEN)) in hw_add_addr()
4137 if (!memcmp(hw->address[i], mac_addr, MAC_ADDR_LEN)) in hw_add_addr()
4143 memcpy(hw->address[j], mac_addr, MAC_ADDR_LEN); in hw_add_addr()
4155 if (!memcmp(hw->address[i], mac_addr, MAC_ADDR_LEN)) { in hw_del_addr()
4156 memset(hw->address[i], 0, MAC_ADDR_LEN); in hw_del_addr()
5682 memcpy(hw->override_addr, mac->sa_data, MAC_ADDR_LEN); in netdev_set_mac_address()
5794 memcpy(hw->multi_list[i++], ha->addr, MAC_ADDR_LEN); in netdev_set_rx_mode()
6895 while (j < MAC_ADDR_LEN) { in get_mac_addr()
6926 if (MAC_ADDR_LEN == j) { in get_mac_addr()
7093 memcpy(sw->other_addr, hw->override_addr, MAC_ADDR_LEN); in pcidev_init()
7143 MAC_ADDR_LEN); in pcidev_init()
7146 MAC_ADDR_LEN); in pcidev_init()
7148 MAC_ADDR_LEN)) in pcidev_init()