Lines Matching +full:bit +full:- +full:manipulation
1 // SPDX-License-Identifier: GPL-2.0
12 * GPIO32 option is implemented as 32bit Tensilica Instruction Extension (TIE)
13 * output state called EXPSTATE, and 32bit input wire called IMPWIRE. This
18 * disables access to all coprocessors. This driver sets the CPENABLE bit
25 * would need to have a per core workqueue to do the actual GPIO manipulation.
48 xtensa_set_sr(*cpenable | BIT(XCHAL_CP_ID_XTIOP), cpenable); in enable_cp()
86 return !!(impwire & BIT(offset)); in xtensa_impwire_get_value()
109 return !!(expstate & BIT(offset)); in xtensa_expstate_get_value()
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()