Lines Matching refs:sio_data
3794 struct nct6775_sio_data *sio_data = dev_get_platdata(dev); in nct6775_probe() local
3818 data->kind = sio_data->kind; in nct6775_probe()
3819 data->sioreg = sio_data->sioreg; in nct6775_probe()
4505 err = superio_enter(sio_data->sioreg); in nct6775_probe()
4509 cr2a = superio_inb(sio_data->sioreg, 0x2a); in nct6775_probe()
4535 superio_select(sio_data->sioreg, NCT6775_LD_VID); in nct6775_probe()
4536 data->vid = superio_inb(sio_data->sioreg, 0xe3); in nct6775_probe()
4543 superio_select(sio_data->sioreg, NCT6775_LD_HWM); in nct6775_probe()
4544 tmp = superio_inb(sio_data->sioreg, in nct6775_probe()
4568 superio_outb(sio_data->sioreg, NCT6775_REG_CR_FAN_DEBOUNCE, in nct6775_probe()
4576 superio_exit(sio_data->sioreg); in nct6775_probe()
4725 static int __init nct6775_find(int sioaddr, struct nct6775_sio_data *sio_data) in nct6775_find() argument
4742 sio_data->kind = nct6106; in nct6775_find()
4745 sio_data->kind = nct6116; in nct6775_find()
4748 sio_data->kind = nct6775; in nct6775_find()
4751 sio_data->kind = nct6776; in nct6775_find()
4754 sio_data->kind = nct6779; in nct6775_find()
4757 sio_data->kind = nct6791; in nct6775_find()
4760 sio_data->kind = nct6792; in nct6775_find()
4763 sio_data->kind = nct6793; in nct6775_find()
4766 sio_data->kind = nct6795; in nct6775_find()
4769 sio_data->kind = nct6796; in nct6775_find()
4772 sio_data->kind = nct6797; in nct6775_find()
4775 sio_data->kind = nct6798; in nct6775_find()
4802 if (sio_data->kind == nct6791 || sio_data->kind == nct6792 || in nct6775_find()
4803 sio_data->kind == nct6793 || sio_data->kind == nct6795 || in nct6775_find()
4804 sio_data->kind == nct6796 || sio_data->kind == nct6797 || in nct6775_find()
4805 sio_data->kind == nct6798) in nct6775_find()
4810 nct6775_sio_names[sio_data->kind], sioaddr, addr); in nct6775_find()
4811 sio_data->sioreg = sioaddr; in nct6775_find()
4830 struct nct6775_sio_data sio_data; in sensors_nct6775_init() local
4845 address = nct6775_find(sioaddr[i], &sio_data); in sensors_nct6775_init()
4857 err = platform_device_add_data(pdev[i], &sio_data, in sensors_nct6775_init()