Lines Matching defs:bits
417 packet_len &= 0x07ff; /* mask off top bits */
468 /* Align IP header to 32 bits */
644 * The 91C111 ignores the size bits, but earlier models don't.
760 static void smc_mii_out(struct net_device *dev, unsigned int val, int bits)
769 for (mask = 1 << (bits - 1); mask; mask >>= 1) {
782 static unsigned int smc_mii_in(struct net_device *dev, int bits)
791 for (mask = 1 << (bits - 1), val = 0; mask; mask >>= 1) {
821 /* Turnaround (2bits) + phydata */
1028 * is controlled by the RPC SPEED and RPC DPLX bits.
1398 * The SMC chip uses a hash table where the high 6 bits of the CRC of
1402 * To use the 6 bits as an offset into the table, the high 3 bits are
1403 * the number of the 8 bit register, while the low 3 bits are the bit
1409 /* table for flipping the order of 3 bits */
1418 /* only use the low order bits */