Lines Matching refs:error
62 int error;
66 error = kstrtobool(val, &reset);
67 if (error)
68 return error;
304 int i, error;
309 error = i8042_wait_write();
310 if (error)
311 return error;
317 error = i8042_wait_write();
318 if (error) {
320 return error;
327 error = i8042_wait_read();
328 if (error) {
330 return error;
552 dbg("MUX error, status is %02x, data is %02x\n",
559 * port the data came from and signal error leaving the data intact. They
831 * 0x00 - no error, 0x01-0x03 - clock/data stuck, 0xff - general error
832 * 0xfa - no error on some notebooks which ignore the spec
833 * Because it's common for chipsets to return error on perfectly functioning
842 * If AUX_LOOP completed without error but returned unexpected data
1158 int error;
1160 error = i8042_command(¶m, 0x1059);
1161 if (error)
1162 pr_warn("Failed to enable DRITEK extension: %d\n", error);
1175 int error;
1177 error = i8042_controller_check();
1178 if (error)
1179 return error;
1183 error = i8042_controller_selftest();
1184 if (error)
1185 return error;
1453 int error;
1460 error = i8042_create_aux_port(-1);
1461 if (error)
1466 error = i8042_create_aux_port(i);
1467 if (error)
1473 error = request_irq(I8042_AUX_IRQ, i8042_interrupt, IRQF_SHARED,
1475 if (error)
1478 error = aux_enable();
1479 if (error)
1489 return error;
1494 int error;
1496 error = i8042_create_kbd_port();
1497 if (error)
1498 return error;
1500 error = request_irq(I8042_KBD_IRQ, i8042_interrupt, IRQF_SHARED,
1502 if (error)
1505 error = i8042_enable_kbd_port();
1506 if (error)
1516 return error;
1544 int error;
1547 error = i8042_controller_selftest();
1548 if (error)
1549 return error;
1552 error = i8042_controller_init();
1553 if (error)
1554 return error;
1562 error = i8042_setup_aux();
1563 if (error && error != -ENODEV && error != -EBUSY)
1568 error = i8042_setup_kbd();
1569 if (error)
1584 return error;