Home
last modified time | relevance | path

Searched refs:superio_inb (Results 1 – 13 of 13) sorted by relevance

/drivers/char/
Dpc8736x_gpio.c87 static inline int superio_inb(int addr) in superio_inb() function
99 id = superio_inb(SIO_SID); in pc8736x_superio_present()
104 id = superio_inb(SIO_SID); in pc8736x_superio_present()
136 config = superio_inb(func_slct); in pc8736x_gpio_configure_fn()
281 rc = superio_inb(SIO_CF1); in pc8736x_gpio_init()
288 if (!superio_inb(SIO_UNIT_ACT)) { in pc8736x_gpio_init()
295 pc8736x_gpio_base = (superio_inb(SIO_BASE_HADDR) << 8 in pc8736x_gpio_init()
296 | superio_inb(SIO_BASE_LADDR)); in pc8736x_gpio_init()
/drivers/hwmon/
Dsmsc47b397.c61 static inline int superio_inb(int reg) in superio_inb() function
346 id = force_id ? force_id : superio_inb(SUPERIO_REG_DEVID); in smsc47b397_find()
364 rev = superio_inb(SUPERIO_REG_DEVREV); in smsc47b397_find()
367 *addr = (superio_inb(SUPERIO_REG_BASE_MSB) << 8) in smsc47b397_find()
368 | superio_inb(SUPERIO_REG_BASE_LSB); in smsc47b397_find()
Dpc87427.c84 static inline int superio_inb(int sioaddr, int reg) in superio_inb() function
567 val = force_id ? force_id : superio_inb(sioaddr, SIOREG_DEVID); in pc87427_find()
578 val = superio_inb(sioaddr, SIOREG_ACT); in pc87427_find()
585 val = superio_inb(sioaddr, SIOREG_MAP); in pc87427_find()
592 val = (superio_inb(sioaddr, SIOREG_IOBASE) << 8) in pc87427_find()
593 | superio_inb(sioaddr, SIOREG_IOBASE + 1); in pc87427_find()
Dsmsc47m1.c65 superio_inb(int reg) in superio_inb() function
420 val = force_id ? force_id : superio_inb(SUPERIO_REG_DEVID); in smsc47m1_find()
460 *addr = (superio_inb(SUPERIO_REG_BASE) << 8) in smsc47m1_find()
461 | superio_inb(SUPERIO_REG_BASE + 1); in smsc47m1_find()
462 val = superio_inb(SUPERIO_REG_ACT); in smsc47m1_find()
Dw83627ehf.c96 superio_inb(int ioreg, int reg) in superio_inb() function
1285 if (superio_inb(sio_data->sioreg, SIO_REG_VID_CTRL) & 0x80) { in w83627ehf_probe()
1291 en_vrm10 = superio_inb(sio_data->sioreg, in w83627ehf_probe()
1306 data->vid = superio_inb(sio_data->sioreg, SIO_REG_VID_DATA); in w83627ehf_probe()
1320 fan5pin = superio_inb(sio_data->sioreg, 0x24) & 0x2; in w83627ehf_probe()
1321 fan4pin = superio_inb(sio_data->sioreg, 0x29) & 0x6; in w83627ehf_probe()
1454 val = (superio_inb(sioaddr, SIO_REG_DEVID) << 8) in w83627ehf_find()
1455 | superio_inb(sioaddr, SIO_REG_DEVID + 1); in w83627ehf_find()
1479 val = (superio_inb(sioaddr, SIO_REG_ADDR) << 8) in w83627ehf_find()
1480 | superio_inb(sioaddr, SIO_REG_ADDR + 1); in w83627ehf_find()
[all …]
Dw83627hf.c119 superio_inb(int reg) in superio_inb() function
1147 val = force_id ? force_id : superio_inb(DEVID); in w83627hf_find()
1179 val = (superio_inb(WINB_BASE_REG) << 8) | in w83627hf_find()
1180 superio_inb(WINB_BASE_REG + 1); in w83627hf_find()
1188 val = superio_inb(WINB_ACT_REG); in w83627hf_find()
1520 if (!(superio_inb(W83627THF_GPIO5_EN) & (1<<3))) { in w83627thf_read_gpio5()
1527 sel = superio_inb(W83627THF_GPIO5_IOSR) & 0x3f; in w83627thf_read_gpio5()
1535 res = superio_inb(W83627THF_GPIO5_DR) & sel; in w83627thf_read_gpio5()
1550 if (!(superio_inb(W83687THF_VID_EN) & (1 << 2))) { in w83687thf_read_vid()
1556 if (!(superio_inb(W83687THF_VID_CFG) & (1 << 4))) { in w83687thf_read_vid()
[all …]
Dvt1211.c209 static inline int superio_inb(int sio_cip, int reg) in superio_inb() function
1296 devid = force_id ? force_id : superio_inb(sio_cip, SIO_VT1211_DEVID); in vt1211_find()
1303 if ((superio_inb(sio_cip, SIO_VT1211_ACTIVE) & 1) == 0) { in vt1211_find()
1309 *address = ((superio_inb(sio_cip, SIO_VT1211_BADDR) << 8) | in vt1211_find()
1310 (superio_inb(sio_cip, SIO_VT1211_BADDR + 1))) & 0xff00; in vt1211_find()
1320 superio_inb(sio_cip, SIO_VT1211_DEVREV)); in vt1211_find()
Dpc87360.c92 static inline int superio_inb(int sioaddr, int reg) in superio_inb() function
1010 val = force_id ? force_id : superio_inb(sioaddr, DEVID); in pc87360_find()
1032 val = superio_inb(sioaddr, ACT); in pc87360_find()
1039 val = (superio_inb(sioaddr, BASE) << 8) in pc87360_find()
1040 | superio_inb(sioaddr, BASE + 1); in pc87360_find()
1050 confreg[0] = superio_inb(sioaddr, 0xF0); in pc87360_find()
1051 confreg[1] = superio_inb(sioaddr, 0xF1); in pc87360_find()
1070 confreg[2] = superio_inb(sioaddr, 0x2B); in pc87360_find()
1071 confreg[3] = superio_inb(sioaddr, 0x25); in pc87360_find()
Dit87.c77 superio_inb(int reg) in superio_inb() function
1014 if (!(superio_inb(IT87_ACT_REG) & 0x01)) { in it87_find()
1026 sio_data->revision = superio_inb(DEVREV) & 0x0f; in it87_find()
1037 sio_data->vid_value = superio_inb(IT87_SIO_VID_REG); in it87_find()
1039 reg = superio_inb(IT87_SIO_PINX2_REG); in it87_find()
Df71805f.c73 superio_inb(int base, int reg) in superio_inb() function
1516 sio_data->fnsel1 = superio_inb(sioaddr, SIO_REG_FNSEL1); in f71805f_find()
1525 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in f71805f_find()
1542 superio_inb(sioaddr, SIO_REG_DEVREV)); in f71805f_find()
Df71882fg.c106 static inline int superio_inb(int base, int reg);
780 static inline int superio_inb(int base, int reg) in superio_inb() function
1896 if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { in f71882fg_find()
1912 (int)superio_inb(sioaddr, SIO_REG_DEVREV)); in f71882fg_find()
/drivers/watchdog/
Dit8712f_wdt.c88 static int superio_inb(int reg) in superio_inb() function
161 if (superio_inb(WDT_CONTROL) & 0x01) in it8712f_wdt_get_status()
341 if (!(superio_inb(ACT_REG) & 0x01)) { in it8712f_wdt_find()
353 revision = superio_inb(DEVREV) & 0x0f; in it8712f_wdt_find()
Dit87_wdt.c183 static inline int superio_inb(int reg) in superio_inb() function
320 if (superio_inb(WDTCTRL) & WDT_ZERO) { in wdt_get_status()
539 chip_rev = superio_inb(CHIPREV) & 0x0f; in it87_wdt_init()
581 gpact = superio_inb(ACTREG); in it87_wdt_init()
615 ciract = superio_inb(ACTREG); in it87_wdt_init()