Lines Matching defs:rc
57 int rc;
61 rc = ps2_command(ps2dev, param, command);
62 if (rc == 0)
70 if (rc)
73 return rc;
84 int rc = 0;
97 rc = -1;
107 rc = -1;
112 if (rc)
117 return rc;
127 int rc = 0;
141 rc = -1;
153 rc = -1;
158 if (rc)
162 return rc;
389 int rc = 0;
397 rc = -1;
409 rc = -1;
414 if (rc == 0) {
422 rc = elantech_read_reg(psmouse, 0x10, &val);
423 if (rc == 0)
430 if (rc) {
435 rc = -1;
439 if (rc)
442 return rc;
503 int rc = 0;
506 rc = elantech_read_reg(psmouse, attr->reg, reg);
508 return sprintf(buf, "0x%02x\n", (attr->reg && rc) ? -1 : *reg);