Home
last modified time | relevance | path

Searched refs:new_gpio (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/arm/mach-footbridge/
Dnetwinder-hw.c74 unsigned int new_gpio, changed; in gpio_modify_op() local
76 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() local
91 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 …]
/linux-2.4.37.9/drivers/macintosh/
Dmediabay.c199 int new_gpio; in keylargo_mb_content() local
201 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()