Home
last modified time | relevance | path

Searched refs:superio_outb (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/watchdog/
Dw83627hf_wdt.c115 static void superio_outb(int reg, int val) in superio_outb() function
140 superio_outb(0x07, ld); in superio_select()
163 superio_outb(0x30, t | 0x01); in w83627hf_init()
169 superio_outb(0x2B, t); /* set GPIO24 to WDT0 */ in w83627hf_init()
175 superio_outb(0x29, t); in w83627hf_init()
180 superio_outb(0x2b, t); in w83627hf_init()
184 superio_outb(0x2B, t); /* set GPIO3 to WDT0 */ in w83627hf_init()
189 superio_outb(0x2D, t); /* set GPIO5 to WDT0 */ in w83627hf_init()
193 superio_outb(cr_wdt_control, t); in w83627hf_init()
199 superio_outb(0x2C, t); in w83627hf_init()
[all …]
Dit8712f_wdt.c99 static void superio_outb(int val, int reg) in superio_outb() function
164 superio_outb(config, WDT_CONFIG); in it8712f_wdt_update_margin()
167 superio_outb(units >> 8, WDT_TIMEOUT + 1); in it8712f_wdt_update_margin()
168 superio_outb(units, WDT_TIMEOUT); in it8712f_wdt_update_margin()
188 superio_outb(wdt_control_reg, WDT_CONTROL); in it8712f_wdt_enable()
208 superio_outb(0, WDT_CONFIG); in it8712f_wdt_disable()
209 superio_outb(0, WDT_CONTROL); in it8712f_wdt_disable()
211 superio_outb(0, WDT_TIMEOUT + 1); in it8712f_wdt_disable()
212 superio_outb(0, WDT_TIMEOUT); in it8712f_wdt_disable()
371 superio_outb(1, ACT_REG); in it8712f_wdt_find()
Dit87_wdt.c136 static inline void superio_outb(int val, int reg) in superio_outb() function
176 superio_outb(cfg, WDTCFG); in _wdt_update_timeout()
177 superio_outb(t, WDTVALLSB); in _wdt_update_timeout()
179 superio_outb(t >> 8, WDTVALMSB); in _wdt_update_timeout()
317 superio_outb(WDT_TOV1, WDTCFG); in it87_wdt_init()
318 superio_outb(0x00, WDTCTRL); in it87_wdt_init()
Df71808e_wdt.c132 static inline void superio_outb(int base, int reg, u8 val);
174 static inline void superio_outb(int base, int reg, u8 val) in superio_outb() function
184 superio_outb(base, reg, val); in superio_set_bit()
191 superio_outb(base, reg, val); in superio_clear_bit()
299 superio_outb(watchdog.sioaddr, F71808FG_REG_WD_TIME, in watchdog_keepalive()
373 superio_outb(watchdog.sioaddr, SIO_REG_MFUNCT3, in watchdog_start()
381 superio_outb(watchdog.sioaddr, SIO_REG_TSI_LEVEL_SEL, 0x5f & in watchdog_start()
400 superio_outb(watchdog.sioaddr, SIO_F81866_REG_PORT_SEL, tmp); in watchdog_start()
437 superio_outb(watchdog.sioaddr, F71808FG_REG_WDT_CONF, in watchdog_start()
752 superio_outb(sioaddr, F71808FG_REG_WD_TIME, in watchdog_init()
[all …]
/Linux-v5.4/drivers/char/
Dpc8736x_gpio.c81 static inline void superio_outb(int addr, int val) in superio_outb() function
113 superio_outb(SIO_UNIT_SEL, devldn); in device_select()
121 superio_outb(SIO_GPIO_PIN_SELECT, in select_pin()
140 superio_outb(func_slct, new_config); in pc8736x_gpio_configure_fn()
/Linux-v5.4/drivers/gpio/
Dgpio-f7188x.c92 static inline void superio_outb(int base, int reg, int val) in superio_outb() function
270 superio_outb(sio->addr, gpio_dir(bank->regbase), dir); in f7188x_gpio_direction_in()
319 superio_outb(sio->addr, gpio_data_out(bank->regbase), data_out); in f7188x_gpio_direction_out()
323 superio_outb(sio->addr, gpio_dir(bank->regbase), dir); in f7188x_gpio_direction_out()
347 superio_outb(sio->addr, gpio_data_out(bank->regbase), data_out); in f7188x_gpio_set()
375 superio_outb(sio->addr, gpio_out_mode(bank->regbase), data); in f7188x_gpio_set_config()
Dgpio-it87.c111 static inline void superio_outb(int val, int reg) in superio_outb() function
142 superio_outb(new_val, reg); in superio_set_mask()
151 superio_outb(new_val, reg); in superio_clear_mask()
/Linux-v5.4/drivers/hwmon/
Dsmsc47b397.c44 static inline void superio_outb(int reg, int val) in superio_outb() function
59 superio_outb(0x07, ld); in superio_select()
Dsmsc47m1.c47 superio_outb(int reg, int val) in superio_outb() function
61 #define superio_select() superio_outb(0x07, 0x0A)
602 superio_outb(SUPERIO_REG_ACT, sio_data->activate | 0x01); in smsc47m1_find()
616 superio_outb(SUPERIO_REG_ACT, sio_data->activate); in smsc47m1_restore()
Dnct6683.c69 superio_outb(int ioreg, int reg, int val) in superio_outb() function
1023 superio_outb(data->sioreg, NCT6683_REG_CR_BEEP, reg); in beep_enable_store()
1086 superio_outb(data->sioreg, NCT6683_REG_CR_CASEOPEN, reg); in intrusion0_alarm_store()
1088 superio_outb(data->sioreg, NCT6683_REG_CR_CASEOPEN, reg); in intrusion0_alarm_store()
1375 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); in nct6683_find()
Dw83627ehf.c105 superio_outb(int ioreg, int reg, int val) in superio_outb() function
2380 superio_outb(sio_data->sioreg, in w83627ehf_probe()
2387 superio_outb(sio_data->sioreg, in w83627ehf_probe()
2416 superio_outb(sio_data->sioreg, NCT6775_REG_FAN_DEBOUNCE, in w83627ehf_probe()
2419 superio_outb(sio_data->sioreg, NCT6775_REG_FAN_DEBOUNCE, in w83627ehf_probe()
2782 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); in w83627ehf_find()
Dnct6775.c137 superio_outb(int ioreg, int reg, int val) in superio_outb() function
3437 superio_outb(data->sioreg, NCT6775_REG_CR_CASEOPEN_CLR[nr], reg); in clear_caseopen()
3439 superio_outb(data->sioreg, NCT6775_REG_CR_CASEOPEN_CLR[nr], reg); in clear_caseopen()
3583 superio_outb(sioreg, SIO_REG_ENABLE, in nct6775_check_fan_inputs()
4568 superio_outb(sio_data->sioreg, NCT6775_REG_CR_FAN_DEBOUNCE, in nct6775_probe()
4623 superio_outb(sioaddr, NCT6791_REG_HM_IO_SPACE_LOCK_ENABLE, in nct6791_enable_io_mapping()
4660 superio_outb(sioreg, SIO_REG_ENABLE, data->sio_reg_enable); in nct6775_resume()
4799 superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); in nct6775_find()
Dpc87427.c108 static inline void superio_outb(int sioaddr, int reg, int val) in superio_outb() function
1214 superio_outb(sioaddr, SIOREG_LDSEL, logdev[i]); in pc87427_find()
Dit87.c92 static inline void superio_outb(int ioreg, int reg, int val) in superio_outb() function
2572 superio_outb(sioaddr, IT87_SIO_PINX2_REG, in it87_find()
2776 superio_outb(sioaddr, IT87_SIO_PINX2_REG, reg); in it87_find()
3207 superio_outb(data->sioaddr, IT87_SIO_PINX2_REG, in it87_resume_sio()
Dpc87360.c75 static inline void superio_outb(int sioaddr, int reg, int val) in superio_outb() function
1120 superio_outb(sioaddr, DEV, logdev[i]); in pc87360_find()
Dw83627hf.c100 superio_outb(struct w83627hf_sio_data *sio, int reg, int val) in superio_outb() function
1303 superio_outb(sio_data, WINB_ACT_REG, val | 0x01); in w83627hf_find()
Dvt1211.c198 static inline void superio_outb(int sio_cip, int reg, int val) in superio_outb() function