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()
1194 static int __init pc87427_find(int sioaddr, struct pc87427_sio_data *sio_data) in pc87427_find() argument
1200 err = superio_enter(sioaddr); in pc87427_find()
1205 val = force_id ? force_id : superio_inb(sioaddr, SIOREG_DEVID); in pc87427_find()
1214 superio_outb(sioaddr, SIOREG_LDSEL, logdev[i]); in pc87427_find()
1216 val = superio_inb(sioaddr, SIOREG_ACT); in pc87427_find()
1223 val = superio_inb(sioaddr, SIOREG_MAP); in pc87427_find()
1230 val = (superio_inb(sioaddr, SIOREG_IOBASE) << 8) in pc87427_find()
1231 | superio_inb(sioaddr, SIOREG_IOBASE + 1); in pc87427_find()
1249 cfg = superio_inb(sioaddr, SIOREG_CF2); in pc87427_find()
1255 cfg = superio_inb(sioaddr, SIOREG_CFD); in pc87427_find()
1259 cfg = superio_inb(sioaddr, SIOREG_CF4); in pc87427_find()
1262 cfg_b = superio_inb(sioaddr, SIOREG_CFB); in pc87427_find()
1265 cfg = superio_inb(sioaddr, SIOREG_CF3); in pc87427_find()
1274 cfg = superio_inb(sioaddr, SIOREG_CFC); in pc87427_find()
1283 cfg = superio_inb(sioaddr, SIOREG_CF5); in pc87427_find()
1290 superio_exit(sioaddr); in pc87427_find()