Lines Matching refs:sioaddr
1344 static int __init nct6683_find(int sioaddr, struct nct6683_sio_data *sio_data) in nct6683_find() argument
1350 err = superio_enter(sioaddr); in nct6683_find()
1354 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) in nct6683_find()
1355 | superio_inb(sioaddr, SIO_REG_DEVID + 1); in nct6683_find()
1374 superio_select(sioaddr, NCT6683_LD_HWM); in nct6683_find()
1375 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in nct6683_find()
1376 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in nct6683_find()
1384 val = superio_inb(sioaddr, SIO_REG_ENABLE); in nct6683_find()
1387 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); in nct6683_find()
1390 superio_exit(sioaddr); in nct6683_find()
1392 nct6683_chip_names[sio_data->kind], sioaddr, addr); in nct6683_find()
1393 sio_data->sioreg = sioaddr; in nct6683_find()
1398 superio_exit(sioaddr); in nct6683_find()
1413 int sioaddr[2] = { 0x2e, 0x4e }; in sensors_nct6683_init() local
1431 address = nct6683_find(sioaddr[i], &sio_data); in sensors_nct6683_init()