Home
last modified time | relevance | path

Searched refs:pin2 (Results 1 – 4 of 4) sorted by relevance

/drivers/regulator/
Dlp8788-buck.c116 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()
[all …]
/drivers/ptp/
Dptp_chardev.c52 struct ptp_pin_desc *pin1 = NULL, *pin2 = &info->pin_config[pin]; in ptp_set_pinfunc() local
97 ptp_disable_pinfunc(info, pin2->func, pin2->chan); in ptp_set_pinfunc()
98 pin2->func = func; in ptp_set_pinfunc()
99 pin2->chan = chan; in ptp_set_pinfunc()
/drivers/pinctrl/renesas/
Dcore.c934 const struct sh_pfc_pin *pin2 = &info->pins[j]; in sh_pfc_check_info() local
936 if (same_name(pin->name, pin2->name)) in sh_pfc_check_info()
940 if (pin->pin != (u16)-1 && pin->pin == pin2->pin) in sh_pfc_check_info()
942 pin->name, pin2->name, pin->pin); in sh_pfc_check_info()
944 if (pin->enum_id && pin->enum_id == pin2->enum_id) in sh_pfc_check_info()
946 pin->name, pin2->name, in sh_pfc_check_info()
/drivers/ide/
Dhpt366.c1292 u8 mcr1 = 0, pin1 = 0, pin2 = 0; in hpt36x_init() local
1303 pci_read_config_byte(dev2, PCI_INTERRUPT_PIN, &pin2); 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()