Lines Matching refs:wait_on_command
506 #define wait_on_command(quiet, command, iterations) { \
531 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG);
533 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG);
535 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG);
537 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG);
547 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG);
549 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG);
551 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG);
654 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG);
665 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG);
667 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG);
677 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG);
679 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG);
681 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG);
691 wait_on_command(0, sonypi_call3(0x90, fn, v), ITERATIONS_SHORT);