| /freebsd-12.1/sys/dev/ixgbe/ |
| H A D | ixgbe_vf.c | 300 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbe_mta_vector() argument 306 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); in ixgbe_mta_vector() 309 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); in ixgbe_mta_vector() 312 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); in ixgbe_mta_vector() 315 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); in ixgbe_mta_vector()
|
| H A D | ixgbe_common.c | 54 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr); 2654 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbe_mta_vector() argument 2662 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); in ixgbe_mta_vector() 2665 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); in ixgbe_mta_vector() 2668 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); in ixgbe_mta_vector() 2671 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); in ixgbe_mta_vector() 2691 void ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbe_set_mta() argument 2701 vector = ixgbe_mta_vector(hw, mc_addr); in ixgbe_set_mta()
|
| H A D | ixgbe_api.h | 138 void ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr);
|
| /freebsd-12.1/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_power.c | 54 static void ar9300_wowoffload_add_mcast_filter(struct ath_hal *ah, u_int8_t *mc_addr) in ar9300_wowoffload_add_mcast_filter() argument 60 memcpy((u_int8_t *) &val, &mc_addr[0], 3); in ar9300_wowoffload_add_mcast_filter() 62 memcpy((u_int8_t *) &val, &mc_addr[3], 3); in ar9300_wowoffload_add_mcast_filter() 321 u_int8_t mc_addr[6]; in ar9300_wowoffload_download_ns_info() local 346 mc_addr[0] = 0x33; in ar9300_wowoffload_download_ns_info() 347 mc_addr[1] = 0x33; in ar9300_wowoffload_download_ns_info() 348 mc_addr[2] = 0xFF; in ar9300_wowoffload_download_ns_info() 349 mc_addr[3] = p_info->SolicitedNodeIPv6Address.u8[13]; in ar9300_wowoffload_download_ns_info() 350 mc_addr[4] = p_info->SolicitedNodeIPv6Address.u8[14]; in ar9300_wowoffload_download_ns_info() 351 mc_addr[5] = p_info->SolicitedNodeIPv6Address.u8[15]; in ar9300_wowoffload_download_ns_info() [all …]
|
| /freebsd-12.1/sys/dev/e1000/ |
| H A D | e1000_vf.c | 358 static u32 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr_vf() argument 375 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf() 376 (((u16) mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr_vf()
|
| H A D | e1000_mac.h | 82 u32 e1000_hash_mc_addr_generic(struct e1000_hw *hw, u8 *mc_addr);
|
| H A D | e1000_api.h | 74 u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr);
|
| H A D | e1000_api.c | 890 u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr() argument 892 return e1000_hash_mc_addr_generic(hw, mc_addr); in e1000_hash_mc_addr()
|
| H A D | e1000_mac.c | 517 u32 e1000_hash_mc_addr_generic(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr_generic() argument 573 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_generic() 574 (((u16) mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr_generic()
|
| /freebsd-12.1/sys/x86/include/ |
| H A D | ucontext.h | 132 __register_t mc_addr; member
|
| /freebsd-12.1/sys/net/ |
| H A D | if_vlan.c | 154 struct sockaddr_dl mc_addr; member 573 (void)if_delmulti(ifp_p, (struct sockaddr *)&mc->mc_addr); in vlan_setmulti() 587 bcopy(ifma->ifma_addr, &mc->mc_addr, ifma->ifma_addr->sa_len); in vlan_setmulti() 588 mc->mc_addr.sdl_index = ifp_p->if_index; in vlan_setmulti() 593 error = if_addmulti(ifp_p, (struct sockaddr *)&mc->mc_addr, in vlan_setmulti() 1480 (struct sockaddr *)&mc->mc_addr); in vlan_unconfig_locked()
|
| H A D | if_lagg.h | 195 struct sockaddr_dl mc_addr; member
|
| H A D | if_lagg.c | 1600 bcopy(ifma->ifma_addr, &mc->mc_addr, in lagg_setmulti() 1602 mc->mc_addr.sdl_index = ifp->if_index; in lagg_setmulti() 1609 (struct sockaddr *)&mc->mc_addr, &mc->mc_ifma); in lagg_setmulti()
|
| /freebsd-12.1/sys/xen/interface/arch-x86/ |
| H A D | xen-mca.h | 145 uint64_t mc_addr; /* bank address, only valid member
|
| /freebsd-12.1/sys/dev/drm2/radeon/ |
| H A D | evergreen_blit_kms.c | 82 u64 mc_addr) in cp_set_surface_sync() argument 104 radeon_ring_write(ring, mc_addr >> 8); in cp_set_surface_sync()
|
| H A D | r600_blit_kms.c | 128 u64 mc_addr) in cp_set_surface_sync() argument 141 radeon_ring_write(ring, mc_addr >> 8); in cp_set_surface_sync()
|
| H A D | radeon.h | 748 u64 mc_addr);
|
| /freebsd-12.1/sys/dev/fxp/ |
| H A D | if_fxpreg.h | 239 uint8_t mc_addr[MAXMCADDR][6]; member
|
| H A D | if_fxp.c | 2991 if_setupmultiaddr(ifp, mcsp->mc_addr, &nmcasts, MAXMCADDR); in fxp_mc_addrs()
|
| /freebsd-12.1/sys/dev/ti/ |
| H A D | if_tireg.h | 1014 struct ether_addr mc_addr; member
|
| H A D | if_ti.c | 1974 ti_del_mcast(sc, &mc->mc_addr); in ti_setmulti() 1991 (char *)&mc->mc_addr, ETHER_ADDR_LEN); in ti_setmulti() 1993 ti_add_mcast(sc, &mc->mc_addr); in ti_setmulti()
|
| /freebsd-12.1/sys/dev/ixl/ |
| H A D | ixl_pf_main.c | 713 u8 *mc_addr = (u8 *)LLADDR((struct sockaddr_dl *)ifma->ifma_addr); in ixl_del_multi() local 714 if (cmp_etheraddr(f->macaddr, mc_addr)) { in ixl_del_multi()
|