Searched refs:wait_on_command (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/char/ |
H A D | sonypi.c | 505 #define wait_on_command(quiet, command, iterations) { \ macro 530 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); sonypi_ec_write() 532 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); sonypi_ec_write() 534 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); sonypi_ec_write() 536 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); sonypi_ec_write() 546 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); sonypi_ec_read() 548 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); sonypi_ec_read() 550 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); sonypi_ec_read() 653 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); sonypi_call1() 664 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); sonypi_call2() 666 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); sonypi_call2() 676 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); sonypi_call3() 678 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); sonypi_call3() 680 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); sonypi_call3() 706 wait_on_command(0, sonypi_call3(0x90, fn, v), ITERATIONS_SHORT); sonypi_set()
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | sony-laptop.c | 3585 #define wait_on_command(command, iterations) { \ macro 3598 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, sony_pic_call1() 3611 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, sony_pic_call2() 3614 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, sony_pic_call2() 3626 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); sony_pic_call3() 3628 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); sony_pic_call3() 3630 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); sony_pic_call3() 3772 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_PICTURE, __sony_pic_camera_off() 3815 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_CONTROL, __sony_pic_camera_on() 3839 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_BRIGHTNESS, value), sony_pic_camera_command() 3843 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_CONTRAST, value), sony_pic_camera_command() 3847 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_HUE, value), sony_pic_camera_command() 3851 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_COLOR, value), sony_pic_camera_command() 3855 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_SHARPNESS, value), sony_pic_camera_command() 3859 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_PICTURE, value), sony_pic_camera_command() 3863 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_AGC, value), sony_pic_camera_command()
|
Completed in 151 milliseconds