/linux-6.12.1/drivers/watchdog/ ! |
D | f71808e_wdt.c | 137 unsigned short sioaddr; member 264 err = superio_enter(wd->sioaddr); in fintek_wdt_keepalive() 267 superio_select(wd->sioaddr, SIO_F71808FG_LD_WDT); in fintek_wdt_keepalive() 271 superio_set_bit(wd->sioaddr, F71808FG_REG_WDT_CONF, in fintek_wdt_keepalive() 275 superio_clear_bit(wd->sioaddr, F71808FG_REG_WDT_CONF, in fintek_wdt_keepalive() 279 superio_outb(wd->sioaddr, F71808FG_REG_WD_TIME, in fintek_wdt_keepalive() 282 superio_exit(wd->sioaddr); in fintek_wdt_keepalive() 298 err = superio_enter(wd->sioaddr); in fintek_wdt_start() 301 superio_select(wd->sioaddr, SIO_F71808FG_LD_WDT); in fintek_wdt_start() 307 superio_clear_bit(wd->sioaddr, SIO_REG_MFUNCT2, 3); in fintek_wdt_start() [all …]
|
/linux-6.12.1/drivers/hwmon/ ! |
D | it87.c | 554 int sioaddr; member 578 int sioaddr; member 746 err = superio_enter(data->sioaddr, has_noconf(data)); in smbus_disable() 749 superio_select(data->sioaddr, PME); in smbus_disable() 750 superio_outb(data->sioaddr, IT87_SPECIAL_CFG_REG, in smbus_disable() 752 superio_exit(data->sioaddr, has_noconf(data)); in smbus_disable() 762 err = superio_enter(data->sioaddr, has_noconf(data)); in smbus_enable() 766 superio_select(data->sioaddr, PME); in smbus_enable() 767 superio_outb(data->sioaddr, IT87_SPECIAL_CFG_REG, in smbus_enable() 769 superio_exit(data->sioaddr, has_noconf(data)); in smbus_enable() [all …]
|
D | pc87427.c | 101 static inline int superio_enter(int sioaddr) in superio_enter() argument 103 if (!request_muxed_region(sioaddr, 2, DRVNAME)) in superio_enter() 108 static inline void superio_outb(int sioaddr, int reg, int val) in superio_outb() argument 110 outb(reg, sioaddr); in superio_outb() 111 outb(val, sioaddr + 1); in superio_outb() 114 static inline int superio_inb(int sioaddr, int reg) in superio_inb() argument 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() [all …]
|
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()
|
D | nct6683.c | 1355 static int __init nct6683_find(int sioaddr, struct nct6683_sio_data *sio_data) in nct6683_find() argument 1361 err = superio_enter(sioaddr); in nct6683_find() 1365 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) in nct6683_find() 1366 | superio_inb(sioaddr, SIO_REG_DEVID + 1); 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() 1398 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); in nct6683_find() 1401 superio_exit(sioaddr); in nct6683_find() [all …]
|
D | pc87360.c | 87 static inline void superio_outb(int sioaddr, int reg, int val) in superio_outb() argument 89 outb(reg, sioaddr); in superio_outb() 90 outb(val, sioaddr + 1); in superio_outb() 93 static inline int superio_inb(int sioaddr, int reg) in superio_inb() argument 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() 1616 static int __init pc87360_find(int sioaddr, u8 *devid, in pc87360_find() argument [all …]
|
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() 123 if (!request_muxed_region(sio->sioaddr, 2, DRVNAME)) in superio_enter() 126 outb(0x87, sio->sioaddr); in superio_enter() 127 outb(0x87, sio->sioaddr); in superio_enter() [all …]
|
D | w83627ehf.c | 2023 static int __init w83627ehf_find(int sioaddr, unsigned short *addr, in w83627ehf_find() argument 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() [all …]
|
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()
|
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()
|
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()
|