Lines Matching +full:smp +full:- +full:offset
25 * This driver is currently incompatible with SMP. The GPIO32 extension is not
27 * different set of IO wires. A theoretical SMP aware version of this driver
76 static int xtensa_impwire_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_direction() argument
81 static int xtensa_impwire_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_value() argument
90 return !!(impwire & BIT(offset)); in xtensa_impwire_get_value()
93 static void xtensa_impwire_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_impwire_set_value() argument
99 static int xtensa_expstate_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_direction() argument
104 static int xtensa_expstate_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_value() argument
113 return !!(expstate & BIT(offset)); in xtensa_expstate_get_value()
116 static void xtensa_expstate_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_expstate_set_value() argument
120 u32 mask = BIT(offset); in xtensa_expstate_set_value()
121 u32 val = value ? BIT(offset) : 0; in xtensa_expstate_set_value()
131 .base = -1,
140 .base = -1,
159 .name = "xtensa-gpio",
168 pdev = platform_device_register_simple("xtensa-gpio", 0, NULL, 0); in xtensa_gpio_init()