Searched refs:wait_on_command (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/char/ |
H A D | sonypi.c | 491 #define wait_on_command(quiet, command, iterations) { \ macro 516 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); in sonypi_ec_write() 518 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 520 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 522 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 532 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); in sonypi_ec_read() 534 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_read() 536 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_read() 639 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); in sonypi_call1() 650 wait_on_command( in sonypi_call2() [all...] |
/kernel/linux/linux-6.6/drivers/char/ |
H A D | sonypi.c | 491 #define wait_on_command(quiet, command, iterations) { \ macro 516 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); in sonypi_ec_write() 518 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 520 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 522 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 532 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); in sonypi_ec_read() 534 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_read() 536 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_read() 639 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); in sonypi_call1() 650 wait_on_command( in sonypi_call2() [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | sony-laptop.c | 3604 #define wait_on_command(command, iterations) { \ macro 3617 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, in sony_pic_call1() 3630 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, in sony_pic_call2() 3633 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, in sony_pic_call2() 3645 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); in sony_pic_call3() 3647 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); in sony_pic_call3() 3649 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); in sony_pic_call3() 3791 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_PICTURE, in __sony_pic_camera_off() 3834 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_CONTROL, in __sony_pic_camera_on() 3858 wait_on_command(sony_pic_call in sony_pic_camera_command() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | sony-laptop.c | 3587 #define wait_on_command(command, iterations) { \ macro 3600 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, in sony_pic_call1() 3613 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, in sony_pic_call2() 3616 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, in sony_pic_call2() 3628 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); in sony_pic_call3() 3630 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); in sony_pic_call3() 3632 wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); in sony_pic_call3() 3774 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_PICTURE, in __sony_pic_camera_off() 3817 wait_on_command(sony_pic_call3(0x90, SONYPI_CAMERA_CONTROL, in __sony_pic_camera_on() 3841 wait_on_command(sony_pic_call in sony_pic_camera_command() [all...] |
Completed in 14 milliseconds