Lines Matching refs:hash
1665 u_int32_t hash[4];
1669 /* Clear the hash table. */
1670 hash[3] = hash[2] = hash[1] = hash[0] = 0;
1677 * and hash filter. Depending on the case, the right bit will be
1691 /* Disable the hash filter before writing to the filter registers. */
1694 device_printf(sc->sc_dev, "cannot disable hash filter\n");
1733 hash[crc >> 4] |= 1 << (crc & 0xf);
1738 /* Now load the hash table into the chip */
1739 HME_MAC_WRITE_4(sc, HME_MACI_HASHTAB0, hash[0]);
1740 HME_MAC_WRITE_4(sc, HME_MACI_HASHTAB1, hash[1]);
1741 HME_MAC_WRITE_4(sc, HME_MACI_HASHTAB2, hash[2]);
1742 HME_MAC_WRITE_4(sc, HME_MACI_HASHTAB3, hash[3]);