Lines Matching refs:inb
72 byte = inb(base + SMBHSTSTAT); in smbus_wait_until_ready()
87 byte = inb(base + SMBHSTSTAT); in smbus_wait_until_done()
110 inb(base + SMBHSTCTL); in smbus_block_read()
117 outb((inb(base + SMBHSTCTL) & (~(0x7) << 2)) | (0x5 << 2), in smbus_block_read()
120 outb(inb(base + SMBHSTSTAT), base + SMBHSTSTAT); in smbus_block_read()
123 outb((inb(base + SMBHSTCTL) | SMBHSTCNT_START), base + SMBHSTCTL); in smbus_block_read()
131 count = inb(base + SMBHSTDAT0); in smbus_block_read()
150 buf_temp[i] = inb(base + SMBBLKDAT); in smbus_block_read()
155 if (!(inb(base + SMBHSTSTAT) & SMBHSTSTS_INTR)) in smbus_block_read()
177 outb((inb(base + SMBHSTCTL) & (~(0x7) << 2)) | (0x5 << 2), in smbus_block_write()
180 outb(inb(base + SMBHSTSTAT), base + SMBHSTSTAT); in smbus_block_write()
190 outb((inb(base + SMBHSTCTL) | SMBHSTCNT_START), base + SMBHSTCTL); in smbus_block_write()
199 if (!(inb(base + SMBHSTSTAT) & SMBHSTSTS_INTR)) in smbus_block_write()
262 outb(inb(base + SMBHSTCTL) & ~SMBHSTCNT_INTREN, base + SMBHSTCTL); in intel_i2c_probe()
265 outb(inb(base + SMBAUXCTL) | SMBAUXCTL_E32B, base + SMBAUXCTL); in intel_i2c_probe()