Lines Matching defs:tmp2
70 uint8_t idx, reg1, reg2, reg3, tmp1, tmp2;
99 tmp2 = (reg3 & 0x08) << 4; /* B3 -> B7 */
100 tmp2 |= (reg2 & 0x08) << 3; /* B3 -> B6 */
101 tmp2 |= (reg3 & 0x04) << 3; /* B2 -> B5 */
102 tmp2 |= (reg2 & 0x04) << 2; /* B2 -> B4 */
103 tmp2 |= (reg3 & 0x02) << 2; /* B1 -> B3 */
104 tmp2 |= (reg2 & 0x02) << 1; /* B1 -> B2 */
105 tmp2 |= (reg3 & 0x01) << 1; /* B0 -> B1 */
106 tmp2 |= (reg2 & 0x01) << 0; /* B7 -> B0 */
110 ecc_code[0] = ~tmp2;
114 ecc_code[1] = ~tmp2;