sio_cip 2015 drivers/hwmon/dme1737.c static inline void dme1737_sio_enter(int sio_cip) sio_cip 2017 drivers/hwmon/dme1737.c outb(0x55, sio_cip); sio_cip 2020 drivers/hwmon/dme1737.c static inline void dme1737_sio_exit(int sio_cip) sio_cip 2022 drivers/hwmon/dme1737.c outb(0xaa, sio_cip); sio_cip 2025 drivers/hwmon/dme1737.c static inline int dme1737_sio_inb(int sio_cip, int reg) sio_cip 2027 drivers/hwmon/dme1737.c outb(reg, sio_cip); sio_cip 2028 drivers/hwmon/dme1737.c return inb(sio_cip + 1); sio_cip 2031 drivers/hwmon/dme1737.c static inline void dme1737_sio_outb(int sio_cip, int reg, int val) sio_cip 2033 drivers/hwmon/dme1737.c outb(reg, sio_cip); sio_cip 2034 drivers/hwmon/dme1737.c outb(val, sio_cip + 1); sio_cip 2382 drivers/hwmon/dme1737.c static int dme1737_i2c_get_features(int sio_cip, struct dme1737_data *data) sio_cip 2387 drivers/hwmon/dme1737.c dme1737_sio_enter(sio_cip); sio_cip 2393 drivers/hwmon/dme1737.c reg = force_id ? force_id : dme1737_sio_inb(sio_cip, 0x20); sio_cip 2401 drivers/hwmon/dme1737.c dme1737_sio_outb(sio_cip, 0x07, 0x0a); sio_cip 2404 drivers/hwmon/dme1737.c addr = (dme1737_sio_inb(sio_cip, 0x60) << 8) | sio_cip 2405 drivers/hwmon/dme1737.c dme1737_sio_inb(sio_cip, 0x61); sio_cip 2426 drivers/hwmon/dme1737.c dme1737_sio_exit(sio_cip); sio_cip 2543 drivers/hwmon/dme1737.c static int __init dme1737_isa_detect(int sio_cip, unsigned short *addr) sio_cip 2548 drivers/hwmon/dme1737.c dme1737_sio_enter(sio_cip); sio_cip 2554 drivers/hwmon/dme1737.c reg = force_id ? force_id : dme1737_sio_inb(sio_cip, 0x20); sio_cip 2562 drivers/hwmon/dme1737.c dme1737_sio_outb(sio_cip, 0x07, 0x0a); sio_cip 2565 drivers/hwmon/dme1737.c base_addr = (dme1737_sio_inb(sio_cip, 0x60) << 8) | sio_cip 2566 drivers/hwmon/dme1737.c dme1737_sio_inb(sio_cip, 0x61); sio_cip 2580 drivers/hwmon/dme1737.c dme1737_sio_exit(sio_cip); sio_cip 198 drivers/hwmon/vt1211.c static inline void superio_outb(int sio_cip, int reg, int val) sio_cip 200 drivers/hwmon/vt1211.c outb(reg, sio_cip); sio_cip 201 drivers/hwmon/vt1211.c outb(val, sio_cip + 1); sio_cip 204 drivers/hwmon/vt1211.c static inline int superio_inb(int sio_cip, int reg) sio_cip 206 drivers/hwmon/vt1211.c outb(reg, sio_cip); sio_cip 207 drivers/hwmon/vt1211.c return inb(sio_cip + 1); sio_cip 210 drivers/hwmon/vt1211.c static inline void superio_select(int sio_cip, int ldn) sio_cip 212 drivers/hwmon/vt1211.c outb(SIO_VT1211_LDN, sio_cip); sio_cip 213 drivers/hwmon/vt1211.c outb(ldn, sio_cip + 1); sio_cip 216 drivers/hwmon/vt1211.c static inline int superio_enter(int sio_cip) sio_cip 218 drivers/hwmon/vt1211.c if (!request_muxed_region(sio_cip, 2, DRVNAME)) sio_cip 221 drivers/hwmon/vt1211.c outb(0x87, sio_cip); sio_cip 222 drivers/hwmon/vt1211.c outb(0x87, sio_cip); sio_cip 227 drivers/hwmon/vt1211.c static inline void superio_exit(int sio_cip) sio_cip 229 drivers/hwmon/vt1211.c outb(0xaa, sio_cip); sio_cip 230 drivers/hwmon/vt1211.c release_region(sio_cip, 2); sio_cip 1276 drivers/hwmon/vt1211.c static int __init vt1211_find(int sio_cip, unsigned short *address) sio_cip 1281 drivers/hwmon/vt1211.c err = superio_enter(sio_cip); sio_cip 1286 drivers/hwmon/vt1211.c devid = force_id ? force_id : superio_inb(sio_cip, SIO_VT1211_DEVID); sio_cip 1290 drivers/hwmon/vt1211.c superio_select(sio_cip, SIO_VT1211_LDN_HWMON); sio_cip 1292 drivers/hwmon/vt1211.c if ((superio_inb(sio_cip, SIO_VT1211_ACTIVE) & 1) == 0) { sio_cip 1297 drivers/hwmon/vt1211.c *address = ((superio_inb(sio_cip, SIO_VT1211_BADDR) << 8) | sio_cip 1298 drivers/hwmon/vt1211.c (superio_inb(sio_cip, SIO_VT1211_BADDR + 1))) & 0xff00; sio_cip 1306 drivers/hwmon/vt1211.c *address, superio_inb(sio_cip, SIO_VT1211_DEVREV)); sio_cip 1309 drivers/hwmon/vt1211.c superio_exit(sio_cip);