Searched refs:desired_mode (Results 1 – 1 of 1) sorted by relevance
427 enum pi3usb9201_mode desired_mode; in pi3usb9201_set_charging_mode() local460 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()