Home
last modified time | relevance | path

Searched refs:mc_offset (Results 1 – 2 of 2) sorted by relevance

/drivers/bus/fsl-mc/
Dfsl-mc-bus.c522 u64 mc_offset, phys_addr_t *phys_addr) in translate_mc_addr() argument
535 *phys_addr = mc_offset; in translate_mc_addr()
544 mc_offset >= range->start_mc_offset && in translate_mc_addr()
545 mc_offset < range->end_mc_offset) { in translate_mc_addr()
547 (mc_offset - range->start_mc_offset); in translate_mc_addr()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c498 int mc_offset = 32 - priv->hw->mcast_bits_log2; in stmmac_hash_check() local
503 hash = bitrev32(~crc32_le(~0, addr, 6)) >> mc_offset; in stmmac_hash_check()
509 u32 nr = bitrev32(~crc32_le(~0, ha->addr, ETH_ALEN)) >> mc_offset; in stmmac_hash_check()