Lines Matching defs:rc
124 int rc;
135 rc = i2c_smbus_write_byte(&ir->c, (0xff & all) | mask);
138 rc = i2c_smbus_read_byte(&ir->c);
140 if (rc == -1) {
146 if (ir->b[0] == (rc & all))
149 ir->b[0] = rc & all;
151 dprintk("%s key 0x%02X %s\n", ir->c.name, rc & ir->bits,
152 (rc & ir->flag) ? "released" : "pressed");
155 if (rc & ir->flag)
159 key = rc & ir->bits;