Searched defs:mc_addr (Results 1 - 19 of 19) sorted by relevance

/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c238 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 Datl1e_hw.c167 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 Dvf.c183 * @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 Dvf.c173 * @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 Devergreen_blit_kms.c89 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 Dr600_blit.c104 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 Dr600_blit_kms.c105 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 Denic.h87 u8 mc_addr[ENIC_MULTICAST_PERFECT_FILTERS][ETH_ALEN]; member in struct:enic
H A Denic_main.c921 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 Dixgb_hw.c42 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 De1000_mac.c375 * @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 Dlib.c281 * @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 Datl2.c2384 * 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 Datl1.c550 * 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 Dbnad.c1668 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 De1000_hw.c4353 * @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 Dixgbe_common.c49 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 Dfw.h1167 struct host_cmd_ds_mac_multicast_adr mc_addr; member in union:host_cmd_ds_command::__anon3569
/drivers/s390/net/
H A Dqeth_core.h724 __u8 mc_addr[MAX_ADDR_LEN]; member in struct:qeth_mc_mac

Completed in 560 milliseconds