Searched refs:I2C_DIR (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-via.c | 22 #define I2C_DIR (pm_io_base+0x40) macro 43 outb(state ? inb(I2C_DIR) & ~I2C_SCL : inb(I2C_DIR) | I2C_SCL, I2C_DIR); in bit_via_setscl() 48 outb(state ? inb(I2C_DIR) & ~I2C_SDA : inb(I2C_DIR) | I2C_SDA, I2C_DIR); in bit_via_setsda() 116 if (!request_region(I2C_DIR, IOSPACE, vt586b_driver.name)) { in vt586b_probe() 117 dev_err(&dev->dev, "IO 0x%x-0x%x already in use\n", I2C_DIR, I2C_DIR + IOSPACE); in vt586b_probe() 121 outb(inb(I2C_DIR) & ~(I2C_SDA | I2C_SCL), I2C_DIR); in vt586b_probe() 129 release_region(I2C_DIR, IOSPACE); in vt586b_probe() 139 release_region(I2C_DIR, IOSPACE); in vt586b_remove()
|