Home
last modified time | relevance | path

Searched refs:hash_idx (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dflowring.c63 u16 hash_idx; in brcmf_flowring_lookup() local
81 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_lookup()
83 hash_idx &= (BRCMF_FLOWRING_HASHSIZE - 1); in brcmf_flowring_lookup()
87 if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) && in brcmf_flowring_lookup()
88 (hash[hash_idx].fifo == fifo) && in brcmf_flowring_lookup()
89 (hash[hash_idx].ifidx == ifidx)) { in brcmf_flowring_lookup()
93 hash_idx++; in brcmf_flowring_lookup()
94 hash_idx &= (BRCMF_FLOWRING_HASHSIZE - 1); in brcmf_flowring_lookup()
97 return hash[hash_idx].flowid; in brcmf_flowring_lookup()
108 u16 hash_idx; in brcmf_flowring_create() local
232 u16 hash_idx; brcmf_flowring_delete() local
349 u16 hash_idx; brcmf_flowring_ifidx_get() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dflowring.c63 u16 hash_idx; in brcmf_flowring_lookup() local
81 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_lookup()
83 hash_idx &= (BRCMF_FLOWRING_HASHSIZE - 1); in brcmf_flowring_lookup()
87 if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) && in brcmf_flowring_lookup()
88 (hash[hash_idx].fifo == fifo) && in brcmf_flowring_lookup()
89 (hash[hash_idx].ifidx == ifidx)) { in brcmf_flowring_lookup()
93 hash_idx++; in brcmf_flowring_lookup()
94 hash_idx &= (BRCMF_FLOWRING_HASHSIZE - 1); in brcmf_flowring_lookup()
97 return hash[hash_idx].flowid; in brcmf_flowring_lookup()
108 u16 hash_idx; in brcmf_flowring_create() local
232 u16 hash_idx; brcmf_flowring_delete() local
349 u16 hash_idx; brcmf_flowring_ifidx_get() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c82 u8 intf, u8 hash_idx) in npc_field_hash_calc()
94 data_padded[0] = rsp.hash_mask[intf][hash_idx][0] & ldata[0]; in npc_field_hash_calc()
95 data_padded[1] = rsp.hash_mask[intf][hash_idx][1] & ldata[1]; in npc_field_hash_calc()
98 field_hash &= FIELD_GET(GENMASK(63, 32), rsp.hash_ctrl[intf][hash_idx]); in npc_field_hash_calc()
99 field_hash += FIELD_GET(GENMASK(31, 0), rsp.hash_ctrl[intf][hash_idx]); in npc_field_hash_calc()
289 u8 hash_idx; in npc_update_field_hash() local
299 for (hash_idx = 0; hash_idx < NPC_MAX_HASH; hash_idx++) { in npc_update_field_hash()
300 cfg = rvu_read64(rvu, blkaddr, NPC_AF_INTFX_HASHX_CFG(intf, hash_idx)); in npc_update_field_hash()
81 npc_field_hash_calc(u64 *ldata, struct npc_get_field_hash_info_rsp rsp, u8 intf, u8 hash_idx) npc_field_hash_calc() argument
[all...]
H A Drvu_npc_hash.h66 u8 intf, u8 hash_idx);
/kernel/linux/linux-6.6/drivers/misc/bcm-vk/
H A Dbcm_vk_msg.c214 u32 hash_idx = hash_32(pid, VK_PID_HT_SHIFT_BIT); in bcm_vk_get_ctx() local
243 ctx->hash_idx = hash_idx; in bcm_vk_get_ctx()
244 list_add_tail(&ctx->node, &vk->pid_ht[hash_idx].head); in bcm_vk_get_ctx()
294 u32 hash_idx; in bcm_vk_free_ctx() local
316 hash_idx = ctx->hash_idx; in bcm_vk_free_ctx()
317 list_for_each_entry(entry, &vk->pid_ht[hash_idx].head, node) { in bcm_vk_free_ctx()
H A Dbcm_vk_msg.h87 u32 hash_idx; member

Completed in 6 milliseconds