Searched refs:current_mode (Results 1 – 2 of 2) sorted by relevance
96 static size_t current_mode; variable111 current_mode = (current_mode + 1) % N_MODES; in change_mode()138 modes[current_mode](); in main()
426 enum pi3usb9201_mode current_mode; in pi3usb9201_set_charging_mode() local455 rv = pi3usb9201_get_mode(dev, ¤t_mode); in pi3usb9201_set_charging_mode()462 if (current_mode != desired_mode) { in pi3usb9201_set_charging_mode()