Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-footbridge/
Dnetwinder-hw.c80 unsigned int new_gpio, changed; in nw_gpio_modify_op() local
82 new_gpio = (current_gpio_op & ~mask) | set; in nw_gpio_modify_op()
83 changed = new_gpio ^ current_gpio_op; in nw_gpio_modify_op()
84 current_gpio_op = new_gpio; in nw_gpio_modify_op()
87 outb(new_gpio, GP1_IO_BASE); in nw_gpio_modify_op()
89 outb(new_gpio >> 8, GP2_IO_BASE); in nw_gpio_modify_op()
95 unsigned int new_gpio, changed; in __gpio_modify_io() local
98 new_gpio = (current_gpio_io & ~mask) | in; in __gpio_modify_io()
99 changed = new_gpio ^ current_gpio_io; in __gpio_modify_io()
100 current_gpio_io = new_gpio; in __gpio_modify_io()
[all …]
/linux-2.6.39/sound/pci/ice1712/
Djuli.c226 unsigned int ak5385_pins, old_gpio, new_gpio; in juli_akm_set_rate_val() local
247 new_gpio = (old_gpio & ~GPIO_AK5385A_MASK) | ak5385_pins; in juli_akm_set_rate_val()
250 ice->gpio.set_data(ice, new_gpio); in juli_akm_set_rate_val()
323 unsigned int old_gpio, new_gpio; in juli_mute_put() local
329 new_gpio = old_gpio & ~GPIO_MUTE_CONTROL; in juli_mute_put()
334 new_gpio = old_gpio | in juli_mute_put()
340 new_gpio = old_gpio | GPIO_MUTE_CONTROL; in juli_mute_put()
345 new_gpio = old_gpio & in juli_mute_put()
353 if (old_gpio != new_gpio) { in juli_mute_put()
354 ice->gpio.set_data(ice, new_gpio); in juli_mute_put()
/linux-2.6.39/drivers/macintosh/
Dmediabay.c152 int new_gpio; in keylargo_mb_content() local
154 new_gpio = MB_IN8(bay, KL_GPIO_MEDIABAY_IRQ) & KEYLARGO_GPIO_INPUT_DATA; in keylargo_mb_content()
155 if (new_gpio) { in keylargo_mb_content()
156 bay->cached_gpio = new_gpio; in keylargo_mb_content()
158 } else if (bay->cached_gpio != new_gpio) { in keylargo_mb_content()
165 bay->cached_gpio = new_gpio; in keylargo_mb_content()