Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/
Dpinctrl-apple-gpio.c47 #define REG_GPIOx_MODE GENMASK(3, 1) macro
200 if (FIELD_GET(REG_GPIOx_MODE, reg) == REG_GPIOx_OUT) in apple_gpio_get_direction()
214 if (FIELD_GET(REG_GPIOx_MODE, reg) != REG_GPIOx_OUT) in apple_gpio_get()
232 REG_GPIOx_PERIPH | REG_GPIOx_MODE | REG_GPIOx_DATA | in apple_gpio_direction_input()
234 FIELD_PREP(REG_GPIOx_MODE, REG_GPIOx_IN_IRQ_OFF) | in apple_gpio_direction_input()
245 REG_GPIOx_PERIPH | REG_GPIOx_MODE | REG_GPIOx_DATA, in apple_gpio_direction_output()
246 FIELD_PREP(REG_GPIOx_MODE, REG_GPIOx_OUT) | in apple_gpio_direction_output()
284 apple_gpio_set_reg(pctl, data->hwirq, REG_GPIOx_MODE, in apple_gpio_irq_mask()
285 FIELD_PREP(REG_GPIOx_MODE, REG_GPIOx_IN_IRQ_OFF)); in apple_gpio_irq_mask()
296 apple_gpio_set_reg(pctl, data->hwirq, REG_GPIOx_MODE, in apple_gpio_irq_unmask()
[all …]