Lines Matching refs:pc8736x_gpio_base
37 static unsigned pc8736x_gpio_base; variable
159 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_get()
164 minor, pc8736x_gpio_base + port_offset[port] + PORT_IN, bit, in pc8736x_gpio_get()
177 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
180 pc8736x_gpio_base + port_offset[port] + PORT_OUT, in pc8736x_gpio_set()
188 outb_p(val, pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
190 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
191 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_set()
248 = inb_p(pc8736x_gpio_base + port_offset[port] in pc8736x_init_shadow()
295 pc8736x_gpio_base = (superio_inb(SIO_BASE_HADDR) << 8 in pc8736x_gpio_init()
298 if (!request_region(pc8736x_gpio_base, PC8736X_GPIO_RANGE, DEVNAME)) { in pc8736x_gpio_init()
301 pc8736x_gpio_base); in pc8736x_gpio_init()
304 dev_info(&pdev->dev, "GPIO ioport %x reserved\n", pc8736x_gpio_base); in pc8736x_gpio_init()
332 release_region(pc8736x_gpio_base, PC8736X_GPIO_RANGE); in pc8736x_gpio_init()
347 release_region(pc8736x_gpio_base, PC8736X_GPIO_RANGE); in pc8736x_gpio_cleanup()