Searched refs:inv_state_transition (Results 1 – 4 of 4) sorted by relevance
95 result = inv_state_transition(INV_STATE_DMP_OPENED); in inv_dmp_open()184 result = inv_state_transition(INV_STATE_DMP_STARTED); in inv_dmp_start()221 result = inv_state_transition(INV_STATE_DMP_OPENED); in inv_dmp_stop()276 result = inv_state_transition(INV_STATE_SERIAL_OPENED); in inv_dmp_close()
49 inv_error_t inv_state_transition(unsigned char newState);
118 inv_error_t inv_state_transition(unsigned char newState) in inv_state_transition() function
133 result = inv_state_transition(INV_STATE_SERIAL_OPENED); in inv_serial_start()141 (void)inv_state_transition(INV_STATE_SERIAL_CLOSED); in inv_serial_start()162 result = inv_state_transition(INV_STATE_SERIAL_CLOSED); in inv_serial_stop()