Searched refs:current_mode (Results 1 – 5 of 5) 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()
366 enum spi_smartbond_fifo_mode current_mode = spi_smartbond_get_fifo_mode(dev); in spi_smartbond_set_fifo_mode() local373 if ((current_mode != mode) in spi_smartbond_set_fifo_mode()378 if (current_mode != SPI_SMARTBOND_FIFO_MODE_RX_ONLY) { in spi_smartbond_set_fifo_mode()
276 (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211B)) { in get_sta_link_mode()
2540 hw_mode = iface->current_mode;