LPI_GPIO_PULL_MASK
pull = FIELD_GET(LPI_GPIO_PULL_MASK, ctl_reg);
u32p_replace_bits(&val, pullup, LPI_GPIO_PULL_MASK);