Searched refs:runtime_reg (Results 1 – 2 of 2) sorted by relevance
| /Linux-v4.19/drivers/watchdog/ |
| D | sch311x_wdt.c | 58 unsigned short runtime_reg; member 128 outb(timeout_unit, sch311x_wdt_data.runtime_reg + WDT_TIME_OUT); in sch311x_wdt_set_timeout() 133 outb(t, sch311x_wdt_data.runtime_reg + WDT_VAL); in sch311x_wdt_set_timeout() 153 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start() 154 outb((t & ~0x0d) | 0x0c, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start() 167 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop() 168 outb((t & ~0x0d) | 0x01, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop() 214 new_status = inb(sch311x_wdt_data.runtime_reg + WDT_CTRL); in sch311x_wdt_get_status() 365 if (!request_region(sch311x_wdt_data.runtime_reg + GP60, 1, DRV_NAME)) { in sch311x_wdt_probe() 367 sch311x_wdt_data.runtime_reg + GP60, in sch311x_wdt_probe() [all …]
|
| /Linux-v4.19/drivers/gpio/ |
| D | gpio-sch311x.c | 40 unsigned short runtime_reg; /* runtime register base address */ member 47 unsigned short runtime_reg; /* runtime register */ member 143 if (!request_region(block->runtime_reg + block->config_regs[offset], in sch311x_gpio_request() 146 block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_request() 159 release_region(block->runtime_reg + block->config_regs[offset], 1); in sch311x_gpio_free() 168 data = inb(block->runtime_reg + block->data_reg); in sch311x_gpio_get() 177 u8 data = inb(block->runtime_reg + block->data_reg); in __sch311x_gpio_set() 182 outb(data, block->runtime_reg + block->data_reg); in __sch311x_gpio_set() 201 data = inb(block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_direction_in() 203 outb(data, block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_direction_in() [all …]
|