/linux-6.3-rc2/drivers/watchdog/ |
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-6.3-rc2/drivers/hwmon/ |
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() 1200 err = superio_enter(sioaddr); in pc87427_find() [all …]
|
A D | it87.c | 520 int sioaddr; member 542 int sioaddr; member 2431 err = superio_enter(sioaddr); in it87_find() 2523 superio_select(sioaddr, PME); in it87_find() 2526 config->model, sioaddr); in it87_find() 2533 config->model, sioaddr); in it87_find() 2538 sio_data->sioaddr = sioaddr; in it87_find() 2568 superio_select(sioaddr, 5); in it87_find() 2574 superio_select(sioaddr, GPIO); in it87_find() 2642 superio_select(sioaddr, GPIO); in it87_find() [all …]
|
A D | sch56xx-common.c | 456 static int __init sch56xx_find(int sioaddr, const char **name) in sch56xx_find() argument 462 err = superio_enter(sioaddr); in sch56xx_find() 466 devid = superio_inb(sioaddr, SIO_REG_DEVID); in sch56xx_find() 481 superio_select(sioaddr, SIO_SCH56XX_LD_EM); in sch56xx_find() 483 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in sch56xx_find() 493 address = superio_inb(sioaddr, SIO_REG_ADDR) | in sch56xx_find() 494 superio_inb(sioaddr, SIO_REG_ADDR + 1) << 8; in sch56xx_find() 503 superio_exit(sioaddr); in sch56xx_find()
|
A D | nct6683.c | 1350 err = superio_enter(sioaddr); in nct6683_find() 1354 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) in nct6683_find() 1374 superio_select(sioaddr, NCT6683_LD_HWM); in nct6683_find() 1375 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in nct6683_find() 1376 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in nct6683_find() 1384 val = superio_inb(sioaddr, SIO_REG_ENABLE); in nct6683_find() 1390 superio_exit(sioaddr); in nct6683_find() 1393 sio_data->sioreg = sioaddr; in nct6683_find() 1398 superio_exit(sioaddr); in nct6683_find() 1413 int sioaddr[2] = { 0x2e, 0x4e }; in sensors_nct6683_init() local [all …]
|
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() 1636 superio_exit(sioaddr); in pc87360_find() 1646 val = superio_inb(sioaddr, ACT); in pc87360_find() 1653 | superio_inb(sioaddr, BASE + 1); in pc87360_find() [all …]
|
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 …]
|
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 …]
|
A D | f71805f.c | 1554 static int __init f71805f_find(int sioaddr, unsigned short *address, in f71805f_find() argument 1565 err = superio_enter(sioaddr); in f71805f_find() 1570 devid = superio_inw(sioaddr, SIO_REG_MANID); in f71805f_find() 1574 devid = force_id ? force_id : superio_inw(sioaddr, SIO_REG_DEVID); in f71805f_find() 1581 sio_data->fnsel1 = superio_inb(sioaddr, SIO_REG_FNSEL1); in f71805f_find() 1588 superio_select(sioaddr, F71805F_LD_HWM); in f71805f_find() 1589 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in f71805f_find() 1594 *address = superio_inw(sioaddr, SIO_REG_ADDR); in f71805f_find() 1604 superio_inb(sioaddr, SIO_REG_DEVREV)); in f71805f_find() 1607 superio_exit(sioaddr); in f71805f_find()
|
A D | nct6775-platform.c | 953 static int __init nct6775_find(int sioaddr, struct nct6775_sio_data *sio_data) in nct6775_find() argument 960 sio_data->sioreg = sioaddr; in nct6775_find() 1041 nct6775_sio_names[sio_data->kind], sioaddr, addr); in nct6775_find() 1204 int sioaddr[2] = { 0x2e, 0x4e }; in sensors_nct6775_platform_init() local 1242 address = nct6775_find(sioaddr[i], &sio_data); in sensors_nct6775_platform_init()
|
A D | f71882fg.c | 2509 static int __init f71882fg_find(int sioaddr, struct f71882fg_sio_data *sio_data) in f71882fg_find() argument 2513 int err = superio_enter(sioaddr); in f71882fg_find() 2517 devid = superio_inw(sioaddr, SIO_REG_MANID); in f71882fg_find() 2524 devid = force_id ? force_id : superio_inw(sioaddr, SIO_REG_DEVID); in f71882fg_find() 2581 superio_select(sioaddr, SIO_F71858FG_LD_HWM); in f71882fg_find() 2583 superio_select(sioaddr, SIO_F71882FG_LD_HWM); in f71882fg_find() 2585 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in f71882fg_find() 2591 address = superio_inw(sioaddr, SIO_REG_ADDR); in f71882fg_find() 2602 (int)superio_inb(sioaddr, SIO_REG_DEVREV)); in f71882fg_find() 2604 superio_exit(sioaddr); in f71882fg_find()
|