Home
last modified time | relevance | path

Searched refs:sioaddr (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/watchdog/
Df71808e_wdt.c134 unsigned short sioaddr; member
272 err = superio_enter(watchdog.sioaddr); in watchdog_keepalive()
275 superio_select(watchdog.sioaddr, SIO_F71808FG_LD_WDT); in watchdog_keepalive()
279 superio_set_bit(watchdog.sioaddr, F71808FG_REG_WDT_CONF, in watchdog_keepalive()
283 superio_clear_bit(watchdog.sioaddr, F71808FG_REG_WDT_CONF, in watchdog_keepalive()
287 superio_outb(watchdog.sioaddr, F71808FG_REG_WD_TIME, in watchdog_keepalive()
290 superio_exit(watchdog.sioaddr); in watchdog_keepalive()
327 err = superio_enter(watchdog.sioaddr); in watchdog_start()
330 superio_select(watchdog.sioaddr, SIO_F71808FG_LD_WDT); in watchdog_start()
336 superio_clear_bit(watchdog.sioaddr, SIO_REG_MFUNCT2, 3); in watchdog_start()
[all …]
/linux-2.6.39/drivers/hwmon/
Dpc87427.c107 static inline void superio_outb(int sioaddr, int reg, int val) in superio_outb() argument
109 outb(reg, sioaddr); in superio_outb()
110 outb(val, sioaddr + 1); in superio_outb()
113 static inline int superio_inb(int sioaddr, int reg) in superio_inb() argument
115 outb(reg, sioaddr); in superio_inb()
116 return inb(sioaddr + 1); in superio_inb()
119 static inline void superio_exit(int sioaddr) in superio_exit() argument
121 outb(0x02, sioaddr); in superio_exit()
122 outb(0x02, sioaddr + 1); in superio_exit()
1232 static int __init pc87427_find(int sioaddr, struct pc87427_sio_data *sio_data) in pc87427_find() argument
[all …]
Dpc87360.c88 static inline void superio_outb(int sioaddr, int reg, int val) in superio_outb() argument
90 outb(reg, sioaddr); in superio_outb()
91 outb(val, sioaddr+1); in superio_outb()
94 static inline int superio_inb(int sioaddr, int reg) in superio_inb() argument
96 outb(reg, sioaddr); in superio_inb()
97 return inb(sioaddr+1); in superio_inb()
100 static inline void superio_exit(int sioaddr) in superio_exit() argument
102 outb(0x02, sioaddr); in superio_exit()
103 outb(0x02, sioaddr+1); in superio_exit()
1003 static int __init pc87360_find(int sioaddr, u8 *devid, unsigned short *addresses) in pc87360_find() argument
[all …]
Dsch5627.c735 static int __init sch5627_find(int sioaddr, unsigned short *address) in sch5627_find() argument
738 int err = superio_enter(sioaddr); in sch5627_find()
742 devid = superio_inb(sioaddr, SIO_REG_DEVID); in sch5627_find()
750 superio_select(sioaddr, SIO_SCH5627_EM_LD); in sch5627_find()
752 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in sch5627_find()
762 *address = superio_inb(sioaddr, SIO_REG_ADDR) | in sch5627_find()
763 superio_inb(sioaddr, SIO_REG_ADDR + 1) << 8; in sch5627_find()
772 superio_exit(sioaddr); in sch5627_find()
Dw83627hf.c66 int sioaddr; member
115 outb(reg, sio->sioaddr); in superio_outb()
116 outb(val, sio->sioaddr + 1); in superio_outb()
122 outb(reg, sio->sioaddr); in superio_inb()
123 return inb(sio->sioaddr + 1); in superio_inb()
129 outb(DEV, sio->sioaddr); in superio_select()
130 outb(ld, sio->sioaddr + 1); in superio_select()
136 outb(0x87, sio->sioaddr); in superio_enter()
137 outb(0x87, sio->sioaddr); in superio_enter()
143 outb(0xAA, sio->sioaddr); in superio_exit()
[all …]
Df71805f.c1492 static int __init f71805f_find(int sioaddr, unsigned short *address, in f71805f_find() argument
1503 superio_enter(sioaddr); in f71805f_find()
1505 devid = superio_inw(sioaddr, SIO_REG_MANID); in f71805f_find()
1509 devid = force_id ? force_id : superio_inw(sioaddr, SIO_REG_DEVID); in f71805f_find()
1516 sio_data->fnsel1 = superio_inb(sioaddr, SIO_REG_FNSEL1); in f71805f_find()
1523 superio_select(sioaddr, F71805F_LD_HWM); in f71805f_find()
1524 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in f71805f_find()
1529 *address = superio_inw(sioaddr, SIO_REG_ADDR); in f71805f_find()
1539 superio_inb(sioaddr, SIO_REG_DEVREV)); in f71805f_find()
1542 superio_exit(sioaddr); in f71805f_find()
Dw83627ehf.c2309 static int __init w83627ehf_find(int sioaddr, unsigned short *addr, in w83627ehf_find() argument
2324 superio_enter(sioaddr); in w83627ehf_find()
2329 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) in w83627ehf_find()
2330 | superio_inb(sioaddr, SIO_REG_DEVID + 1); in w83627ehf_find()
2367 superio_exit(sioaddr); in w83627ehf_find()
2372 superio_select(sioaddr, W83627EHF_LD_HWM); in w83627ehf_find()
2373 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in w83627ehf_find()
2374 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in w83627ehf_find()
2378 superio_exit(sioaddr); in w83627ehf_find()
2383 val = superio_inb(sioaddr, SIO_REG_ENABLE); in w83627ehf_find()
[all …]
Df71882fg.c2407 static int __init f71882fg_find(int sioaddr, unsigned short *address, in f71882fg_find() argument
2411 int err = superio_enter(sioaddr); in f71882fg_find()
2415 devid = superio_inw(sioaddr, SIO_REG_MANID); in f71882fg_find()
2422 devid = force_id ? force_id : superio_inw(sioaddr, SIO_REG_DEVID); in f71882fg_find()
2462 superio_select(sioaddr, SIO_F71858FG_LD_HWM); in f71882fg_find()
2464 superio_select(sioaddr, SIO_F71882FG_LD_HWM); in f71882fg_find()
2466 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in f71882fg_find()
2472 *address = superio_inw(sioaddr, SIO_REG_ADDR); in f71882fg_find()
2483 (int)superio_inb(sioaddr, SIO_REG_DEVREV)); in f71882fg_find()
2485 superio_exit(sioaddr); in f71882fg_find()