Searched refs:SONYPI_CST_IOPORT (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/char/ |
H A D | sonypi.c | 138 #define SONYPI_CST_IOPORT 0x66 macro 516 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); in sonypi_ec_write() 517 outb_p(0x81, SONYPI_CST_IOPORT); 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() 533 outb_p(0x80, SONYPI_CST_IOPORT); 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()
|