Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 22 of 22) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/example/bt_beacon/
A Dbt_beacon_app.c78 void bt_beacon_app_handle_dev_state_evt(T_GAP_DEV_STATE new_state, uint16_t cause) in bt_beacon_app_handle_dev_state_evt() argument
81 new_state.gap_init_state, new_state.gap_adv_state, cause); in bt_beacon_app_handle_dev_state_evt()
82 if (gap_dev_state.gap_init_state != new_state.gap_init_state) in bt_beacon_app_handle_dev_state_evt()
84 if (new_state.gap_init_state == GAP_INIT_STATE_STACK_READY) in bt_beacon_app_handle_dev_state_evt()
93 if (gap_dev_state.gap_adv_state != new_state.gap_adv_state) in bt_beacon_app_handle_dev_state_evt()
95 if (new_state.gap_adv_state == GAP_ADV_STATE_IDLE) in bt_beacon_app_handle_dev_state_evt()
100 else if (new_state.gap_adv_state == GAP_ADV_STATE_ADVERTISING) in bt_beacon_app_handle_dev_state_evt()
107 gap_dev_state = new_state; in bt_beacon_app_handle_dev_state_evt()
127 bt_beacon_app_handle_dev_state_evt(gap_msg.msg_data.gap_dev_state_change.new_state, in bt_beacon_app_handle_gap_msg()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/example/ble_peripheral/
A Dperipheral_app.c92 new_state.gap_init_state, new_state.gap_adv_state, cause); in app_handle_dev_state_evt()
93 if (gap_dev_state.gap_init_state != new_state.gap_init_state) in app_handle_dev_state_evt()
95 if (new_state.gap_init_state == GAP_INIT_STATE_STACK_READY) in app_handle_dev_state_evt()
104 if (gap_dev_state.gap_adv_state != new_state.gap_adv_state) in app_handle_dev_state_evt()
106 if (new_state.gap_adv_state == GAP_ADV_STATE_IDLE) in app_handle_dev_state_evt()
119 else if (new_state.gap_adv_state == GAP_ADV_STATE_ADVERTISING) in app_handle_dev_state_evt()
126 gap_dev_state = new_state; in app_handle_dev_state_evt()
141 conn_id, gap_conn_state, new_state, disc_cause); in app_handle_conn_state_evt()
142 switch (new_state) in app_handle_conn_state_evt()
178 gap_conn_state = new_state; in app_handle_conn_state_evt()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/example/bt_config/
A Dbt_config_peripheral_app.c142 new_state.gap_init_state, new_state.gap_adv_state, cause); in bt_config_app_handle_dev_state_evt()
143 if (bt_config_gap_dev_state.gap_init_state != new_state.gap_init_state) in bt_config_app_handle_dev_state_evt()
145 if (new_state.gap_init_state == GAP_INIT_STATE_STACK_READY) in bt_config_app_handle_dev_state_evt()
158 if (bt_config_gap_dev_state.gap_adv_state != new_state.gap_adv_state) in bt_config_app_handle_dev_state_evt()
160 if (new_state.gap_adv_state == GAP_ADV_STATE_IDLE) in bt_config_app_handle_dev_state_evt()
162 if (new_state.gap_adv_sub_state == GAP_ADV_TO_IDLE_CAUSE_CONN) in bt_config_app_handle_dev_state_evt()
172 else if (new_state.gap_adv_state == GAP_ADV_STATE_ADVERTISING) in bt_config_app_handle_dev_state_evt()
179 bt_config_gap_dev_state = new_state; in bt_config_app_handle_dev_state_evt()
195 switch (new_state) in bt_config_app_handle_conn_state_evt()
261 bt_config_gap_conn_state = new_state; in bt_config_app_handle_conn_state_evt()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dthread_pool.cc64 void ChangeState(State new_state, Task* task = nullptr) { in ChangeState() argument
67 RUY_DCHECK_NE(old_state, new_state); in ChangeState()
70 RUY_DCHECK_EQ(new_state, State::Ready); in ChangeState()
73 RUY_DCHECK(new_state == State::HasWork || in ChangeState()
74 new_state == State::ExitAsSoonAsPossible); in ChangeState()
77 RUY_DCHECK(new_state == State::Ready || in ChangeState()
78 new_state == State::ExitAsSoonAsPossible); in ChangeState()
83 switch (new_state) { in ChangeState()
98 state_.store(new_state, std::memory_order_relaxed); in ChangeState()
101 if (new_state == State::Ready) { in ChangeState()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd/
A Dvendor_cmd.c14 T_GAP_DEV_STATE new_state; in mailbox_to_bt() local
15 le_get_gap_param(GAP_PARAM_DEV_STATE , &new_state ); in mailbox_to_bt()
16 if (new_state.gap_init_state != GAP_INIT_STATE_STACK_READY) { in mailbox_to_bt()
17 APP_PRINT_ERROR1("mailbox_to_bt: gap_init_state: 0x%x", new_state.gap_init_state); in mailbox_to_bt()
33 T_GAP_DEV_STATE new_state; in mailbox_to_bt_set_profile_report() local
34 le_get_gap_param(GAP_PARAM_DEV_STATE , &new_state ); in mailbox_to_bt_set_profile_report()
35 if (new_state.gap_init_state != GAP_INIT_STATE_STACK_READY) { in mailbox_to_bt_set_profile_report()
36 …APP_PRINT_INFO1("mailbox_to_bt_set_profile_report: gap_init_state: 0x%x", new_state.gap_init_state… in mailbox_to_bt_set_profile_report()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/example/ble_central/
A Dble_central_client_app.c96 new_state.gap_init_state, in ble_central_app_handle_dev_state_evt()
97 new_state.gap_scan_state, cause); in ble_central_app_handle_dev_state_evt()
98 if (ble_central_gap_dev_state.gap_init_state != new_state.gap_init_state) in ble_central_app_handle_dev_state_evt()
100 if (new_state.gap_init_state == GAP_INIT_STATE_STACK_READY) in ble_central_app_handle_dev_state_evt()
118 if (ble_central_gap_dev_state.gap_scan_state != new_state.gap_scan_state) in ble_central_app_handle_dev_state_evt()
120 if (new_state.gap_scan_state == GAP_SCAN_STATE_IDLE) in ble_central_app_handle_dev_state_evt()
128 else if (new_state.gap_scan_state == GAP_SCAN_STATE_SCANNING) in ble_central_app_handle_dev_state_evt()
138 ble_central_gap_dev_state = new_state; in ble_central_app_handle_dev_state_evt()
160 ble_central_app_link_table[conn_id].conn_state = new_state; in ble_central_app_handle_conn_state_evt()
161 switch (new_state) in ble_central_app_handle_conn_state_evt()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/
A Dbt_example_entry.c32 T_GAP_DEV_STATE new_state; in bt_example_init_thread() local
61 le_get_gap_param(GAP_PARAM_DEV_STATE , &new_state); in bt_example_init_thread()
62 }while(new_state.gap_init_state != GAP_INIT_STATE_STACK_READY); in bt_example_init_thread()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap/
A Dgap_msg.h156 T_GAP_DEV_STATE new_state; member
165 uint8_t new_state; member
181 uint8_t new_state; member
/AliOS-Things-master/components/netmgr/src/
A Dnetmgr_conn.c154 int netmgr_conn_state_change(netmgr_conn_t *conn, netmgr_conn_state_t new_state) in netmgr_conn_state_change() argument
160 … NETMGR_CONN_LOGI("%s:%d new_state=%d old_state=%d\n", __func__, __LINE__, new_state, conn->state); in netmgr_conn_state_change()
161 switch (new_state) { in netmgr_conn_state_change()
188 … NETMGR_CONN_LOGE("%s:%d old state=%d new state=%d\n", __func__, __LINE__, conn->state, new_state); in netmgr_conn_state_change()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/
A Drtl8721d_clk.h215 _LONG_CALL_ void PLL_I2S_Set(u32 new_state);
216 _LONG_CALL_ void PLL_PCM_Set(u32 new_state);
/AliOS-Things-master/components/py_engine/engine/py/
A Dvm.c988 if (new_state == NULL) { in mp_execute_bytecode()
998 new_state->prev = code_state; in mp_execute_bytecode()
999 code_state = new_state; in mp_execute_bytecode()
1035 if (new_state == NULL) { in mp_execute_bytecode()
1044 new_state->prev = code_state; in mp_execute_bytecode()
1045 code_state = new_state; in mp_execute_bytecode()
1074 if (new_state == NULL) { in mp_execute_bytecode()
1083 new_state->prev = code_state; in mp_execute_bytecode()
1084 code_state = new_state; in mp_execute_bytecode()
1120 if (new_state == NULL) { in mp_execute_bytecode()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/
A Drtl8721d_pll.c62 void PLL_I2S_Set(u32 new_state) in PLL_I2S_Set() argument
67 if (ENABLE == new_state){ in PLL_I2S_Set()
126 void PLL_PCM_Set(u32 new_state) in PLL_PCM_Set() argument
131 if (ENABLE == new_state){ in PLL_PCM_Set()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_app/a2dp_codecs/include/
A Dapp_a2dp_codecs.h19 uint8_t a2dp_codec_confirm_stream_state(uint8_t index, uint8_t old_state, uint8_t new_state);
/AliOS-Things-master/components/netmgr/include_inner/
A Dnetmgr_conn.h41 int netmgr_conn_state_change(netmgr_conn_t *conn, netmgr_conn_state_t new_state);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/si/
A Drl6548.c32 void AUDIO_SI_Cmd(u8 new_state) in AUDIO_SI_Cmd() argument
36 if (new_state == ENABLE) { in AUDIO_SI_Cmd()
96 void AUDIO_SI_ClkCmd(u8 new_state) in AUDIO_SI_ClkCmd() argument
100 if (new_state == ENABLE) { in AUDIO_SI_ClkCmd()
A Drl6548.h629 void AUDIO_SI_Cmd(u8 new_state);
632 void AUDIO_SI_ClkCmd(u8 new_state);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_if_enhanced/inc/
A Da2dp_api.h575 …int8_t btif_a2dp_confirm_stream_state(a2dp_stream_t *Stream, uint8_t old_state, uint8_t new_state);
599 uint8_t a2dp_stream_confirm_stream_state(uint8_t index, uint8_t old_state, uint8_t new_state);
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/
A Dreference_ops.h544 const float new_state = in LstmCell() local
548 output_state_data[Offset(output_state_shape, b, h, w, c)] = new_state; in LstmCell()
550 output_gate * std::tanh(new_state); in LstmCell()
804 FS new_state = gemmlowp::SaturatingAdd( in LstmCell() local
815 F3 new_state_f3 = gemmlowp::Rescale<3>(new_state); in LstmCell()
820 output_state_data_int16[b * output_depth + c] = new_state.raw(); in LstmCell()
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv4/
A Ddhcp.c177 static void dhcp_set_state(struct dhcp *dhcp, u8_t new_state);
1388 dhcp_set_state(struct dhcp *dhcp, u8_t new_state) in dhcp_set_state() argument
1390 if (new_state != dhcp->state) { in dhcp_set_state()
1391 dhcp->state = new_state; in dhcp_set_state()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Didec_dec.c292 static void ChangeState(WebPIDecoder* const idec, DecState new_state, in ChangeState() argument
295 idec->state_ = new_state; in ChangeState()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/
A Dlegacy_optimized_ops.h3304 FS new_state = gemmlowp::SaturatingAdd( in LstmCell() local
3315 F3 new_state_f3 = gemmlowp::Rescale<3>(new_state); in LstmCell()
3320 vst1q_s16(output_state_data_ptr, new_state.raw()); in LstmCell()
3373 FS new_state = gemmlowp::SaturatingAdd( in LstmCell() local
3384 F3 new_state_f3 = gemmlowp::Rescale<3>(new_state); in LstmCell()
3389 *output_state_data_ptr++ = new_state.raw(); in LstmCell()
A Doptimized_ops.h3070 FS new_state = gemmlowp::SaturatingAdd( in LstmCell() local
3081 F3 new_state_f3 = gemmlowp::Rescale<3>(new_state); in LstmCell()
3086 vst1q_s16(output_state_data_ptr, new_state.raw()); in LstmCell()
3139 FS new_state = gemmlowp::SaturatingAdd( in LstmCell() local
3150 F3 new_state_f3 = gemmlowp::Rescale<3>(new_state); in LstmCell()
3155 *output_state_data_ptr++ = new_state.raw(); in LstmCell()

Completed in 78 milliseconds