• 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

1467 	struct it87_sio_data *sio_data)
1478 sio_data->type = it87;
1481 sio_data->type = it8712;
1485 sio_data->type = it8716;
1488 sio_data->type = it8718;
1491 sio_data->type = it8720;
1514 sio_data->revision = superio_inb(DEVREV) & 0x0f;
1516 chip_type, *address, sio_data->revision);
1519 sio_data->internal = (1 << 2);
1522 if (sio_data->type == it87) {
1524 sio_data->skip_vid = 1;
1528 sio_data->beep_pin = superio_inb(IT87_SIO_BEEP_PIN_REG) & 0x3f;
1537 sio_data->skip_vid = 1;
1542 sio_data->skip_pwm |= (1 << 2);
1544 sio_data->skip_fan |= (1 << 2);
1549 sio_data->skip_pwm |= (1 << 1);
1551 sio_data->skip_fan |= (1 << 1);
1553 if ((sio_data->type == it8718 || sio_data->type == it8720)
1554 && !(sio_data->skip_vid))
1555 sio_data->vid_value = superio_inb(IT87_SIO_VID_REG);
1568 if (sio_data->type == it8720 && !(reg & (1 << 1))) {
1574 sio_data->internal |= (1 << 0);
1576 sio_data->internal |= (1 << 1);
1578 sio_data->beep_pin = superio_inb(IT87_SIO_BEEP_PIN_REG) & 0x3f;
1580 if (sio_data->beep_pin)
1597 sio_data->skip_pwm = (1 << 1);
1609 struct it87_sio_data *sio_data = dev->platform_data;
1614 if (sio_data->beep_pin)
1620 if (sio_data->beep_pin)
1625 if (sio_data->skip_pwm & (1 << 0))
1632 if (!sio_data->skip_vid)
1642 struct it87_sio_data *sio_data = dev->platform_data;
1671 data->type = sio_data->type;
1672 data->revision = sio_data->revision;
1673 data->name = names[sio_data->type];
1697 if (sio_data->beep_pin) {
1713 if (sio_data->beep_pin) {
1735 if (sio_data->skip_pwm & (1 << i))
1751 if (!sio_data->skip_vid) {
1754 data->vid = sio_data->vid_value;
1762 if (!(sio_data->internal & (1 << i)))
1875 struct it87_sio_data *sio_data = pdev->dev.platform_data;
1923 mask = 0x70 & ~(sio_data->skip_fan << 4);
1952 data->has_fan &= ~sio_data->skip_fan;
2072 const struct it87_sio_data *sio_data)
2100 err = platform_device_add_data(pdev, sio_data,
2126 struct it87_sio_data sio_data;
2128 memset(&sio_data, 0, sizeof(struct it87_sio_data));
2129 err = it87_find(&isa_address, &sio_data);
2136 err = it87_device_add(isa_address, &sio_data);