Home
last modified time | relevance | path

Searched refs:PIN_GPIOMODE_SHIFT (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c156 #define PIN_GPIOMODE_SHIFT 26 macro
157 #define PIN_GPIOMODE_MASK (0x1 << PIN_GPIOMODE_SHIFT)
158 #define PIN_GPIOMODE(x) (((x) & PIN_GPIOMODE_MASK) >> PIN_GPIOMODE_SHIFT)
159 #define PIN_GPIOMODE_DISABLED (0 << PIN_GPIOMODE_SHIFT)
160 #define PIN_GPIOMODE_ENABLED (1 << PIN_GPIOMODE_SHIFT)
/kernel/linux/linux-6.6/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c160 #define PIN_GPIOMODE_SHIFT 26 macro
161 #define PIN_GPIOMODE_MASK (0x1 << PIN_GPIOMODE_SHIFT)
162 #define PIN_GPIOMODE(x) (((x) & PIN_GPIOMODE_MASK) >> PIN_GPIOMODE_SHIFT)
163 #define PIN_GPIOMODE_DISABLED (0 << PIN_GPIOMODE_SHIFT)
164 #define PIN_GPIOMODE_ENABLED (1 << PIN_GPIOMODE_SHIFT)

Completed in 7 milliseconds