Lines Matching refs:error

264 	int i, error;  in __i8042_command()  local
269 error = i8042_wait_write(); in __i8042_command()
270 if (error) in __i8042_command()
271 return error; in __i8042_command()
277 error = i8042_wait_write(); in __i8042_command()
278 if (error) in __i8042_command()
279 return error; in __i8042_command()
285 error = i8042_wait_read(); in __i8042_command()
286 if (error) { in __i8042_command()
288 return error; in __i8042_command()
1091 int error; in i8042_dritek_enable() local
1093 error = i8042_command(&param, 0x1059); in i8042_dritek_enable()
1094 if (error) in i8042_dritek_enable()
1095 pr_warn("Failed to enable DRITEK extension: %d\n", error); in i8042_dritek_enable()
1108 int error; in i8042_controller_resume() local
1110 error = i8042_controller_check(); in i8042_controller_resume()
1111 if (error) in i8042_controller_resume()
1112 return error; in i8042_controller_resume()
1115 error = i8042_controller_selftest(); in i8042_controller_resume()
1116 if (error) in i8042_controller_resume()
1117 return error; in i8042_controller_resume()
1376 int error; in i8042_setup_aux() local
1383 error = i8042_create_aux_port(-1); in i8042_setup_aux()
1384 if (error) in i8042_setup_aux()
1389 error = i8042_create_aux_port(i); in i8042_setup_aux()
1390 if (error) in i8042_setup_aux()
1396 error = request_irq(I8042_AUX_IRQ, i8042_interrupt, IRQF_SHARED, in i8042_setup_aux()
1398 if (error) in i8042_setup_aux()
1411 return error; in i8042_setup_aux()
1416 int error; in i8042_setup_kbd() local
1418 error = i8042_create_kbd_port(); in i8042_setup_kbd()
1419 if (error) in i8042_setup_kbd()
1420 return error; in i8042_setup_kbd()
1422 error = request_irq(I8042_KBD_IRQ, i8042_interrupt, IRQF_SHARED, in i8042_setup_kbd()
1424 if (error) in i8042_setup_kbd()
1427 error = i8042_enable_kbd_port(); in i8042_setup_kbd()
1428 if (error) in i8042_setup_kbd()
1438 return error; in i8042_setup_kbd()
1443 int error; in i8042_probe() local
1448 error = i8042_controller_selftest(); in i8042_probe()
1449 if (error) in i8042_probe()
1450 return error; in i8042_probe()
1453 error = i8042_controller_init(); in i8042_probe()
1454 if (error) in i8042_probe()
1455 return error; in i8042_probe()
1463 error = i8042_setup_aux(); in i8042_probe()
1464 if (error && error != -ENODEV && error != -EBUSY) in i8042_probe()
1469 error = i8042_setup_kbd(); in i8042_probe()
1470 if (error) in i8042_probe()
1486 return error; in i8042_probe()