Lines Matching refs:pin2
116 enum lp8788_dvs_state pin1, pin2; in lp8788_buck2_set_dvs() local
124 pin2 = DVS_LOW; in lp8788_buck2_set_dvs()
128 pin2 = DVS_LOW; in lp8788_buck2_set_dvs()
132 pin2 = DVS_HIGH; in lp8788_buck2_set_dvs()
136 pin2 = DVS_HIGH; in lp8788_buck2_set_dvs()
146 gpio_set_value(dvs->gpio[1], pin2); in lp8788_buck2_set_dvs()
208 int pin1, pin2; in lp8788_select_buck_vout_addr() local
231 pin2 = gpio_get_value(b2_dvs->gpio[1]); in lp8788_select_buck_vout_addr()
233 if (pin1 == PIN_LOW && pin2 == PIN_LOW) in lp8788_select_buck_vout_addr()
235 else if (pin1 == PIN_LOW && pin2 == PIN_HIGH) in lp8788_select_buck_vout_addr()
237 else if (pin1 == PIN_HIGH && pin2 == PIN_LOW) in lp8788_select_buck_vout_addr()