Searched refs:runtime_reg (Results 1 – 2 of 2) sorted by relevance
/drivers/watchdog/ |
D | sch311x_wdt.c | 54 unsigned short runtime_reg; member 124 outb(timeout_unit, sch311x_wdt_data.runtime_reg + WDT_TIME_OUT); in sch311x_wdt_set_timeout() 129 outb(t, sch311x_wdt_data.runtime_reg + WDT_VAL); in sch311x_wdt_set_timeout() 149 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start() 150 outb((t & ~0x0d) | 0x0c, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start() 163 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop() 164 outb((t & ~0x0d) | 0x01, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop() 210 new_status = inb(sch311x_wdt_data.runtime_reg + WDT_CTRL); in sch311x_wdt_get_status() 362 if (!request_region(sch311x_wdt_data.runtime_reg + GP60, 1, DRV_NAME)) { in sch311x_wdt_probe() 364 sch311x_wdt_data.runtime_reg + GP60, in sch311x_wdt_probe() [all …]
|
/drivers/gpio/ |
D | gpio-sch311x.c | 36 unsigned short runtime_reg; /* runtime register base address */ member 43 unsigned short runtime_reg; /* runtime register */ member 139 if (!request_region(block->runtime_reg + block->config_regs[offset], in sch311x_gpio_request() 142 block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_request() 155 release_region(block->runtime_reg + block->config_regs[offset], 1); in sch311x_gpio_free() 164 data = inb(block->runtime_reg + block->data_reg); in sch311x_gpio_get() 173 u8 data = inb(block->runtime_reg + block->data_reg); in __sch311x_gpio_set() 178 outb(data, block->runtime_reg + block->data_reg); in __sch311x_gpio_set() 197 data = inb(block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_direction_in() 199 outb(data, block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_direction_in() [all …]
|