Searched refs:TRIS_REG (Results 1 – 2 of 2) sorted by relevance
13 #define TRIS_REG 0x10 macro
1819 writel(mask, bank->reg_base + PIC32_SET(TRIS_REG)); in pic32_gpio_direction_input()1850 writel(mask, bank->reg_base + PIC32_CLR(TRIS_REG)); in pic32_gpio_direction_output()1904 arg = !!(readl(bank->reg_base + TRIS_REG) & mask); in pic32_pinconf_get()1907 arg = !(readl(bank->reg_base + TRIS_REG) & mask); in pic32_pinconf_get()1993 if (readl(bank->reg_base + TRIS_REG) & BIT(offset)) in pic32_gpio_get_direction()