Lines Matching refs:sioaddr
4616 static void nct6791_enable_io_mapping(int sioaddr) in nct6791_enable_io_mapping() argument
4620 val = superio_inb(sioaddr, NCT6791_REG_HM_IO_SPACE_LOCK_ENABLE); in nct6791_enable_io_mapping()
4623 superio_outb(sioaddr, NCT6791_REG_HM_IO_SPACE_LOCK_ENABLE, in nct6791_enable_io_mapping()
4725 static int __init nct6775_find(int sioaddr, struct nct6775_sio_data *sio_data) in nct6775_find() argument
4731 err = superio_enter(sioaddr); in nct6775_find()
4735 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) | in nct6775_find()
4736 superio_inb(sioaddr, SIO_REG_DEVID + 1); in nct6775_find()
4780 superio_exit(sioaddr); in nct6775_find()
4785 superio_select(sioaddr, NCT6775_LD_HWM); in nct6775_find()
4786 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in nct6775_find()
4787 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in nct6775_find()
4791 superio_exit(sioaddr); in nct6775_find()
4796 val = superio_inb(sioaddr, SIO_REG_ENABLE); in nct6775_find()
4799 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); in nct6775_find()
4806 nct6791_enable_io_mapping(sioaddr); in nct6775_find()
4808 superio_exit(sioaddr); in nct6775_find()
4810 nct6775_sio_names[sio_data->kind], sioaddr, addr); in nct6775_find()
4811 sio_data->sioreg = sioaddr; in nct6775_find()
4831 int sioaddr[2] = { 0x2e, 0x4e }; in sensors_nct6775_init() local
4845 address = nct6775_find(sioaddr[i], &sio_data); in sensors_nct6775_init()