Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb_c/vbus/
Dusbc_vbus_adc.c99 const struct gpio_dt_spec *gcd = &config->discharge_gpios; in adc_vbus_discharge() local
102 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() local
162 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()
/Zephyr-latest/lib/posix/options/getopt/
Dgetopt_long.c86 static int gcd(int, int);
111 gcd(int a, int b) in gcd() function
142 ncycle = gcd(nnonopts, nopts); in permute_args()