Lines Matching refs:sioaddr
4117 static void nct6791_enable_io_mapping(int sioaddr) in nct6791_enable_io_mapping() argument
4121 val = superio_inb(sioaddr, NCT6791_REG_HM_IO_SPACE_LOCK_ENABLE); in nct6791_enable_io_mapping()
4124 superio_outb(sioaddr, NCT6791_REG_HM_IO_SPACE_LOCK_ENABLE, in nct6791_enable_io_mapping()
4224 static int __init nct6775_find(int sioaddr, struct nct6775_sio_data *sio_data) in nct6775_find() argument
4230 err = superio_enter(sioaddr); in nct6775_find()
4237 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) in nct6775_find()
4238 | superio_inb(sioaddr, SIO_REG_DEVID + 1); in nct6775_find()
4264 superio_exit(sioaddr); in nct6775_find()
4269 superio_select(sioaddr, NCT6775_LD_HWM); in nct6775_find()
4270 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in nct6775_find()
4271 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in nct6775_find()
4275 superio_exit(sioaddr); in nct6775_find()
4280 val = superio_inb(sioaddr, SIO_REG_ENABLE); in nct6775_find()
4283 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); in nct6775_find()
4288 nct6791_enable_io_mapping(sioaddr); in nct6775_find()
4290 superio_exit(sioaddr); in nct6775_find()
4292 nct6775_sio_names[sio_data->kind], sioaddr, addr); in nct6775_find()
4293 sio_data->sioreg = sioaddr; in nct6775_find()
4313 int sioaddr[2] = { 0x2e, 0x4e }; in sensors_nct6775_init() local
4327 address = nct6775_find(sioaddr[i], &sio_data); in sensors_nct6775_init()