PMIC_GPIO_REG_OUT_TYPE_SHIFT
val = pad->buffer_type << PMIC_GPIO_REG_OUT_TYPE_SHIFT;
pad->buffer_type = val >> PMIC_GPIO_REG_OUT_TYPE_SHIFT;