Lines Matching refs:error

271 	int i, error;  in __i8042_command()  local
276 error = i8042_wait_write(); in __i8042_command()
277 if (error) in __i8042_command()
278 return error; in __i8042_command()
284 error = i8042_wait_write(); in __i8042_command()
285 if (error) in __i8042_command()
286 return error; in __i8042_command()
292 error = i8042_wait_read(); in __i8042_command()
293 if (error) { in __i8042_command()
295 return error; in __i8042_command()
1098 int error; in i8042_dritek_enable() local
1100 error = i8042_command(&param, 0x1059); in i8042_dritek_enable()
1101 if (error) in i8042_dritek_enable()
1102 pr_warn("Failed to enable DRITEK extension: %d\n", error); in i8042_dritek_enable()
1115 int error; in i8042_controller_resume() local
1117 error = i8042_controller_check(); in i8042_controller_resume()
1118 if (error) in i8042_controller_resume()
1119 return error; in i8042_controller_resume()
1122 error = i8042_controller_selftest(); in i8042_controller_resume()
1123 if (error) in i8042_controller_resume()
1124 return error; in i8042_controller_resume()
1404 int error; in i8042_setup_aux() local
1411 error = i8042_create_aux_port(-1); in i8042_setup_aux()
1412 if (error) in i8042_setup_aux()
1417 error = i8042_create_aux_port(i); in i8042_setup_aux()
1418 if (error) in i8042_setup_aux()
1424 error = request_irq(I8042_AUX_IRQ, i8042_interrupt, IRQF_SHARED, in i8042_setup_aux()
1426 if (error) in i8042_setup_aux()
1439 return error; in i8042_setup_aux()
1444 int error; in i8042_setup_kbd() local
1446 error = i8042_create_kbd_port(); in i8042_setup_kbd()
1447 if (error) in i8042_setup_kbd()
1448 return error; in i8042_setup_kbd()
1450 error = request_irq(I8042_KBD_IRQ, i8042_interrupt, IRQF_SHARED, in i8042_setup_kbd()
1452 if (error) in i8042_setup_kbd()
1455 error = i8042_enable_kbd_port(); in i8042_setup_kbd()
1456 if (error) in i8042_setup_kbd()
1466 return error; in i8042_setup_kbd()
1494 int error; in i8042_probe() local
1499 error = i8042_controller_selftest(); in i8042_probe()
1500 if (error) in i8042_probe()
1501 return error; in i8042_probe()
1504 error = i8042_controller_init(); in i8042_probe()
1505 if (error) in i8042_probe()
1506 return error; in i8042_probe()
1514 error = i8042_setup_aux(); in i8042_probe()
1515 if (error && error != -ENODEV && error != -EBUSY) in i8042_probe()
1520 error = i8042_setup_kbd(); in i8042_probe()
1521 if (error) in i8042_probe()
1537 return error; in i8042_probe()