/AliOS-Things-master/components/mbmaster/src/api/ |
A D | main_process.c | 46 return status; in mbmaster_main_type1_process() 54 return status; in mbmaster_main_type1_process() 63 return status; in mbmaster_main_type1_process() 79 return status; in mbmaster_main_type1_process() 112 return status; in mbmaster_main_type2_process() 120 return status; in mbmaster_main_type2_process() 129 return status; in mbmaster_main_type2_process() 143 return status; in mbmaster_main_type2_process() 175 return status; in mbmaster_main_type3_process() 183 return status; in mbmaster_main_type3_process() [all …]
|
A D | mbmaster_api.c | 13 mb_status_t status = MB_SUCCESS; in mbmaster_read_coils() local 16 return status; in mbmaster_read_coils() 24 mb_status_t status = MB_SUCCESS; in mbmaster_read_discrete_inputs() local 27 return status; in mbmaster_read_discrete_inputs() 35 mb_status_t status = MB_SUCCESS; in mbmaster_read_holding_registers() local 38 return status; in mbmaster_read_holding_registers() 49 return status; in mbmaster_read_input_registers() 60 return status; in mbmaster_write_single_coil() 71 return status; in mbmaster_write_single_register() 82 return status; in mbmaster_write_multiple_coils() [all …]
|
/AliOS-Things-master/components/drivers/peripheral/watchdog/example/ |
A D | wdg_example.c | 57 aos_status_t status = 0; in aos_wdg_reload_test() local 72 if (status) { in aos_wdg_reload_test() 78 status = aos_wdg_feed(wdg); in aos_wdg_reload_test() 79 if (status) { in aos_wdg_reload_test() 84 status = aos_wdg_stop(wdg); in aos_wdg_reload_test() 85 if (status) { in aos_wdg_reload_test() 91 if (status) { in aos_wdg_reload_test() 97 if (status) { in aos_wdg_reload_test() 104 if (status) { in aos_wdg_reload_test() 110 if (status) { in aos_wdg_reload_test() [all …]
|
/AliOS-Things-master/components/sensor/drv/drv_ps_st_vl53l0x/ |
A D | drv_ps_st_vl53l0x.c | 51 int status; in VL53L0X_INTERRRUPT_INIT() local 52 (void)status; in VL53L0X_INTERRRUPT_INIT() 59 status = in VL53L0X_INTERRRUPT_INIT() 66 status = in VL53L0X_INTERRRUPT_INIT() 142 if (status) { in SetupSingleShot() 148 if (status) { in SetupSingleShot() 154 if (status) { in SetupSingleShot() 161 if (status) { in SetupSingleShot() 167 if (status) { in SetupSingleShot() 174 if (status) { in SetupSingleShot() [all …]
|
/AliOS-Things-master/components/drivers/peripheral/watchdog/src/ |
A D | wdg_core.c | 32 aos_status_t status = 0; in aos_wdg_open() local 52 if (status) { in aos_wdg_open() 92 if (status) { in aos_wdg_open() 100 if (status) { in aos_wdg_open() 170 if (status) { in aos_wdg_close() 195 if (status) { in aos_wdg_close() 225 if (status) { in aos_wdg_control() 238 if (status) { in aos_wdg_control() 295 return status; in aos_wdg_timeout_set() 321 if (status) { in aos_wdg_feed() [all …]
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | cfg_cli.c | 899 .status = status, in bt_mesh_cfg_comp_data_get() 1057 .status = status, in bt_mesh_cfg_relay_get() 1100 .status = status, in bt_mesh_cfg_relay_set() 1137 .status = status, in bt_mesh_cfg_net_key_add() 1175 .status = status, in bt_mesh_cfg_net_key_update() 1214 .status = status, in bt_mesh_cfg_krp_set() 1254 .status = status, in bt_mesh_cfg_krp_get() 1294 .status = status, in bt_mesh_cfg_app_key_add() 1334 .status = status, in bt_mesh_cfg_app_key_update() 1376 .status = status, in mod_app_bind() [all …]
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/ |
A D | cfg_cli.h | 64 u8_t *status); 69 u8_t *status); 72 u8_t *status); 75 u16_t cid, u8_t *status); 80 u8_t *status); 134 u8_t *status); 140 u8_t *status); 152 u8_t *status); 157 u8_t *status); 160 u8_t *status); [all …]
|
/AliOS-Things-master/components/osal_aos/example/ |
A D | task_example.c | 38 aos_status_t status; in task1_entry() local 43 status = aos_task_resume(&task2_handle); in task1_entry() 45 if (0 != status) in task1_entry() 61 status = aos_task_resume(&task2_handle); in task1_entry() 63 if (0 != status) in task1_entry() 93 aos_status_t status; in aos_task_example() local 95 status = aos_sem_new(&g_testsync_sem, 0); in aos_task_example() 96 if (status != 0) in aos_task_example() 98 printf("[%s]sem new failed, err=%ld\n", MODULE_NAME, status); in aos_task_example() 103 if (status != 0) { in aos_task_example() [all …]
|
A D | mutex_example.c | 56 aos_status_t status; in task_entry() local 63 status = aos_mutex_lock(&mutex_handle, AOS_WAIT_FOREVER); in task_entry() 64 if (status != 0) { in task_entry() 83 status = aos_mutex_unlock(&mutex_handle); in task_entry() 84 if (status != 0) { in task_entry() 95 aos_status_t status; in aos_mutex_example() local 98 status = aos_mutex_create(&mutex_handle, 0); in aos_mutex_example() 99 if (status != 0) { in aos_mutex_example() 105 status = aos_task_new(TASKA_NAME, task_entry, NULL, TASKA_STACKSIZE); in aos_mutex_example() 106 if (status != 0) { in aos_mutex_example() [all …]
|
A D | queue_example.c | 50 aos_status_t status; in taskA_entry() local 69 status = aos_queue_send(&queue_handle, (void *)message_buf, sizeof(message_buf)); in taskA_entry() 70 if (status != 0) { in taskA_entry() 82 aos_status_t status; in taskB_entry() local 92 status = aos_queue_recv(&queue_handle, AOS_WAIT_FOREVER, (void *)message_buf, &rev_size); in taskB_entry() 93 if (status == 0) { in taskB_entry() 108 aos_status_t status; in aos_queue_example() local 119 status = aos_queue_new(&queue_handle, (void *)queue_buffer, sizeof(queue_buffer), in aos_queue_example() 121 if (status != 0) { in aos_queue_example() 128 if (status != 0) { in aos_queue_example() [all …]
|
A D | event_example.c | 58 aos_status_t status; in taskA_entry() local 66 …status = aos_event_get(&event_handle, USER_EVENT_1 | USER_EVENT_2, AOS_EVENT_OR, &actl_flags, AOS_… in taskA_entry() 68 if (status != 0) { in taskA_entry() 94 aos_status_t status; in taskB_entry() local 101 …status = aos_event_get(&event_handle, USER_EVENT_1 | USER_EVENT_2, AOS_EVENT_AND, &actl_flags, AOS… in taskB_entry() 102 if (status != 0) { in taskB_entry() 126 aos_status_t status; in aos_event_example() local 134 status = aos_event_create(&event_handle, 0, 0); in aos_event_example() 135 if (status != 0) { in aos_event_example() 142 if (status != 0) { in aos_event_example() [all …]
|
/AliOS-Things-master/components/SDL2/src/audio/alsa/ |
A D | SDL_alsa_audio.c | 409 int status; in ALSA_CaptureFromDevice() local 465 int status; in ALSA_set_buffer_size() local 521 int status = 0; in ALSA_OpenDevice() local 549 if (status < 0) { in ALSA_OpenDevice() 559 if (status < 0) { in ALSA_OpenDevice() 567 if (status < 0) { in ALSA_OpenDevice() 573 status = -1; in ALSA_OpenDevice() 620 if (status < 0) { in ALSA_OpenDevice() 645 if (status < 0) { in ALSA_OpenDevice() 657 if (status < 0) { in ALSA_OpenDevice() [all …]
|
/AliOS-Things-master/components/drivers/peripheral/i2c/src/ |
A D | i2c_core.c | 116 if (status) { in aos_i2c_open() 160 if (status) { in aos_i2c_open() 183 if (status) { in aos_i2c_open() 213 if (status) { in aos_i2c_open() 222 if (status) { in aos_i2c_open() 234 if (status) { in aos_i2c_open() 268 if (status) { in aos_i2c_close() 285 if (status) { in aos_i2c_close() 314 if (status) { in aos_i2c_clk_set() 323 if (status) { in aos_i2c_clk_set() [all …]
|
/AliOS-Things-master/components/mbmaster/src/pdu/ |
A D | pdu.c | 14 mb_status_t status = MB_SUCCESS; in pdu_type122_assemble() local 19 return status; in pdu_type122_assemble() 30 return status; in pdu_type122_assemble() 47 return status; in pdu_type1221n_assemble() 68 return status; in pdu_type1221n_assemble() 86 return status; in pdu_type11n_disassemble() 94 return status; in pdu_type11n_disassemble() 102 return status; in pdu_type11n_disassemble() 114 return status; in pdu_type11n_disassemble() 134 return status; in pdu_type122_disassemble() [all …]
|
/AliOS-Things-master/components/SDL2/src/audio/qsa/ |
A D | SDL_qsa_audio.c | 143 int status; in QSA_PlayDevice() local 187 status = in QSA_PlayDevice() 261 int status = 0; in QSA_OpenDevice() local 300 if (status < 0) { in QSA_OpenDevice() 402 if (status < 0) { in QSA_OpenDevice() 461 status = in QSA_OpenDevice() 466 status = in QSA_OpenDevice() 471 if (status < 0) { in QSA_OpenDevice() 485 int32_t status; in QSA_DetectDevices() local 505 status = in QSA_DetectDevices() [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | mpsalport.c | 24 *status = aos_task_delete(id); in mp_sal_task_delete() 30 int status = aos_mutex_create(mutex, 0); in mp_sal_mutex_create() local 34 return status; in mp_sal_mutex_create() 47 int status = aos_mutex_lock(mutex, timeout); in mp_sal_mutex_lock() local 48 return status; in mp_sal_mutex_lock() 57 int status = aos_mutex_unlock(mutex); in mp_sal_mutex_unlock() local 58 return status; in mp_sal_mutex_unlock() 70 int status = aos_sem_create(sem, 0, 0); in mp_sal_sem_create() local 71 return status; in mp_sal_sem_create() 85 int status = aos_sem_wait(sem, timeout); in mp_sal_sem_take() local [all …]
|
/AliOS-Things-master/components/mbmaster/example/ |
A D | mbmaster_example.c | 28 mb_status_t status; in mb_master_main() local 42 LOGD(MODBUS_MOUDLE, "mbmaster_rtu_init status is %d\n", status); in mb_master_main() 43 if (status != MB_SUCCESS) { in mb_master_main() 58 if (status == MB_SUCCESS) { in mb_master_main() 81 if (status == MB_SUCCESS) { in mb_master_main() 99 mb_status_t status; in mb_slave_main() local 114 if (status != MB_SUCCESS) { in mb_slave_main() 123 status = mb_handler_slave->frame_recv(mb_handler_slave); in mb_slave_main() 124 if (status == MB_SUCCESS) { in mb_slave_main() 127 if (status == MB_SUCCESS) { in mb_slave_main() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/ |
A D | rtl8721d_rtc.c | 86 status = 1; in RTC_EnterInitMode() 88 status = 0; in RTC_EnterInitMode() 91 status = 1; in RTC_EnterInitMode() 154 status = 1; in RTC_WaitForSynchro() 156 status = 0; in RTC_WaitForSynchro() 176 u32 status; in RTC_BypassShadowCmd() local 196 status = 1; in RTC_BypassShadowCmd() 198 status = 0; in RTC_BypassShadowCmd() 201 status = 0; in RTC_BypassShadowCmd() 386 status = 0; in RTC_SetTime() [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | mpsalport.c | 41 QlOSStatus status; in mp_sal_task_create() local 42 status = ql_rtos_task_create(&id, stack_size_byte, 100, name, entry, arg); in mp_sal_task_create() 43 return status; in mp_sal_task_create() 46 void mp_sal_task_delete(mp_sal_taskhandler_obj_t id, int32_t *status) { in mp_sal_task_delete() argument 52 *status = ql_rtos_task_delete(&id); in mp_sal_task_delete() 56 int status = aos_mutex_new(mutex); in mp_sal_mutex_create() local 57 return status; in mp_sal_mutex_create() 65 int status = aos_mutex_lock(mutex, timeout); in mp_sal_mutex_lock() local 66 return status; in mp_sal_mutex_lock() 75 int status = aos_mutex_unlock(mutex); in mp_sal_mutex_unlock() local [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | mpsalport.c | 41 QlOSStatus status; in mp_sal_task_create() local 42 status = ql_rtos_task_create(&id, stack_size_byte, 100, name, entry, arg); in mp_sal_task_create() 43 return status; in mp_sal_task_create() 46 void mp_sal_task_delete(mp_sal_taskhandler_obj_t id, int32_t *status) { in mp_sal_task_delete() argument 52 *status = ql_rtos_task_delete(&id); in mp_sal_task_delete() 56 int status = aos_mutex_new(mutex); in mp_sal_mutex_create() local 57 return status; in mp_sal_mutex_create() 65 int status = aos_mutex_lock(mutex, timeout); in mp_sal_mutex_lock() local 66 return status; in mp_sal_mutex_lock() 75 int status = aos_mutex_unlock(mutex); in mp_sal_mutex_unlock() local [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/common/api/ |
A D | co_hci.h | 868 uint8_t status; member 897 uint8_t status; member 945 uint8_t status; member 957 uint8_t status; member 968 uint8_t status; member 979 uint8_t status; member 992 uint8_t status; member 1014 uint8_t status; member 1034 uint8_t status; member 1146 uint8_t status; member [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | hci_ecc.c | 106 evt->status = status; in send_cmd_status() 139 u8_t status; in emulate_le_p256_public_key_cmd() local 143 status = generate_keys(); in emulate_le_p256_public_key_cmd() 155 evt->status = status; in emulate_le_p256_public_key_cmd() 157 if (status) { in emulate_le_p256_public_key_cmd() 211 evt->status = 0U; in emulate_le_generate_dhkey() 255 u8_t status; in le_gen_dhkey() local 263 status = BT_HCI_ERR_INVALID_PARAM; in le_gen_dhkey() 279 status = BT_HCI_ERR_SUCCESS; in le_gen_dhkey() 288 u8_t status; in le_p256_pub_key() local [all …]
|
/AliOS-Things-master/components/py_engine/modules/modbus/ |
A D | modbus.c | 73 if (status == MB_SUCCESS) { in mp_modbus_deinit() 151 mb_status_t status = in mp_writeMultipleHoldingRegisters() local 154 if (status != MB_SUCCESS) { in mp_writeMultipleHoldingRegisters() 234 if (status != MB_SUCCESS) { in mp_writeMultipleCoils() 274 if (status != MB_SUCCESS) { in mp_readHoldingRegisters() 312 if (status != MB_SUCCESS) { in mp_readInputRegisters() 350 if (status != MB_SUCCESS) { in mp_readDiscreteInputs() 386 mb_status_t status = in mp_readCoils() local 388 if (status != MB_SUCCESS) { in mp_readCoils() 412 if (status == MB_SUCCESS) { in mp_slave_framerecv() [all …]
|
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_lpm.c | 50 if (STATUS_WAKEUP == genie_lpm_ctx.status) in _genie_lpm_timer_irq_handler() 56 genie_lpm_ctx.status = STATUS_SLEEP; in _genie_lpm_timer_irq_handler() 72 else if (STATUS_SLEEP == genie_lpm_ctx.status) in _genie_lpm_timer_irq_handler() 78 genie_lpm_ctx.status = STATUS_WAKEUP; in _genie_lpm_timer_irq_handler() 139 g_io_status[i].status = status; in genie_lpm_io_wakeup_handler() 148 if (STATUS_SLEEP == genie_lpm_ctx.status) in genie_lpm_io_wakeup_handler() 155 genie_lpm_ctx.status = STATUS_WAKEUP; in genie_lpm_io_wakeup_handler() 210 genie_lpm_ctx.status = STATUS_WAKEUP; in genie_lpm_disable() 228 genie_lpm_ctx.status = STATUS_SLEEP; in genie_lpm_enable() 267 genie_lpm_ctx.status = STATUS_WAKEUP; in genie_lpm_init() [all …]
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testgles.c | 111 int status; in main() local 207 if (!status) { in main() 214 if (!status) { in main() 221 if (!status) { in main() 228 if (!status) { in main() 236 if (!status) { in main() 243 if (!status) { in main() 253 if (!status) { in main() 266 if (status) { in main() 300 if (status) { in main() [all …]
|