Lines Matching refs:VIAPM_OUTB
78 #define VIAPM_OUTB(port,val) \
385 VIAPM_OUTB(SMBSCTRL, VIAPM_INB(SMBSCTRL) & ~SMBSCTRL_ENABLE);
393 VIAPM_OUTB(SMBHCTRL, VIAPM_INB(SMBHCTRL) | SMBHCTRL_ENABLE);
428 VIAPM_OUTB(GPIO_DIR, VIAPM_INB(GPIO_DIR) | VIAPM_SCL | VIAPM_SDA);
504 VIAPM_OUTB(GPIO_VAL, val);
524 VIAPM_OUTB(GPIO_VAL, val);
567 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_KILL);
576 VIAPM_OUTB(SMBHST, SMBHST_FAILED | SMBHST_COLLID |
674 VIAPM_OUTB(SMBHADDR, slave & ~LSB);
678 VIAPM_OUTB(SMBHADDR, slave | LSB);
684 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_START | SMBHCTRL_QUICK);
705 VIAPM_OUTB(SMBHADDR, slave & ~ LSB);
706 VIAPM_OUTB(SMBHCMD, byte);
708 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_START | SMBHCTRL_SENDRECV);
731 VIAPM_OUTB(SMBHADDR, slave | LSB);
733 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_START | SMBHCTRL_SENDRECV);
757 VIAPM_OUTB(SMBHADDR, slave & ~ LSB);
758 VIAPM_OUTB(SMBHCMD, cmd);
759 VIAPM_OUTB(SMBHDATA0, byte);
761 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_START | SMBHCTRL_BYTE);
784 VIAPM_OUTB(SMBHADDR, slave | LSB);
785 VIAPM_OUTB(SMBHCMD, cmd);
787 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_START | SMBHCTRL_BYTE);
811 VIAPM_OUTB(SMBHADDR, slave & ~ LSB);
812 VIAPM_OUTB(SMBHCMD, cmd);
813 VIAPM_OUTB(SMBHDATA0, word & 0x00ff);
814 VIAPM_OUTB(SMBHDATA1, (word & 0xff00) >> 8);
816 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_START | SMBHCTRL_WORD);
840 VIAPM_OUTB(SMBHADDR, slave | LSB);
841 VIAPM_OUTB(SMBHCMD, cmd);
843 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_START | SMBHCTRL_WORD);
875 VIAPM_OUTB(SMBHADDR, slave & ~LSB);
876 VIAPM_OUTB(SMBHCMD, cmd);
877 VIAPM_OUTB(SMBHDATA0, count);
882 VIAPM_OUTB(SMBHBLOCK, buf[i]);
885 VIAPM_OUTB(SMBHCMD, cmd);
886 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_START | SMBHCTRL_BLOCK);
914 VIAPM_OUTB(SMBHADDR, slave | LSB);
915 VIAPM_OUTB(SMBHCMD, cmd);
916 VIAPM_OUTB(SMBHCTRL, SMBHCTRL_START | SMBHCTRL_BLOCK);