Searched refs:gcd (Results 1 – 2 of 2) sorted by relevance
99 const struct gpio_dt_spec *gcd = &config->discharge_gpios; in adc_vbus_discharge() local102 if (gcd->port) { in adc_vbus_discharge()103 ret = gpio_pin_set_dt(gcd, enable); in adc_vbus_discharge()139 const struct gpio_dt_spec *gcd = &config->discharge_gpios; in adc_vbus_init() local162 if (gcd->port) { in adc_vbus_init()163 if (!device_is_ready(gcd->port)) { in adc_vbus_init()164 LOG_ERR("%s: device not ready", gcd->port->name); in adc_vbus_init()167 ret = gpio_pin_configure_dt(gcd, GPIO_OUTPUT_INACTIVE); in adc_vbus_init()170 gcd->port->name, gcd->pin, ret); in adc_vbus_init()
86 static int gcd(int, int);111 gcd(int a, int b) in gcd() function142 ncycle = gcd(nnonopts, nopts); in permute_args()