Lines Matching refs:runtime_reg
40 unsigned short runtime_reg; /* runtime register base address */ member
47 unsigned short runtime_reg; /* runtime register */ member
150 if (!request_region(block->runtime_reg + block->config_regs[offset], in sch311x_gpio_request()
153 block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_request()
166 release_region(block->runtime_reg + block->config_regs[offset], 1); in sch311x_gpio_free()
175 data = inb(block->runtime_reg + block->data_reg); in sch311x_gpio_get()
184 unsigned char data = inb(block->runtime_reg + block->data_reg); in __sch311x_gpio_set()
189 outb(data, block->runtime_reg + block->data_reg); in __sch311x_gpio_set()
207 outb(SCH311X_GPIO_CONF_IN, block->runtime_reg + in sch311x_gpio_direction_in()
221 outb(SCH311X_GPIO_CONF_OUT, block->runtime_reg + in sch311x_gpio_direction_out()
238 if (!request_region(pdata->runtime_reg + GP1, 6, DRV_NAME)) { in sch311x_gpio_probe()
240 pdata->runtime_reg + GP1, pdata->runtime_reg + GP1 + 5); in sch311x_gpio_probe()
268 block->runtime_reg = pdata->runtime_reg; in sch311x_gpio_probe()
283 release_region(pdata->runtime_reg + GP1, 6); in sch311x_gpio_probe()
296 release_region(pdata->runtime_reg + GP1, 6); in sch311x_gpio_remove()
374 pdata.runtime_reg = addr; in sch311x_gpio_pdev_add()