Searched refs:superio_inb (Results 1 - 14 of 14) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/
H A Dpc8736x_gpio.c86 static inline int superio_inb(int addr) function
98 id = superio_inb(SIO_SID);
103 id = superio_inb(SIO_SID);
135 config = superio_inb(func_slct);
279 rc = superio_inb(SIO_CF1);
286 if (!superio_inb(SIO_UNIT_ACT)) {
293 pc8736x_gpio_base = (superio_inb(SIO_BASE_HADDR) << 8
294 | superio_inb(SIO_BASE_LADDR));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/watchdog/
H A Df71808e_wdt.c112 static inline int superio_inb(int base, int reg);
142 static inline int superio_inb(int base, int reg) function
151 val = superio_inb(base, reg) << 8;
152 val |= superio_inb(base, reg + 1);
164 unsigned long val = superio_inb(base, reg);
171 unsigned long val = superio_inb(base, reg);
330 u8 wdt_conf = superio_inb(watchdog.sioaddr,
399 is_running = (superio_inb(watchdog.sioaddr, SIO_REG_ENABLE) & BIT(0))
400 && (superio_inb(watchdog.sioaddr, F71808FG_REG_WDT_CONF)
606 wdt_conf = superio_inb(sioadd
[all...]
H A Dit8712f_wdt.c88 static int superio_inb(int reg) function
161 if (superio_inb(WDT_CONTROL) & 0x01)
342 if (!(superio_inb(ACT_REG) & 0x01)) {
354 revision = superio_inb(DEVREV) & 0x0f;
H A Dit87_wdt.c183 static inline int superio_inb(int reg) function
320 if (superio_inb(WDTCTRL) & WDT_ZERO) {
539 chip_rev = superio_inb(CHIPREV) & 0x0f;
581 gpact = superio_inb(ACTREG);
615 ciract = superio_inb(ACTREG);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/
H A Dsmsc47b397.c61 static inline int superio_inb(int reg) function
346 id = force_id ? force_id : superio_inb(SUPERIO_REG_DEVID);
364 rev = superio_inb(SUPERIO_REG_DEVREV);
367 *addr = (superio_inb(SUPERIO_REG_BASE_MSB) << 8)
368 | superio_inb(SUPERIO_REG_BASE_LSB);
H A Dpc87427.c111 static inline int superio_inb(int sioaddr, int reg) function
1239 val = force_id ? force_id : superio_inb(sioaddr, SIOREG_DEVID);
1250 val = superio_inb(sioaddr, SIOREG_ACT);
1257 val = superio_inb(sioaddr, SIOREG_MAP);
1264 val = (superio_inb(sioaddr, SIOREG_IOBASE) << 8)
1265 | superio_inb(sioaddr, SIOREG_IOBASE + 1);
1283 cfg = superio_inb(sioaddr, SIOREG_CF2);
1289 cfg = superio_inb(sioaddr, SIOREG_CFD);
1293 cfg = superio_inb(sioaddr, SIOREG_CF4);
1296 cfg_b = superio_inb(sioadd
[all...]
H A Dsmsc47m1.c65 superio_inb(int reg) function
420 val = force_id ? force_id : superio_inb(SUPERIO_REG_DEVID);
454 if (superio_inb(SUPERIO_REG_DEVREV) & 0x80) {
470 *addr = (superio_inb(SUPERIO_REG_BASE) << 8)
471 | superio_inb(SUPERIO_REG_BASE + 1);
480 sio_data->activate = superio_inb(SUPERIO_REG_ACT);
H A Dw83627ehf.c107 superio_inb(int ioreg, int reg) function
1430 data->vid = superio_inb(sio_data->sioreg, 0xe3);
1436 if (superio_inb(sio_data->sioreg, SIO_REG_VID_CTRL) & 0x80) {
1443 en_vrm10 = superio_inb(sio_data->sioreg,
1461 data->vid = superio_inb(sio_data->sioreg,
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);
1642 val = (superio_inb(sioadd
[all...]
H A Dvt1211.c209 static inline int superio_inb(int sio_cip, int reg) function
1296 devid = force_id ? force_id : superio_inb(sio_cip, SIO_VT1211_DEVID);
1303 if ((superio_inb(sio_cip, SIO_VT1211_ACTIVE) & 1) == 0) {
1309 *address = ((superio_inb(sio_cip, SIO_VT1211_BADDR) << 8) |
1310 (superio_inb(sio_cip, SIO_VT1211_BADDR + 1))) & 0xff00;
1320 superio_inb(sio_cip, SIO_VT1211_DEVREV));
H A Dw83627hf.c118 superio_inb(struct w83627hf_sio_data *sio, int reg) function
1140 val = force_id ? force_id : superio_inb(sio_data, DEVID);
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);
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;
1538 if (!(superio_inb(sio_data, W83687THF_VID_EN) & (1 << 2))) {
1544 if (!(superio_inb(sio_dat
[all...]
H A Dit87.c77 superio_inb(int reg) function
1502 if (!(superio_inb(IT87_ACT_REG) & 0x01)) {
1514 sio_data->revision = superio_inb(DEVREV) & 0x0f;
1528 sio_data->beep_pin = superio_inb(IT87_SIO_BEEP_PIN_REG) & 0x3f;
1534 reg = superio_inb(IT87_SIO_GPIO3_REG);
1547 reg = superio_inb(IT87_SIO_GPIO5_REG);
1555 sio_data->vid_value = superio_inb(IT87_SIO_VID_REG);
1557 reg = superio_inb(IT87_SIO_PINX2_REG);
1578 sio_data->beep_pin = superio_inb(IT87_SIO_BEEP_PIN_REG) & 0x3f;
H A Dpc87360.c92 static inline int superio_inb(int sioaddr, int reg) function
1010 val = force_id ? force_id : superio_inb(sioaddr, DEVID);
1032 val = superio_inb(sioaddr, ACT);
1039 val = (superio_inb(sioaddr, BASE) << 8)
1040 | superio_inb(sioaddr, BASE + 1);
1050 confreg[0] = superio_inb(sioaddr, 0xF0);
1051 confreg[1] = superio_inb(sioaddr, 0xF1);
1070 confreg[2] = superio_inb(sioaddr, 0x2B);
1071 confreg[3] = superio_inb(sioaddr, 0x25);
H A Df71882fg.c112 static inline int superio_inb(int base, int reg);
850 static inline int superio_inb(int base, int reg) function
859 val = superio_inb(base, reg) << 8;
860 val |= superio_inb(base, reg + 1);
2229 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) {
2246 (int)superio_inb(sioaddr, SIO_REG_DEVREV));
H A Df71805f.c73 superio_inb(int base, int reg) function
1516 sio_data->fnsel1 = superio_inb(sioaddr, SIO_REG_FNSEL1);
1525 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) {
1542 superio_inb(sioaddr, SIO_REG_DEVREV));

Completed in 277 milliseconds