Searched refs:new_gpio (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/arch/arm/mach-footbridge/ |
D | netwinder-hw.c | 76 unsigned int new_gpio, changed; in nw_gpio_modify_op() local 78 new_gpio = (current_gpio_op & ~mask) | set; in nw_gpio_modify_op() 79 changed = new_gpio ^ current_gpio_op; in nw_gpio_modify_op() 80 current_gpio_op = new_gpio; in nw_gpio_modify_op() 83 outb(new_gpio, GP1_IO_BASE); in nw_gpio_modify_op() 85 outb(new_gpio >> 8, GP2_IO_BASE); in nw_gpio_modify_op() 91 unsigned int new_gpio, changed; in __gpio_modify_io() local 94 new_gpio = (current_gpio_io & ~mask) | in; in __gpio_modify_io() 95 changed = new_gpio ^ current_gpio_io; in __gpio_modify_io() 96 current_gpio_io = new_gpio; in __gpio_modify_io() [all …]
|
/kernel/linux/linux-5.10/sound/pci/ice1712/ |
D | juli.c | 211 unsigned int ak5385_pins, old_gpio, new_gpio; in juli_akm_set_rate_val() local 232 new_gpio = (old_gpio & ~GPIO_AK5385A_MASK) | ak5385_pins; in juli_akm_set_rate_val() 235 ice->gpio.set_data(ice, new_gpio); in juli_akm_set_rate_val() 308 unsigned int old_gpio, new_gpio; in juli_mute_put() local 314 new_gpio = old_gpio & ~GPIO_MUTE_CONTROL; in juli_mute_put() 319 new_gpio = old_gpio | in juli_mute_put() 325 new_gpio = old_gpio | GPIO_MUTE_CONTROL; in juli_mute_put() 330 new_gpio = old_gpio & in juli_mute_put() 338 if (old_gpio != new_gpio) { in juli_mute_put() 339 ice->gpio.set_data(ice, new_gpio); in juli_mute_put()
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
D | mediabay.c | 148 int new_gpio; in keylargo_mb_content() local 150 new_gpio = MB_IN8(bay, KL_GPIO_MEDIABAY_IRQ) & KEYLARGO_GPIO_INPUT_DATA; in keylargo_mb_content() 151 if (new_gpio) { in keylargo_mb_content() 152 bay->cached_gpio = new_gpio; in keylargo_mb_content() 154 } else if (bay->cached_gpio != new_gpio) { in keylargo_mb_content() 161 bay->cached_gpio = new_gpio; in keylargo_mb_content()
|