Searched refs:SMBHSTCNT (Results 1 – 6 of 6) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-isch.c | 28 #define SMBHSTCNT (0 + sch_smba) macro 65 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb(SMBHSTCNT), in sch_transaction() 91 outb(inb(SMBHSTCNT) | 0x10, SMBHSTCNT); in sch_transaction() 125 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb(SMBHSTCNT), in sch_transaction() 209 dev_dbg(&sch_adapter.dev, "write size %d to 0x%04x\n", size, SMBHSTCNT); in sch_access() 210 outb((inb(SMBHSTCNT) & 0xb0) | (size & 0x7), SMBHSTCNT); in sch_access()
|
D | i2c-ali15x3.c | 61 #define SMBHSTCNT (1 + ali15x3_smba) macro 227 inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), in ali15x3_transaction() 259 outb_p(ALI15X3_T_OUT, SMBHSTCNT); in ali15x3_transaction() 326 inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), in ali15x3_transaction() 401 outb_p(inb_p(SMBHSTCNT) | ALI15X3_BLOCK_CLR, SMBHSTCNT); in ali15x3_access() 412 outb_p(size, SMBHSTCNT); /* output command */ in ali15x3_access() 438 outb_p(inb_p(SMBHSTCNT) | ALI15X3_BLOCK_CLR, SMBHSTCNT); in ali15x3_access()
|
D | i2c-viapro.c | 53 #define SMBHSTCNT (vt596_smba + 2) macro 105 "DAT=%02x,%02x\n", msg, inb_p(SMBHSTSTS), inb_p(SMBHSTCNT), in vt596_dump_regs() 150 outb_p(0x40 | size, SMBHSTCNT); in vt596_transaction() 239 inb_p(SMBHSTCNT); /* Reset SMBBLKDAT */ in vt596_access() 276 inb_p(SMBHSTCNT); /* Reset SMBBLKDAT */ in vt596_access()
|
D | i2c-piix4.c | 41 #define SMBHSTCNT (2 + piix4_smba) macro 446 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT), in piix4_transaction() 464 outb_p(inb(SMBHSTCNT) | 0x040, SMBHSTCNT); in piix4_transaction() 507 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT), in piix4_transaction() 563 inb_p(SMBHSTCNT); /* Reset SMBBLKDAT */ in piix4_access() 574 outb_p((size & 0x1C) + (ENABLE_INT9 & 1), SMBHSTCNT); in piix4_access() 596 inb_p(SMBHSTCNT); /* Reset SMBBLKDAT */ in piix4_access()
|
D | i2c-i801.c | 111 #define SMBHSTCNT(p) (2 + (p)->smba) macro 387 outb_p(inb_p(SMBHSTCNT(priv)) | SMBHSTCNT_KILL, in i801_check_post() 388 SMBHSTCNT(priv)); in i801_check_post() 390 outb_p(inb_p(SMBHSTCNT(priv)) & (~SMBHSTCNT_KILL), in i801_check_post() 391 SMBHSTCNT(priv)); in i801_check_post() 497 SMBHSTCNT(priv)); in i801_transaction() 512 outb_p(xact | SMBHSTCNT_START, SMBHSTCNT(priv)); in i801_transaction() 538 inb_p(SMBHSTCNT(priv)); /* reset the data buffer index */ in i801_block_transaction_by_block() 596 SMBHSTCNT(priv)); in i801_isr_byte_done() 720 outb_p(priv->cmd | SMBHSTCNT_START, SMBHSTCNT(priv)); in i801_block_transaction_byte_by_byte() [all …]
|
/drivers/staging/kpc2000/ |
D | kpc2000_i2c.c | 49 #define SMBHSTCNT(p) ((2 * REG_SIZE) + (p)->smba) macro 166 outb_p(inb_p(SMBHSTCNT(priv)) | SMBHSTCNT_KILL, SMBHSTCNT(priv)); in i801_check_post() 168 outb_p(inb_p(SMBHSTCNT(priv)) & (~SMBHSTCNT_KILL), SMBHSTCNT(priv)); in i801_check_post() 214 outb_p(xact | I801_START, SMBHSTCNT(priv)); in i801_transaction() 252 inb_p(SMBHSTCNT(priv)); /* reset the data buffer index */ in i801_block_transaction_by_block() 309 outb_p(smbcmd | ENABLE_INT9, SMBHSTCNT(priv)); in i801_block_transaction_byte_by_byte() 312 outb_p(inb(SMBHSTCNT(priv)) | I801_START, SMBHSTCNT(priv)); in i801_block_transaction_byte_by_byte()
|