• 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

1125 				struct w83627hf_sio_data *sio_data)
1138 sio_data->sioaddr = sioaddr;
1139 superio_enter(sio_data);
1140 val = force_id ? force_id : superio_inb(sio_data, DEVID);
1143 sio_data->type = w83627hf;
1146 sio_data->type = w83627thf;
1149 sio_data->type = w83697hf;
1152 sio_data->type = w83637hf;
1155 sio_data->type = w83687thf;
1164 superio_select(sio_data, W83627HF_LD_HWM);
1165 val = (superio_inb(sio_data, WINB_BASE_REG) << 8) |
1166 superio_inb(sio_data, WINB_BASE_REG + 1);
1174 val = superio_inb(sio_data, WINB_ACT_REG);
1177 superio_outb(sio_data, WINB_ACT_REG, val | 0x01);
1182 names[sio_data->type], *addr);
1185 superio_exit(sio_data);
1270 struct w83627hf_sio_data *sio_data = dev->platform_data;
1297 data->type = sio_data->type;
1298 data->name = names[sio_data->type];
1500 struct w83627hf_sio_data *sio_data = pdev->dev.platform_data;
1503 superio_enter(sio_data);
1504 superio_select(sio_data, W83627HF_LD_GPIO5);
1507 if (!(superio_inb(sio_data, W83627THF_GPIO5_EN) & (1<<3))) {
1514 sel = superio_inb(sio_data, W83627THF_GPIO5_IOSR) & 0x3f;
1522 res = superio_inb(sio_data, W83627THF_GPIO5_DR) & sel;
1525 superio_exit(sio_data);
1531 struct w83627hf_sio_data *sio_data = pdev->dev.platform_data;
1534 superio_enter(sio_data);
1535 superio_select(sio_data, W83627HF_LD_HWM);
1538 if (!(superio_inb(sio_data, W83687THF_VID_EN) & (1 << 2))) {
1544 if (!(superio_inb(sio_data, W83687THF_VID_CFG) & (1 << 4))) {
1550 res = superio_inb(sio_data, W83687THF_VID_DATA) & 0x3f;
1553 superio_exit(sio_data);
1775 const struct w83627hf_sio_data *sio_data)
1803 err = platform_device_add_data(pdev, sio_data,
1829 struct w83627hf_sio_data sio_data;
1831 if (w83627hf_find(0x2e, &address, &sio_data)
1832 && w83627hf_find(0x4e, &address, &sio_data))
1840 err = w83627hf_device_add(address, &sio_data);