Home
last modified time | relevance | path

Searched refs:hash_table_size (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c447 hw_feat->hash_table_size = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
475 switch (hw_feat->hash_table_size) { in xlgmac_get_all_hw_features()
479 hw_feat->hash_table_size = 64; in xlgmac_get_all_hw_features()
482 hw_feat->hash_table_size = 128; in xlgmac_get_all_hw_features()
485 hw_feat->hash_table_size = 256; in xlgmac_get_all_hw_features()
668 pdata->hw_feat.hash_table_size); in xlgmac_print_all_hw_features()
Ddwc-xlgmac.h525 unsigned int hash_table_size; /* Hash Table Size */ member
Ddwc-xlgmac-hw.c338 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xlgmac_set_mac_hash_table()
339 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xlgmac_set_mac_hash_table()
365 if (pdata->hw_feat.hash_table_size) in xlgmac_add_mac_addresses()
380 if (pdata->hw_feat.hash_table_size) { in xlgmac_config_mac_address()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c788 hw_feat->hash_table_size = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, in xgbe_get_all_hw_features()
802 switch (hw_feat->hash_table_size) { in xgbe_get_all_hw_features()
806 hw_feat->hash_table_size = 64; in xgbe_get_all_hw_features()
809 hw_feat->hash_table_size = 128; in xgbe_get_all_hw_features()
812 hw_feat->hash_table_size = 256; in xgbe_get_all_hw_features()
903 hw_feat->hash_table_size); in xgbe_get_all_hw_features()
Dxgbe-dev.c1055 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xgbe_set_mac_hash_table()
1056 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xgbe_set_mac_hash_table()
1082 if (pdata->hw_feat.hash_table_size) in xgbe_add_mac_addresses()
2810 if (pdata->hw_feat.hash_table_size) { in xgbe_config_mac_address()
Dxgbe.h991 unsigned int hash_table_size; /* Hash Table Size */ member
/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c2023 int hash_table_size; in bnx2fc_allocate_hash_table() local
2030 hash_table_size = BNX2FC_NUM_MAX_SESS * BNX2FC_MAX_ROWS_IN_HASH_TBL * in bnx2fc_allocate_hash_table()
2033 segment_count = hash_table_size + BNX2FC_HASH_TBL_CHUNK_SIZE - 1; in bnx2fc_allocate_hash_table()