Lines Matching refs:h2
30 int h1, h2; in saa7146_i2c_msg_prepare() local
58 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
59 op[h1] |= cpu_to_le32( (u8)addr << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
60 op[h1] |= cpu_to_le32(SAA7146_I2C_START << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
66 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
67 op[h1] |= cpu_to_le32( (u32)((u8)m[i].buf[j]) << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
68 op[h1] |= cpu_to_le32( SAA7146_I2C_CONT << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
76 h1 = (op_count-1)/3; h2 = (op_count-1)%3; in saa7146_i2c_msg_prepare()
77 if ( SAA7146_I2C_CONT == (0x3 & (le32_to_cpu(op[h1]) >> ((3-h2)*2))) ) { in saa7146_i2c_msg_prepare()
78 op[h1] &= ~cpu_to_le32(0x2 << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
79 op[h1] |= cpu_to_le32(SAA7146_I2C_STOP << ((3-h2)*2)); in saa7146_i2c_msg_prepare()