Lines Matching +full:smp +full:- +full:offset
1 // SPDX-License-Identifier: GPL-2.0
22 * This driver is currently incompatible with SMP. The GPIO32 extension is not
24 * different set of IO wires. A theoretical SMP aware version of this driver
72 static int xtensa_impwire_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_direction() argument
77 static int xtensa_impwire_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_value() argument
86 return !!(impwire & BIT(offset)); in xtensa_impwire_get_value()
89 static void xtensa_impwire_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_impwire_set_value() argument
95 static int xtensa_expstate_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_direction() argument
100 static int xtensa_expstate_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_value() argument
109 return !!(expstate & BIT(offset)); in xtensa_expstate_get_value()
112 static void xtensa_expstate_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_expstate_set_value() argument
116 u32 mask = BIT(offset); in xtensa_expstate_set_value()
117 u32 val = value ? BIT(offset) : 0; in xtensa_expstate_set_value()
127 .base = -1,
136 .base = -1,
155 .name = "xtensa-gpio",
164 pdev = platform_device_register_simple("xtensa-gpio", 0, NULL, 0); in xtensa_gpio_init()