Lines Matching defs:sioaddr
1353 static int __init nct6683_find(int sioaddr, struct nct6683_sio_data *sio_data)
1359 err = superio_enter(sioaddr);
1363 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8)
1364 | superio_inb(sioaddr, SIO_REG_DEVID + 1);
1383 superio_select(sioaddr, NCT6683_LD_HWM);
1384 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8)
1385 | superio_inb(sioaddr, SIO_REG_ADDR + 1);
1393 val = superio_inb(sioaddr, SIO_REG_ENABLE);
1396 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01);
1399 superio_exit(sioaddr);
1401 nct6683_chip_names[sio_data->kind], sioaddr, addr);
1402 sio_data->sioreg = sioaddr;
1407 superio_exit(sioaddr);
1422 int sioaddr[2] = { 0x2e, 0x4e };
1440 address = nct6683_find(sioaddr[i], &sio_data);