Lines Matching refs:sioaddr
4008 static void nct6791_enable_io_mapping(int sioaddr) in nct6791_enable_io_mapping() argument
4012 val = superio_inb(sioaddr, NCT6791_REG_HM_IO_SPACE_LOCK_ENABLE); in nct6791_enable_io_mapping()
4015 superio_outb(sioaddr, NCT6791_REG_HM_IO_SPACE_LOCK_ENABLE, in nct6791_enable_io_mapping()
4123 static int __init nct6775_find(int sioaddr, struct nct6775_sio_data *sio_data) in nct6775_find() argument
4129 err = superio_enter(sioaddr); in nct6775_find()
4136 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) in nct6775_find()
4137 | superio_inb(sioaddr, SIO_REG_DEVID + 1); in nct6775_find()
4160 superio_exit(sioaddr); in nct6775_find()
4165 superio_select(sioaddr, NCT6775_LD_HWM); in nct6775_find()
4166 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in nct6775_find()
4167 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in nct6775_find()
4171 superio_exit(sioaddr); in nct6775_find()
4176 val = superio_inb(sioaddr, SIO_REG_ENABLE); in nct6775_find()
4179 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); in nct6775_find()
4183 nct6791_enable_io_mapping(sioaddr); in nct6775_find()
4185 superio_exit(sioaddr); in nct6775_find()
4187 nct6775_sio_names[sio_data->kind], sioaddr, addr); in nct6775_find()
4188 sio_data->sioreg = sioaddr; in nct6775_find()
4208 int sioaddr[2] = { 0x2e, 0x4e }; in sensors_nct6775_init() local
4222 address = nct6775_find(sioaddr[i], &sio_data); in sensors_nct6775_init()