Home
last modified time | relevance | path

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

/drivers/regulator/
Dlp8788-buck.c116 enum lp8788_dvs_state pin1, pin2; in lp8788_buck2_set_dvs() local
123 pin1 = DVS_LOW; in lp8788_buck2_set_dvs()
127 pin1 = DVS_HIGH; in lp8788_buck2_set_dvs()
131 pin1 = DVS_LOW; in lp8788_buck2_set_dvs()
135 pin1 = DVS_HIGH; in lp8788_buck2_set_dvs()
143 gpio_set_value(dvs->gpio[0], pin1); in lp8788_buck2_set_dvs()
208 int pin1, pin2; in lp8788_select_buck_vout_addr() local
230 pin1 = gpio_get_value(b2_dvs->gpio[0]); 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()
[all …]
/drivers/ptp/
Dptp_chardev.c52 struct ptp_pin_desc *pin1 = NULL, *pin2 = &info->pin_config[pin]; in ptp_set_pinfunc() local
59 pin1 = &info->pin_config[i]; in ptp_set_pinfunc()
63 if (pin1 && i == pin) in ptp_set_pinfunc()
92 if (pin1) { in ptp_set_pinfunc()
94 pin1->func = PTP_PF_NONE; in ptp_set_pinfunc()
95 pin1->chan = 0; in ptp_set_pinfunc()
/drivers/ide/
Dhpt366.c1292 u8 mcr1 = 0, pin1 = 0, pin2 = 0; in hpt36x_init() local
1302 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin1); in hpt36x_init()
1305 if (pin1 != pin2 && dev->irq == dev2->irq) { in hpt36x_init()
1307 "pin1=%d pin2=%d\n", pci_name(dev), pin1, pin2); in hpt36x_init()