Home
last modified time | relevance | path

Searched refs:addr_hash (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/ras/amd/atl/
Dumc.c83 } addr_hash; variable
156 addr_hash.bank[i].xor_enable = FIELD_GET(ADDR_HASH_XOR_EN, temp); in get_umc_info_mi300()
157 addr_hash.bank[i].col_xor = FIELD_GET(ADDR_HASH_COL_XOR, temp); in get_umc_info_mi300()
158 addr_hash.bank[i].row_xor = FIELD_GET(ADDR_HASH_ROW_XOR, temp); in get_umc_info_mi300()
165 addr_hash.pc.xor_enable = FIELD_GET(ADDR_HASH_XOR_EN, temp); in get_umc_info_mi300()
166 addr_hash.pc.col_xor = FIELD_GET(ADDR_HASH_COL_XOR, temp); in get_umc_info_mi300()
167 addr_hash.pc.row_xor = FIELD_GET(ADDR_HASH_ROW_XOR, temp); in get_umc_info_mi300()
173 addr_hash.bank_xor = FIELD_GET(ADDR_HASH_BANK_XOR, temp); in get_umc_info_mi300()
251 if (!addr_hash.bank[i].xor_enable) in convert_dram_to_norm_addr_mi300()
254 temp = bitwise_xor_bits(col & addr_hash.bank[i].col_xor); in convert_dram_to_norm_addr_mi300()
[all …]
/linux-6.12.1/drivers/net/
Dgtp.c84 struct hlist_head *addr_hash; member
183 head = &gtp->addr_hash[ipv4_hashfn(ms_addr) % gtp->hash_size]; in ipv4_pdp_find()
218 head = &gtp->addr_hash[ipv6_hashfn(ms_addr) % gtp->hash_size]; in ipv6_pdp_find()
1373 kfree(gtp->addr_hash); in gtp_destructor()
1540 kfree(gtp->addr_hash); in gtp_newlink()
1621 gtp->addr_hash = kmalloc_array(hsize, sizeof(struct hlist_head), in gtp_hashtable_new()
1623 if (gtp->addr_hash == NULL) in gtp_hashtable_new()
1634 INIT_HLIST_HEAD(&gtp->addr_hash[i]); in gtp_hashtable_new()
1639 kfree(gtp->addr_hash); in gtp_hashtable_new()
1967 hlist_add_head_rcu(&pctx->hlist_addr, &gtp->addr_hash[hash_ms]); in gtp_pdp_add()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c104 static unsigned int addr_hash(struct l2t_data *d, const u32 *addr, in addr_hash() function
425 int hash = addr_hash(d, addr, addr_len, ifidx); in cxgb4_l2t_get()
518 hash = addr_hash(d, addr, addr_len, ifidx); in t4_l2t_update()