Searched refs:new_gpio (Results 1 – 2 of 2) sorted by relevance
74 unsigned int new_gpio, changed; in gpio_modify_op() local76 new_gpio = (current_gpio_op & ~mask) | set; in gpio_modify_op()77 changed = new_gpio ^ current_gpio_op; in gpio_modify_op()78 current_gpio_op = new_gpio; in gpio_modify_op()81 outb(new_gpio, GP1_IO_BASE); in gpio_modify_op()83 outb(new_gpio >> 8, GP2_IO_BASE); in gpio_modify_op()88 unsigned int new_gpio, changed; in __gpio_modify_io() local91 new_gpio = (current_gpio_io & ~mask) | in; in __gpio_modify_io()92 changed = new_gpio ^ current_gpio_io; in __gpio_modify_io()93 current_gpio_io = new_gpio; in __gpio_modify_io()[all …]
199 int new_gpio; in keylargo_mb_content() local201 new_gpio = MB_IN8(bay, KL_GPIO_MEDIABAY_IRQ) & KEYLARGO_GPIO_INPUT_DATA; in keylargo_mb_content()202 if (new_gpio) { in keylargo_mb_content()203 bay->cached_gpio = new_gpio; in keylargo_mb_content()205 } else if (bay->cached_gpio != new_gpio) { in keylargo_mb_content()212 bay->cached_gpio = new_gpio; in keylargo_mb_content()