Home
last modified time | relevance | path

Searched refs:hash_mask (Results 1 – 13 of 13) sorted by relevance

/drivers/md/persistent-data/
Ddm-persistent-data-internal.h12 static inline unsigned dm_hash_block(dm_block_t b, unsigned hash_mask) in dm_hash_block() argument
16 return (((unsigned) b) * BIG_PRIME) & hash_mask; in dm_hash_block()
/drivers/net/ethernet/intel/igbvf/
Dvf.c177 u32 hash_value, hash_mask; in e1000_hash_mc_addr_vf() local
181 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in e1000_hash_mc_addr_vf()
186 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_vf()
189 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf()
/drivers/net/ethernet/intel/igc/
Digc_mac.c790 u32 hash_value, hash_mask; in igc_hash_mc_addr() local
794 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in igc_hash_mc_addr()
799 while (hash_mask >> bit_shift != 0xFF) in igc_hash_mc_addr()
842 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igc_hash_mc_addr()
/drivers/crypto/hisilicon/sec/
Dsec_drv.c448 static void sec_ipv6_hashmask(struct sec_dev_info *info, u32 hash_mask[]) in sec_ipv6_hashmask() argument
454 writel_relaxed(hash_mask[0], in sec_ipv6_hashmask()
458 static int sec_ipv4_hashmask(struct sec_dev_info *info, u32 hash_mask) in sec_ipv4_hashmask() argument
460 if (hash_mask & SEC_HASH_IPV4_MASK) { in sec_ipv4_hashmask()
465 writel_relaxed(hash_mask, in sec_ipv4_hashmask()
/drivers/net/ethernet/intel/igb/
De1000_mac.c428 u32 hash_value, hash_mask; in igb_hash_mc_addr() local
432 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in igb_hash_mc_addr()
437 while (hash_mask >> bit_shift != 0xFF && bit_shift < 4) in igb_hash_mc_addr()
480 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igb_hash_mc_addr()
/drivers/net/ethernet/intel/e1000e/
Dmac.c248 u32 hash_value, hash_mask; in e1000_hash_mc_addr() local
252 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in e1000_hash_mc_addr()
257 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr()
300 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Drx.h746 u8 hash_mask; member
/drivers/md/
Ddm-snap.c43 uint32_t hash_mask; member
665 et->hash_mask = size - 1; in dm_exception_table_init()
685 size = et->hash_mask + 1; in dm_exception_table_exit()
698 return (chunk >> et->hash_shift) & et->hash_mask; in exception_hash()
/drivers/net/ethernet/brocade/bna/
Dbna_types.h645 u8 hash_mask; member
Dbnad.c2040 rx_config->rss_config.hash_mask = in bnad_init_rx_config()
Dbna_tx_rx.c322 req->cfg.mask = rxf->rss_cfg.hash_mask; in bna_bfi_rss_cfg()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dfw.c56 .hash_mask = BIT(IWL_RSS_HASH_TYPE_IPV4_TCP) | in iwl_send_rss_cfg_cmd()
Ddebugfs.c1103 .hash_mask = IWL_RSS_HASH_TYPE_IPV4_TCP | in iwl_dbgfs_indirection_tbl_write()