Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/bc12/
Dbc12_pi3usb9201.c427 enum pi3usb9201_mode desired_mode; in pi3usb9201_set_charging_mode() local
460 desired_mode = charging_mode_to_host_mode[pi3usb9201_config->charging_mode]; in pi3usb9201_set_charging_mode()
462 if (current_mode != desired_mode) { in pi3usb9201_set_charging_mode()
463 LOG_DBG("Set host mode to %d", desired_mode); in pi3usb9201_set_charging_mode()
475 rv = pi3usb9201_set_mode(dev, desired_mode); in pi3usb9201_set_charging_mode()