Lines Matching refs:sioaddr
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()
123 outb(0x02, sioaddr + 1); in superio_exit()
124 release_region(sioaddr, 2); in superio_exit()
1192 static int __init pc87427_find(int sioaddr, struct pc87427_sio_data *sio_data) in pc87427_find() argument
1198 err = superio_enter(sioaddr); in pc87427_find()
1203 val = force_id ? force_id : superio_inb(sioaddr, SIOREG_DEVID); in pc87427_find()
1212 superio_outb(sioaddr, SIOREG_LDSEL, logdev[i]); in pc87427_find()
1214 val = superio_inb(sioaddr, SIOREG_ACT); in pc87427_find()
1221 val = superio_inb(sioaddr, SIOREG_MAP); in pc87427_find()
1228 val = (superio_inb(sioaddr, SIOREG_IOBASE) << 8) in pc87427_find()
1229 | superio_inb(sioaddr, SIOREG_IOBASE + 1); in pc87427_find()
1247 cfg = superio_inb(sioaddr, SIOREG_CF2); in pc87427_find()
1253 cfg = superio_inb(sioaddr, SIOREG_CFD); in pc87427_find()
1257 cfg = superio_inb(sioaddr, SIOREG_CF4); in pc87427_find()
1260 cfg_b = superio_inb(sioaddr, SIOREG_CFB); in pc87427_find()
1263 cfg = superio_inb(sioaddr, SIOREG_CF3); in pc87427_find()
1272 cfg = superio_inb(sioaddr, SIOREG_CFC); in pc87427_find()
1281 cfg = superio_inb(sioaddr, SIOREG_CF5); in pc87427_find()
1288 superio_exit(sioaddr); in pc87427_find()