Searched refs:pin2 (Results 1 – 2 of 2) sorted by relevance
122 enum lp8788_dvs_state pin1, pin2; in lp8788_buck2_set_dvs() local130 pin2 = DVS_LOW; in lp8788_buck2_set_dvs()134 pin2 = DVS_LOW; in lp8788_buck2_set_dvs()138 pin2 = DVS_HIGH; in lp8788_buck2_set_dvs()142 pin2 = DVS_HIGH; in lp8788_buck2_set_dvs()152 gpio_set_value(dvs->gpio[1], pin2); in lp8788_buck2_set_dvs()214 int pin1, pin2; in lp8788_select_buck_vout_addr() local237 pin2 = gpio_get_value(b2_dvs->gpio[1]); in lp8788_select_buck_vout_addr()239 if (pin1 == PIN_LOW && pin2 == PIN_LOW) in lp8788_select_buck_vout_addr()241 else if (pin1 == PIN_LOW && pin2 == PIN_HIGH) in lp8788_select_buck_vout_addr()[all …]
65 struct ptp_pin_desc *pin1 = NULL, *pin2 = &info->pin_config[pin]; in ptp_set_pinfunc() local110 ptp_disable_pinfunc(info, pin2->func, pin2->chan); in ptp_set_pinfunc()111 pin2->func = func; in ptp_set_pinfunc()112 pin2->chan = chan; in ptp_set_pinfunc()