Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dtsec.c134 u8 whichbit, whichreg; in tsec_mcast_addr() local
138 whichreg = result >> 29; /* the 3 MSB = which reg to set it in */ in tsec_mcast_addr()
143 setbits_be32(&regs->hash.gaddr0 + whichreg, value); in tsec_mcast_addr()
145 clrbits_be32(&regs->hash.gaddr0 + whichreg, value); in tsec_mcast_addr()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar.c338 u8 whichreg = result >> (32 - width + 5); in gfar_set_hash_for_addr() local
341 tempval = gfar_read(priv->hash_regs[whichreg]); in gfar_set_hash_for_addr()
343 gfar_write(priv->hash_regs[whichreg], tempval); in gfar_set_hash_for_addr()