Lines Matching refs:sioaddr
4345 static void nct6791_enable_io_mapping(int sioaddr) in nct6791_enable_io_mapping() argument
4349 val = superio_inb(sioaddr, NCT6791_REG_HM_IO_SPACE_LOCK_ENABLE); in nct6791_enable_io_mapping()
4352 superio_outb(sioaddr, NCT6791_REG_HM_IO_SPACE_LOCK_ENABLE, in nct6791_enable_io_mapping()
4453 static int __init nct6775_find(int sioaddr, struct nct6775_sio_data *sio_data) in nct6775_find() argument
4459 err = superio_enter(sioaddr); in nct6775_find()
4463 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) | in nct6775_find()
4464 superio_inb(sioaddr, SIO_REG_DEVID + 1); in nct6775_find()
4499 superio_exit(sioaddr); in nct6775_find()
4504 superio_select(sioaddr, NCT6775_LD_HWM); in nct6775_find()
4505 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in nct6775_find()
4506 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in nct6775_find()
4510 superio_exit(sioaddr); in nct6775_find()
4515 val = superio_inb(sioaddr, SIO_REG_ENABLE); in nct6775_find()
4518 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); in nct6775_find()
4524 nct6791_enable_io_mapping(sioaddr); in nct6775_find()
4526 superio_exit(sioaddr); in nct6775_find()
4528 nct6775_sio_names[sio_data->kind], sioaddr, addr); in nct6775_find()
4529 sio_data->sioreg = sioaddr; in nct6775_find()
4549 int sioaddr[2] = { 0x2e, 0x4e }; in sensors_nct6775_init() local
4563 address = nct6775_find(sioaddr[i], &sio_data); in sensors_nct6775_init()