/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 238 u32 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr) argument 244 crc32 = ether_crc_le(6, mc_addr);
|
/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.c | 167 u32 atl1e_hash_mc_addr(struct atl1e_hw *hw, u8 *mc_addr) argument 173 crc32 = ether_crc_le(6, mc_addr);
|
/drivers/net/ethernet/intel/igbvf/ |
H A D | vf.c | 183 * @mc_addr: pointer to a multicast address 189 static u32 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr) argument 204 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | 205 (((u16) mc_addr[5]) << bit_shift)));
|
/drivers/net/ethernet/intel/ixgbevf/ |
H A D | vf.c | 173 * @mc_addr: the multicast address 182 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) argument 188 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); 191 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); 194 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); 197 vector = ((mc_addr[4]) | (((u16)mc_addr[ [all...] |
/drivers/gpu/drm/radeon/ |
H A D | evergreen_blit_kms.c | 89 u64 mc_addr) 111 radeon_ring_write(ring, mc_addr >> 8); 87 cp_set_surface_sync(struct radeon_device *rdev, u32 sync_type, u32 size, u64 mc_addr) argument
|
H A D | r600_blit.c | 104 u32 sync_type, u32 size, u64 mc_addr) 119 OUT_RING((mc_addr >> 8)); 103 cp_set_surface_sync(drm_radeon_private_t *dev_priv, u32 sync_type, u32 size, u64 mc_addr) argument
|
H A D | r600_blit_kms.c | 105 u64 mc_addr) 118 radeon_ring_write(ring, mc_addr >> 8); 103 cp_set_surface_sync(struct radeon_device *rdev, u32 sync_type, u32 size, u64 mc_addr) argument
|
/drivers/net/ethernet/cisco/enic/ |
H A D | enic.h | 87 u8 mc_addr[ENIC_MULTICAST_PERFECT_FILTERS][ETH_ALEN]; member in struct:enic
|
H A D | enic_main.c | 921 u8 mc_addr[ENIC_MULTICAST_PERFECT_FILTERS][ETH_ALEN]; local 933 * addrs from the last call in enic->mc_addr and 941 memcpy(mc_addr[i++], ha->addr, ETH_ALEN); 946 if (compare_ether_addr(enic->mc_addr[i], 947 mc_addr[j]) == 0) 950 enic_dev_del_addr(enic, enic->mc_addr[i]); 955 if (compare_ether_addr(mc_addr[i], 956 enic->mc_addr[j]) == 0) 959 enic_dev_add_addr(enic, mc_addr[i]); 966 memcpy(enic->mc_addr[ [all...] |
/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_hw.c | 42 static u32 ixgb_hash_mc_addr(struct ixgb_hw *hw, u8 * mc_addr); 491 * mc_addr - the multicast address to hash 498 u8 *mc_addr) 514 ((mc_addr[4] >> 4) | (((u16) mc_addr[5]) << 4)); 518 ((mc_addr[4] >> 3) | (((u16) mc_addr[5]) << 5)); 522 ((mc_addr[4] >> 2) | (((u16) mc_addr[5]) << 6)); 525 hash_value = ((mc_addr[ 497 ixgb_hash_mc_addr(struct ixgb_hw *hw, u8 *mc_addr) argument [all...] |
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.c | 375 * @mc_addr: pointer to a multicast address 381 static u32 igb_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument 401 * left-shifts where the MSB of mc_addr[5] would still fall within 403 * of 8 bits of shifting, then mc_addr[4] will shift right the 406 * number of bits to shift mc_addr[5] left, while still keeping the 437 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | 438 (((u16) mc_addr[5]) << bit_shift)));
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | lib.c | 281 * @mc_addr: pointer to a multicast address 287 static u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument 307 * left-shifts where the MSB of mc_addr[5] would still fall within 309 * of 8 bits of shifting, then mc_addr[4] will shift right the 312 * number of bits to shift mc_addr[5] left, while still keeping the 343 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | 344 (((u16) mc_addr[5]) << bit_shift)));
|
/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.c | 2384 * mc_addr - the multicast address to hash 2393 static u32 atl2_hash_mc_addr(struct atl2_hw *hw, u8 *mc_addr) argument 2399 crc32 = ether_crc_le(6, mc_addr);
|
H A D | atl1.c | 550 * mc_addr - the multicast address to hash 559 static u32 atl1_hash_mc_addr(struct atl1_hw *hw, u8 *mc_addr) argument 564 crc32 = ether_crc_le(6, mc_addr);
|
/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 1668 struct netdev_hw_addr *mc_addr; local 1670 netdev_for_each_mc_addr(mc_addr, netdev) { 1671 memcpy(&mc_list[i * ETH_ALEN], &mc_addr->addr[0],
|
/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.c | 4353 * @mc_addr: the multicast address to hash 4355 u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument 4369 hash_value = ((mc_addr[4] >> 4) | (((u16) mc_addr[5]) << 4)); 4373 hash_value = ((mc_addr[4] >> 3) | (((u16) mc_addr[5]) << 5)); 4377 hash_value = ((mc_addr[4] >> 2) | (((u16) mc_addr[5]) << 6)); 4381 hash_value = ((mc_addr[4]) | (((u16) mc_addr[ [all...] |
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.c | 49 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr); 1776 * @mc_addr: the multicast address 1785 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) argument 1791 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); 1794 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); 1797 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); 1800 vector = ((mc_addr[ 1819 ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr) argument [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | fw.h | 1167 struct host_cmd_ds_mac_multicast_adr mc_addr; member in union:host_cmd_ds_command::__anon3569
|
/drivers/s390/net/ |
H A D | qeth_core.h | 724 __u8 mc_addr[MAX_ADDR_LEN]; member in struct:qeth_mc_mac
|