Searched refs:MODE_MASK (Results 1 – 8 of 8) sorted by relevance
16 #define MODE_MASK(pin) (3 << MODE_PIN_SHIFT(pin)) macro73 port->MODE = (port->MODE & ~MODE_MASK(pin_idx)) | in gpio_configure()
26 #define MODE_MASK BIT_MASK(16) macro313 switch (mode & MODE_MASK) { in mb_display_image()350 switch (mode & MODE_MASK) { in mb_display_print()
27 #define MODE_MASK 0x1f macro
20 #define MODE_MASK(pin) (3 << MODE_PIN_SHIFT(pin)) macro103 regs->MODE = (regs->MODE & ~MODE_MASK(pin)) | in gpio_numicro_configure()
54 and r0, r0, #MODE_MASK68 bic r0, #MODE_MASK
213 and r0, #MODE_MASK381 bic r1, #(MODE_MASK | T_BIT)
51 and r1, #MODE_MASK
58 and r0, #MODE_MASK