Searched refs:current_state (Results 1 – 3 of 3) sorted by relevance
68 bool current_state = (battery_critical_status & BT_BAS_BCS_BATTERY_CRITICAL_STATE) != 0; in bt_bas_bcs_set_battery_critical_state() local70 if (current_state == critical_state) { in bt_bas_bcs_set_battery_critical_state()85 bool current_state = (battery_critical_status & BT_BAS_BCS_IMMEDIATE_SERVICE_REQUIRED) != 0; in bt_bas_bcs_set_immediate_service_required() local87 if (current_state == service_required) { in bt_bas_bcs_set_immediate_service_required()
214 int cb_notify(struct http_parser *parser, enum state *current_state, http_cb cb, in cb_notify() argument223 parser->state = *current_state; in cb_notify()227 *current_state = parser->state; in cb_notify()239 enum state *current_state, size_t *parsed, size_t already_parsed, in cb_data() argument252 parser->state = *current_state; in cb_data()257 *current_state = parser->state; in cb_data()813 enum state *current_state, size_t *parsed, in zero_content_length() argument816 enum state p_state = *current_state; in zero_content_length()857 *current_state = p_state; in zero_content_length()
1169 enum usbc_pe_state current_state = pe_get_state(dev); in pe_sender_response_run() local1182 switch (current_state) { in pe_sender_response_run()
Completed in 23 milliseconds