/linux/drivers/watchdog/ |
H A D | f71808e_wdt.c | 137 unsigned short sioaddr; member 264 err = superio_enter(wd->sioaddr); in fintek_wdt_keepalive() 282 superio_exit(wd->sioaddr); in fintek_wdt_keepalive() 408 superio_exit(wd->sioaddr); in fintek_wdt_start() 426 superio_exit(wd->sioaddr); in fintek_wdt_stop() 453 int sioaddr; in fintek_wdt_probe() local 459 sioaddr = res->start; in fintek_wdt_probe() 468 wd->sioaddr = sioaddr; in fintek_wdt_probe() 478 err = superio_enter(sioaddr); in fintek_wdt_probe() 497 superio_exit(sioaddr); in fintek_wdt_probe() [all …]
|
/linux/drivers/hwmon/ |
H A D | it87.c | 554 int sioaddr; member 578 int sioaddr; member 2710 __superio_enter(sioaddr); in it87_find() 2808 __superio_enter(sioaddr); in it87_find() 2812 superio_select(sioaddr, PME); in it87_find() 2815 config->model, sioaddr); in it87_find() 2822 config->model, sioaddr); in it87_find() 2827 sio_data->sioaddr = sioaddr; in it87_find() 2859 superio_select(sioaddr, 5); in it87_find() 3182 superio_select(sioaddr, PME); in it87_find() [all …]
|
H A D | pc87427.c | 101 static inline int superio_enter(int sioaddr) in superio_enter() argument 110 outb(reg, sioaddr); in superio_outb() 111 outb(val, sioaddr + 1); in superio_outb() 116 outb(reg, sioaddr); in superio_inb() 117 return inb(sioaddr + 1); in superio_inb() 120 static inline void superio_exit(int sioaddr) in superio_exit() argument 122 outb(0x02, sioaddr); in superio_exit() 123 outb(0x02, sioaddr + 1); in superio_exit() 124 release_region(sioaddr, 2); in superio_exit() 1198 err = superio_enter(sioaddr); in pc87427_find() [all …]
|
H A D | sch56xx-common.c | 558 static int __init sch56xx_find(int sioaddr, const char **name) in sch56xx_find() argument 564 err = superio_enter(sioaddr); in sch56xx_find() 568 devid = superio_inb(sioaddr, SIO_REG_DEVID); in sch56xx_find() 583 superio_select(sioaddr, SIO_SCH56XX_LD_EM); in sch56xx_find() 585 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in sch56xx_find() 595 address = superio_inb(sioaddr, SIO_REG_ADDR) | in sch56xx_find() 596 superio_inb(sioaddr, SIO_REG_ADDR + 1) << 8; in sch56xx_find() 605 superio_exit(sioaddr); in sch56xx_find()
|
H A D | nct6683.c | 1361 err = superio_enter(sioaddr); in nct6683_find() 1365 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) in nct6683_find() 1385 superio_select(sioaddr, NCT6683_LD_HWM); in nct6683_find() 1386 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in nct6683_find() 1387 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in nct6683_find() 1395 val = superio_inb(sioaddr, SIO_REG_ENABLE); in nct6683_find() 1401 superio_exit(sioaddr); in nct6683_find() 1404 sio_data->sioreg = sioaddr; in nct6683_find() 1409 superio_exit(sioaddr); in nct6683_find() 1424 int sioaddr[2] = { 0x2e, 0x4e }; in sensors_nct6683_init() local [all …]
|
H A D | pc87360.c | 89 outb(reg, sioaddr); in superio_outb() 90 outb(val, sioaddr + 1); in superio_outb() 95 outb(reg, sioaddr); in superio_inb() 96 return inb(sioaddr + 1); in superio_inb() 99 static inline void superio_exit(int sioaddr) in superio_exit() argument 101 outb(0x02, sioaddr); in superio_exit() 102 outb(0x02, sioaddr + 1); in superio_exit() 1638 superio_exit(sioaddr); in pc87360_find() 1648 val = superio_inb(sioaddr, ACT); in pc87360_find() 1655 | superio_inb(sioaddr, BASE + 1); in pc87360_find() [all …]
|
H A D | w83627hf.c | 53 int sioaddr; member 102 outb(reg, sio->sioaddr); in superio_outb() 103 outb(val, sio->sioaddr + 1); in superio_outb() 109 outb(reg, sio->sioaddr); in superio_inb() 110 return inb(sio->sioaddr + 1); in superio_inb() 116 outb(DEV, sio->sioaddr); in superio_select() 117 outb(ld, sio->sioaddr + 1); in superio_select() 126 outb(0x87, sio->sioaddr); in superio_enter() 127 outb(0x87, sio->sioaddr); in superio_enter() 135 outb(0xAA, sio->sioaddr); in superio_exit() [all …]
|
H A D | w83627ehf.c | 2038 err = superio_enter(sioaddr); in w83627ehf_find() 2045 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) in w83627ehf_find() 2046 | superio_inb(sioaddr, SIO_REG_DEVID + 1); in w83627ehf_find() 2079 superio_exit(sioaddr); in w83627ehf_find() 2084 superio_select(sioaddr, W83627EHF_LD_HWM); in w83627ehf_find() 2085 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in w83627ehf_find() 2086 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in w83627ehf_find() 2090 superio_exit(sioaddr); in w83627ehf_find() 2095 val = superio_inb(sioaddr, SIO_REG_ENABLE); in w83627ehf_find() 2101 superio_exit(sioaddr); in w83627ehf_find() [all …]
|
H A D | f71805f.c | 1552 static int __init f71805f_find(int sioaddr, unsigned short *address, in f71805f_find() argument 1563 err = superio_enter(sioaddr); in f71805f_find() 1568 devid = superio_inw(sioaddr, SIO_REG_MANID); in f71805f_find() 1572 devid = force_id ? force_id : superio_inw(sioaddr, SIO_REG_DEVID); in f71805f_find() 1579 sio_data->fnsel1 = superio_inb(sioaddr, SIO_REG_FNSEL1); in f71805f_find() 1586 superio_select(sioaddr, F71805F_LD_HWM); in f71805f_find() 1587 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in f71805f_find() 1592 *address = superio_inw(sioaddr, SIO_REG_ADDR); in f71805f_find() 1602 superio_inb(sioaddr, SIO_REG_DEVREV)); in f71805f_find() 1605 superio_exit(sioaddr); in f71805f_find()
|
H A D | nct6775-platform.c | 985 static int __init nct6775_find(int sioaddr, struct nct6775_sio_data *sio_data) in nct6775_find() argument 992 sio_data->sioreg = sioaddr; in nct6775_find() 1076 nct6775_sio_names[sio_data->kind], sioaddr, addr); in nct6775_find() 1505 int sioaddr[2] = { 0x2e, 0x4e }; in sensors_nct6775_platform_init() local 1543 address = nct6775_find(sioaddr[i], &sio_data); in sensors_nct6775_platform_init()
|
H A D | f71882fg.c | 2511 static int __init f71882fg_find(int sioaddr, struct f71882fg_sio_data *sio_data) in f71882fg_find() argument 2515 int err = superio_enter(sioaddr); in f71882fg_find() 2519 devid = superio_inw(sioaddr, SIO_REG_MANID); in f71882fg_find() 2526 devid = force_id ? force_id : superio_inw(sioaddr, SIO_REG_DEVID); in f71882fg_find() 2583 superio_select(sioaddr, SIO_F71858FG_LD_HWM); in f71882fg_find() 2585 superio_select(sioaddr, SIO_F71882FG_LD_HWM); in f71882fg_find() 2587 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in f71882fg_find() 2593 address = superio_inw(sioaddr, SIO_REG_ADDR); in f71882fg_find() 2604 (int)superio_inb(sioaddr, SIO_REG_DEVREV)); in f71882fg_find() 2606 superio_exit(sioaddr); in f71882fg_find()
|