Searched refs:pin1 (Results 1 – 2 of 2) sorted by relevance
122 enum lp8788_dvs_state pin1, pin2; in lp8788_buck2_set_dvs() local129 pin1 = DVS_LOW; in lp8788_buck2_set_dvs()133 pin1 = DVS_HIGH; in lp8788_buck2_set_dvs()137 pin1 = DVS_LOW; in lp8788_buck2_set_dvs()141 pin1 = DVS_HIGH; in lp8788_buck2_set_dvs()149 gpio_set_value(dvs->gpio[0], pin1); in lp8788_buck2_set_dvs()214 int pin1, pin2; in lp8788_select_buck_vout_addr() local236 pin1 = gpio_get_value(b2_dvs->gpio[0]); 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() local72 pin1 = &info->pin_config[i]; in ptp_set_pinfunc()76 if (pin1 && i == pin) in ptp_set_pinfunc()105 if (pin1) { in ptp_set_pinfunc()107 pin1->func = PTP_PF_NONE; in ptp_set_pinfunc()108 pin1->chan = 0; in ptp_set_pinfunc()