/drivers/net/wireless/ath/carl9170/ |
D | mac.c | 285 int carl9170_update_multicast(struct ar9170 *ar, const u64 mc_hash) in carl9170_update_multicast() argument 290 carl9170_regwrite(AR9170_MAC_REG_GROUP_HASH_TBL_H, mc_hash >> 32); in carl9170_update_multicast() 291 carl9170_regwrite(AR9170_MAC_REG_GROUP_HASH_TBL_L, mc_hash); in carl9170_update_multicast() 297 ar->cur_mc_hash = mc_hash; in carl9170_update_multicast()
|
/drivers/net/ethernet/tundra/ |
D | tsi108_eth.c | 136 unsigned long mc_hash[16]; member 1173 memset(data->mc_hash, 0, sizeof(data->mc_hash)); in tsi108_set_rx_mode() 1180 __set_bit(hash, &data->mc_hash[0]); in tsi108_set_rx_mode() 1193 data->mc_hash[i]); in tsi108_set_rx_mode()
|
/drivers/net/ |
D | macvlan.c | 251 static unsigned int mc_hash(const struct macvlan_dev *vlan, in mc_hash() function 279 hash = mc_hash(vlan, eth->h_dest); in macvlan_broadcast() 478 hash = mc_hash(NULL, eth->h_dest); in macvlan_handle_frame() 793 __set_bit(mc_hash(vlan, ha->addr), filter); in macvlan_compute_filter() 796 __set_bit(mc_hash(vlan, dev->broadcast), filter); in macvlan_compute_filter()
|
/drivers/net/ethernet/sfc/falcon/ |
D | farch.c | 2851 union ef4_multicast_hash *mc_hash = &efx->multicast_hash; in ef4_farch_filter_sync_rx_mode() local 2864 memset(mc_hash, 0xff, sizeof(*mc_hash)); in ef4_farch_filter_sync_rx_mode() 2866 memset(mc_hash, 0x00, sizeof(*mc_hash)); in ef4_farch_filter_sync_rx_mode() 2870 __set_bit_le(bit, mc_hash); in ef4_farch_filter_sync_rx_mode() 2877 __set_bit_le(0xff, mc_hash); in ef4_farch_filter_sync_rx_mode()
|
D | falcon.c | 1262 union ef4_multicast_hash *mc_hash = &efx->multicast_hash; in falcon_push_multicast_hash() local 1266 ef4_writeo(efx, &mc_hash->oword[0], FR_AB_MAC_MC_HASH_REG0); in falcon_push_multicast_hash() 1267 ef4_writeo(efx, &mc_hash->oword[1], FR_AB_MAC_MC_HASH_REG1); in falcon_push_multicast_hash()
|
/drivers/net/ethernet/sfc/siena/ |
D | farch.c | 2958 union efx_multicast_hash *mc_hash = &efx->multicast_hash; in efx_farch_filter_sync_rx_mode() local 2971 memset(mc_hash, 0xff, sizeof(*mc_hash)); in efx_farch_filter_sync_rx_mode() 2973 memset(mc_hash, 0x00, sizeof(*mc_hash)); in efx_farch_filter_sync_rx_mode() 2977 __set_bit_le(bit, mc_hash); in efx_farch_filter_sync_rx_mode() 2984 __set_bit_le(0xff, mc_hash); in efx_farch_filter_sync_rx_mode()
|
/drivers/net/ethernet/atheros/alx/ |
D | main.c | 558 static void alx_add_mc_addr(struct alx_hw *hw, const u8 *addr, u32 *mc_hash) in alx_add_mc_addr() argument 566 mc_hash[reg] |= BIT(bit); in alx_add_mc_addr() 574 u32 mc_hash[2] = {}; in __alx_set_rx_mode() local 578 alx_add_mc_addr(hw, ha->addr, mc_hash); in __alx_set_rx_mode() 580 alx_write_mem32(hw, ALX_HASH_TBL0, mc_hash[0]); in __alx_set_rx_mode() 581 alx_write_mem32(hw, ALX_HASH_TBL1, mc_hash[1]); in __alx_set_rx_mode()
|
D | hw.h | 479 u32 mc_hash[2]; member
|
/drivers/edac/ |
D | igen6_edac.c | 346 u32 mc_hash; in adl_err_addr_to_imc_addr() local 351 mc_hash = readl(imc->window + MAD_MC_HASH_OFFSET); in adl_err_addr_to_imc_addr() 353 intlv_bit = MAC_MC_HASH_LSB(mc_hash) + 6; in adl_err_addr_to_imc_addr()
|
/drivers/net/ethernet/ |
D | jme.c | 2269 u32 mc_hash[2] = {}; in jme_set_multi() local 2286 mc_hash[bit_nr >> 5] |= 1 << (bit_nr & 0x1F); in jme_set_multi() 2289 jwrite32(jme, JME_RXMCHT_LO, mc_hash[0]); in jme_set_multi() 2290 jwrite32(jme, JME_RXMCHT_HI, mc_hash[1]); in jme_set_multi()
|