Home
last modified time | relevance | path

Searched refs:REG_GPIOx_MODE (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/pinctrl/
Dpinctrl-apple-gpio.c44 #define REG_GPIOx_MODE GENMASK(3, 1) macro
197 if (FIELD_GET(REG_GPIOx_MODE, reg) == REG_GPIOx_OUT) in apple_gpio_get_direction()
211 if (FIELD_GET(REG_GPIOx_MODE, reg) != REG_GPIOx_OUT) in apple_gpio_get()
229 REG_GPIOx_PERIPH | REG_GPIOx_MODE | REG_GPIOx_DATA | in apple_gpio_direction_input()
231 FIELD_PREP(REG_GPIOx_MODE, REG_GPIOx_IN_IRQ_OFF) | in apple_gpio_direction_input()
242 REG_GPIOx_PERIPH | REG_GPIOx_MODE | REG_GPIOx_DATA, in apple_gpio_direction_output()
243 FIELD_PREP(REG_GPIOx_MODE, REG_GPIOx_OUT) | in apple_gpio_direction_output()
281 apple_gpio_set_reg(pctl, data->hwirq, REG_GPIOx_MODE, in apple_gpio_irq_mask()
282 FIELD_PREP(REG_GPIOx_MODE, REG_GPIOx_IN_IRQ_OFF)); in apple_gpio_irq_mask()
293 apple_gpio_set_reg(pctl, data->hwirq, REG_GPIOx_MODE, in apple_gpio_irq_unmask()
[all …]