• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/

Lines Matching refs:sio_data

1366 	struct w83627ehf_sio_data *sio_data = dev->platform_data;
1389 data->name = w83627ehf_device_names[sio_data->kind];
1393 data->in_num = (sio_data->kind == w83627ehf) ? 10 : 9;
1395 data->pwm_num = (sio_data->kind == w83667hg
1396 || sio_data->kind == w83667hg_b) ? 3 : 4;
1399 if (sio_data->kind == w83667hg || sio_data->kind == w83667hg_b) {
1407 if (sio_data->kind == w83667hg_b) {
1423 superio_enter(sio_data->sioreg);
1425 if (sio_data->kind == w83667hg || sio_data->kind == w83667hg_b) {
1429 superio_select(sio_data->sioreg, W83667HG_LD_VID);
1430 data->vid = superio_inb(sio_data->sioreg, 0xe3);
1435 superio_select(sio_data->sioreg, W83627EHF_LD_HWM);
1436 if (superio_inb(sio_data->sioreg, SIO_REG_VID_CTRL) & 0x80) {
1442 if (sio_data->kind == w83627ehf) {
1443 en_vrm10 = superio_inb(sio_data->sioreg,
1448 superio_outb(sio_data->sioreg,
1455 superio_outb(sio_data->sioreg,
1461 data->vid = superio_inb(sio_data->sioreg,
1463 if (sio_data->kind == w83627ehf) /* 6 VID pins only */
1476 if (sio_data->kind == w83667hg || sio_data->kind == w83667hg_b) {
1477 fan5pin = superio_inb(sio_data->sioreg, 0x27) & 0x20;
1478 fan4pin = superio_inb(sio_data->sioreg, 0x27) & 0x40;
1480 fan5pin = !(superio_inb(sio_data->sioreg, 0x24) & 0x02);
1481 fan4pin = !(superio_inb(sio_data->sioreg, 0x29) & 0x06);
1483 superio_exit(sio_data->sioreg);
1625 struct w83627ehf_sio_data *sio_data)
1646 sio_data->kind = w83627ehf;
1650 sio_data->kind = w83627ehf;
1654 sio_data->kind = w83627dhg;
1658 sio_data->kind = w83627dhg_p;
1662 sio_data->kind = w83667hg;
1666 sio_data->kind = w83667hg_b;
1699 sio_data->sioreg = sioaddr;
1715 struct w83627ehf_sio_data sio_data;
1717 /* initialize sio_data->kind and sio_data->sioreg.
1722 if (w83627ehf_find(0x2e, &address, &sio_data) &&
1723 w83627ehf_find(0x4e, &address, &sio_data))
1736 err = platform_device_add_data(pdev, &sio_data,