Home
last modified time | relevance | path

Searched refs:pin1 (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/regulator/
Dlp8788-buck.c122 enum lp8788_dvs_state pin1, pin2; in lp8788_buck2_set_dvs() local
129 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() local
236 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 …]
/linux-4.19.296/drivers/ptp/
Dptp_chardev.c65 struct ptp_pin_desc *pin1 = NULL, *pin2 = &info->pin_config[pin]; in ptp_set_pinfunc() local
72 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()