Home
last modified time | relevance | path

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

/arch/avr32/mach-at32ap/
Dpio.c106 unsigned int pin_index = pin & 0x1f; in at32_select_gpio() local
107 u32 mask = 1 << pin_index; in at32_select_gpio()
115 if (unlikely(test_and_set_bit(pin_index, &pio->pinmux_mask))) { in at32_select_gpio()
116 printk("%s: pin %u is busy\n", pio->name, pin_index); in at32_select_gpio()
158 unsigned int pin_index = pin & 0x1f; in at32_deselect_pin() local
167 clear_bit(pin_index, &pio->pinmux_mask); in at32_deselect_pin()