Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/hal_nxp-latest/mcux/mcux-sdk/components/codec/wm8960/
Dfsl_wm8960.c52 status_t ret = kStatus_Success; in WM8960_SetInternalPllConfig() local
56 WM8960_CHECK_RET(WM8960_ModifyReg(handle, WM8960_POWER2, 1U, 0U), ret); in WM8960_SetInternalPllConfig()
57 WM8960_CHECK_RET(WM8960_ModifyReg(handle, WM8960_CLOCK1, 7U, 0U), ret); in WM8960_SetInternalPllConfig()
86 ret); in WM8960_SetInternalPllConfig()
87 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_PLL2, (uint16_t)(pllK >> 16U) & 0xFFU), ret); in WM8960_SetInternalPllConfig()
88 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_PLL3, (uint16_t)(pllK >> 8U) & 0xFFU), ret); in WM8960_SetInternalPllConfig()
89 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_PLL4, (uint16_t)pllK & 0xFFU), ret); in WM8960_SetInternalPllConfig()
91 WM8960_CHECK_RET(WM8960_ModifyReg(handle, WM8960_POWER2, 1U, 1U), ret); in WM8960_SetInternalPllConfig()
94 …yReg(handle, WM8960_CLOCK1, 7U, (uint16_t)(((sysclkDiv == 1U ? 0U : sysclkDiv) << 1U) | 1U)), ret); in WM8960_SetInternalPllConfig()
96 return ret; in WM8960_SetInternalPllConfig()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/codec/sgtl5000/
Dfsl_sgtl5000.c147 status_t ret = kStatus_Success; in SGTL_Deinit() local
149 ret = SGTL_DisableModule(handle, kSGTL_ModuleADC); in SGTL_Deinit()
150 ret = SGTL_DisableModule(handle, kSGTL_ModuleDAC); in SGTL_Deinit()
151 ret = SGTL_DisableModule(handle, kSGTL_ModuleDAP); in SGTL_Deinit()
152 ret = SGTL_DisableModule(handle, kSGTL_ModuleI2SIN); in SGTL_Deinit()
153 ret = SGTL_DisableModule(handle, kSGTL_ModuleI2SOUT); in SGTL_Deinit()
154 ret = SGTL_DisableModule(handle, kSGTL_ModuleLineOut); in SGTL_Deinit()
156 ret = CODEC_I2C_Deinit(handle->i2cHandle); in SGTL_Deinit()
158 return ret; in SGTL_Deinit()
175 status_t ret = kStatus_Success; in SGTL_EnableModule() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/codec/wm8962/
Dfsl_wm8962.c54 status_t ret = kStatus_Success; in WM8962_StartSequence() local
78 WM8962_CHECK_RET(WM8962_WriteReg(handle, 0x57, 0x20U), ret); in WM8962_StartSequence()
79 WM8962_CHECK_RET(WM8962_WriteReg(handle, 0x5A, (uint16_t)id), ret); in WM8962_StartSequence()
82 WM8962_CHECK_RET(WM8962_ReadReg(handle, 0x5D, &sequenceStat), ret); in WM8962_StartSequence()
142 status_t ret = kStatus_Success; in WM8962_SetInternalFllConfig() local
148 WM8962_CHECK_RET(WM8962_ModifyReg(handle, WM8962_FLL_CTRL_1, 1U, 0U), ret); in WM8962_SetInternalFllConfig()
150 ret); in WM8962_SetInternalFllConfig()
221 …(WM8962_ModifyReg(handle, WM8962_FLL_CTRL_2, 0x1FBU, (uint16_t)(refDiv | (fllOutDiv << 3U))), ret); in WM8962_SetInternalFllConfig()
222 WM8962_CHECK_RET(WM8962_ModifyReg(handle, WM8962_FLL_CTRL_3, 7U, (uint16_t)fllRatio), ret); in WM8962_SetInternalFllConfig()
223 WM8962_CHECK_RET(WM8962_WriteReg(handle, WM8962_FLL_CTRL_6, (uint16_t)fllTheta), ret); in WM8962_SetInternalFllConfig()
[all …]
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-connectivity-framework/platform/rw61x/
Dfwk_platform_ble.c364 int ret = 0; in PLATFORM_InitBle() local
386 ret = PLATFORM_InitControllers(connBle_c); in PLATFORM_InitBle()
387 if (ret != 0) in PLATFORM_InitBle()
389 ret = -1; in PLATFORM_InitBle()
394 ret = PLATFORM_InitHciLink(); in PLATFORM_InitBle()
395 if (ret != 0) in PLATFORM_InitBle()
397 ret = -2; in PLATFORM_InitBle()
413 return ret; in PLATFORM_InitBle()
441 int ret = 0; in PLATFORM_TerminateBle() local
452 ret = -1; in PLATFORM_TerminateBle()
[all …]
Dfwk_platform_hdlc.c108 int ret = 0; in PLATFORM_InitHdlcInterface() local
118 ret = -1; in PLATFORM_InitHdlcInterface()
125 ret = -2; in PLATFORM_InitHdlcInterface()
130 if (ret != 0) in PLATFORM_InitHdlcInterface()
136 return ret; in PLATFORM_InitHdlcInterface()
141 int ret = 0; in PLATFORM_TerminateHdlcInterface() local
146 ret = PLATFORM_RequestBleWakeUp(); in PLATFORM_TerminateHdlcInterface()
147 if (ret != 0) in PLATFORM_TerminateHdlcInterface()
149 ret = -1; in PLATFORM_TerminateHdlcInterface()
155 ret = -2; in PLATFORM_TerminateHdlcInterface()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/codec/pcm512x/
Dfsl_pcm512x.c56 status_t ret = kStatus_Success; in dac_pcm512x_set_gpio_val() local
71 ret = kStatus_InvalidArgument; in dac_pcm512x_set_gpio_val()
76 ret = PCM512x_ModifyReg(handle, PCM512x_GPIO_EN, gpio_bit, gpio_bit); in dac_pcm512x_set_gpio_val()
77 if (ret != kStatus_Success) goto end; in dac_pcm512x_set_gpio_val()
80 ret = PCM512x_ModifyReg(handle, gpio_output_reg, 0xf, 2); in dac_pcm512x_set_gpio_val()
81 if (ret != kStatus_Success) goto end; in dac_pcm512x_set_gpio_val()
84 ret = PCM512x_ModifyReg(handle, PCM512x_GPIO_CONTROL_1, gpio_bit, val ? gpio_bit : 0); in dac_pcm512x_set_gpio_val()
85 if (ret != kStatus_Success) goto end; in dac_pcm512x_set_gpio_val()
88 return ret; in dac_pcm512x_set_gpio_val()
237 status_t ret = kStatus_Success; in PCM512x_SetFormat() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/codec/ak4497/
Dfsl_ak4497.c55 status_t ret = kStatus_Success; in AK4497_Init() local
66 ret = AK4497_ModifyReg(handle, AK4497_CONTROL2, AK4497_CONTROL2_SMUTE_MASK, in AK4497_Init()
69 ret = AK4497_ModifyReg(handle, AK4497_CONTROL1, in AK4497_Init()
72 ret = AK4497_ModifyReg(handle, AK4497_CONTROL3, AK4497_CONTROL3_SELLR_MASK, in AK4497_Init()
80 ret = AK4497_ModifyReg(handle, AK4497_CONTROL1, AK4497_CONTROL1_AFSD_MASK, in AK4497_Init()
82 ret = AK4497_ModifyReg(handle, AK4497_CONTROL1, AK4497_CONTROL1_ACKS_MASK, in AK4497_Init()
87 ret = AK4497_ModifyReg(handle, AK4497_CONTROL1, AK4497_CONTROL1_AFSD_MASK, in AK4497_Init()
89 ret = AK4497_ModifyReg(handle, AK4497_CONTROL1, AK4497_CONTROL1_ACKS_MASK, in AK4497_Init()
93ret = AK4497_ModifyReg(handle, AK4497_CONTROL7, AK4497_CONTROL7_TDM0_MASK | AK4497_CONTROL7_TDM1_M… in AK4497_Init()
95 ret = AK4497_ModifyReg(handle, AK4497_CONTROL8, AK4497_CONTROL8_SDS0_MASK, in AK4497_Init()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/codec/pcm186x/
Dfsl_pcm186x.c56 status_t ret = kStatus_Success; in dac_pcm186x_set_gpio_val() local
61 ret = PCM186x_ModifyReg(handle, in dac_pcm186x_set_gpio_val()
65 if (ret != kStatus_Success) goto end; in dac_pcm186x_set_gpio_val()
68 ret = PCM186x_ModifyReg(handle, in dac_pcm186x_set_gpio_val()
72 if (ret != kStatus_Success) goto end; in dac_pcm186x_set_gpio_val()
77 ret = PCM186x_ModifyReg(handle, in dac_pcm186x_set_gpio_val()
81 if (ret != kStatus_Success) goto end; in dac_pcm186x_set_gpio_val()
84 ret = PCM186x_ModifyReg(handle, in dac_pcm186x_set_gpio_val()
88 if (ret != kStatus_Success) goto end; in dac_pcm186x_set_gpio_val()
93 ret = PCM186x_ModifyReg(handle, in dac_pcm186x_set_gpio_val()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/elemu/
Dfsl_elemu.c71 status_t ret = 0; in ELEMU_mu_hal_receive_data_wait() local
76 ret = kStatus_ELEMU_RequestTimeout; in ELEMU_mu_hal_receive_data_wait()
80 if (ret != kStatus_ELEMU_RequestTimeout) in ELEMU_mu_hal_receive_data_wait()
88 ret = kStatus_Success; in ELEMU_mu_hal_receive_data_wait()
90 return ret; in ELEMU_mu_hal_receive_data_wait()
97 status_t ret = kStatus_Fail; in ELEMU_mu_send_message() local
100 ret = kStatus_ELEMU_InvalidArgument; in ELEMU_mu_send_message()
104 ret = kStatus_ELEMU_AgumentOutOfRange; in ELEMU_mu_send_message()
116 ret = kStatus_Success; in ELEMU_mu_send_message()
118 return ret; in ELEMU_mu_send_message()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/wlcmgr/
Dwlan_test_mode_tests.c42 int ret; in wlan_rf_test_mode_set() local
50 ret = wlan_set_rf_test_mode(); in wlan_rf_test_mode_set()
51 if (ret == WM_SUCCESS) in wlan_rf_test_mode_set()
72 int ret; in wlan_rf_test_mode_unset() local
80 ret = wlan_unset_rf_test_mode(); in wlan_rf_test_mode_unset()
81 if (ret == WM_SUCCESS) in wlan_rf_test_mode_unset()
112 int ret; in wlan_rf_channel_set() local
129 ret = wlan_set_rf_channel(channel); in wlan_rf_channel_set()
130 if (ret == WM_SUCCESS) in wlan_rf_channel_set()
149 int ret; in wlan_rf_radio_mode_get() local
[all …]
Dwlan_tests.c516 int ret = -WM_FAIL; local
536 ret = wlan_ieeeps_off();
537 if (ret == WM_SUCCESS)
544 ret = wlan_ieeeps_on(condition);
545 if (ret == WM_SUCCESS)
563 int ret = -WM_FAIL; local
575 ret = wlan_set_ieeeps_cfg(&pscfg);
576 if (ret == WM_SUCCESS)
579 (void)PRINTF("Failed to set power save cfg, error: %d", ret);
586 int ret = -WM_FAIL; local
[all …]
Dwlan.c688 int ret; in dbg_lock_info()
694 ret = tx_semaphore_info_get(&wlan.scan_lock, &name, &cur_val, in dbg_lock_info()
696 if (ret) { in dbg_lock_info()
898 int ret = WM_SUCCESS; in wlan_send_host_sleep_int() local
921 ret = -WM_FAIL; in wlan_send_host_sleep_int()
922 return ret; in wlan_send_host_sleep_int()
972 ret = wlan_get_ipv4_addr(&ipv4_addr); in wlan_send_host_sleep_int()
973 if (ret != WM_SUCCESS) in wlan_send_host_sleep_int()
981 ret = wlan_get_uap_ipv4_addr(&ipv4_addr); in wlan_send_host_sleep_int()
982 if (ret != WM_SUCCESS) in wlan_send_host_sleep_int()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD5/drivers/
Dfsl_upower.c116 static void UPOWER_Callback(upwr_sg_t sg, uint32_t func, upwr_resp_t errCode, int ret) in UPOWER_Callback() argument
133 int ret = -1; in UPOWER_CheckReq() local
143 reqStatus = upwr_poll_req_status(sg, NULL, &rsp, &ret, 0U); in UPOWER_CheckReq()
195 int ret = -1; /* the value returned by the last request completed */ in UPOWER_Init() local
227 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_Init()
259 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnDomain() local
264 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOnDomain()
282 int ret = -1; /* the value returned by the last request completed */ in UPOWER_BootDomain() local
287 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_BootDomain()
307 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnSwitches() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD3/drivers/
Dfsl_upower.c116 static void UPOWER_Callback(upwr_sg_t sg, uint32_t func, upwr_resp_t errCode, int ret) in UPOWER_Callback() argument
133 int ret = -1; in UPOWER_CheckReq() local
143 reqStatus = upwr_poll_req_status(sg, NULL, &rsp, &ret, 0U); in UPOWER_CheckReq()
195 int ret = -1; /* the value returned by the last request completed */ in UPOWER_Init() local
227 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_Init()
259 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnDomain() local
264 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOnDomain()
282 int ret = -1; /* the value returned by the last request completed */ in UPOWER_BootDomain() local
287 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_BootDomain()
307 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnSwitches() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD7/drivers/
Dfsl_upower.c116 static void UPOWER_Callback(upwr_sg_t sg, uint32_t func, upwr_resp_t errCode, int ret) in UPOWER_Callback() argument
133 int ret = -1; in UPOWER_CheckReq() local
143 reqStatus = upwr_poll_req_status(sg, NULL, &rsp, &ret, 0U); in UPOWER_CheckReq()
195 int ret = -1; /* the value returned by the last request completed */ in UPOWER_Init() local
227 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_Init()
259 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnDomain() local
264 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOnDomain()
282 int ret = -1; /* the value returned by the last request completed */ in UPOWER_BootDomain() local
287 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_BootDomain()
307 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnSwitches() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8US3/drivers/
Dfsl_upower.c116 static void UPOWER_Callback(upwr_sg_t sg, uint32_t func, upwr_resp_t errCode, int ret) in UPOWER_Callback() argument
133 int ret = -1; in UPOWER_CheckReq() local
143 reqStatus = upwr_poll_req_status(sg, NULL, &rsp, &ret, 0U); in UPOWER_CheckReq()
195 int ret = -1; /* the value returned by the last request completed */ in UPOWER_Init() local
227 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_Init()
259 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnDomain() local
264 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOnDomain()
282 int ret = -1; /* the value returned by the last request completed */ in UPOWER_BootDomain() local
287 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_BootDomain()
307 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnSwitches() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8US5/drivers/
Dfsl_upower.c116 static void UPOWER_Callback(upwr_sg_t sg, uint32_t func, upwr_resp_t errCode, int ret) in UPOWER_Callback() argument
133 int ret = -1; in UPOWER_CheckReq() local
143 reqStatus = upwr_poll_req_status(sg, NULL, &rsp, &ret, 0U); in UPOWER_CheckReq()
195 int ret = -1; /* the value returned by the last request completed */ in UPOWER_Init() local
227 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_Init()
259 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnDomain() local
264 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOnDomain()
282 int ret = -1; /* the value returned by the last request completed */ in UPOWER_BootDomain() local
287 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_BootDomain()
307 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnSwitches() local
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_misc.c36 mlan_status ret = MLAN_STATUS_SUCCESS; in wlan_alloc_mlan_buffer() local
51 ret = in wlan_alloc_mlan_buffer()
53 if ((ret != MLAN_STATUS_SUCCESS) || (pmbuf == MNULL)) in wlan_alloc_mlan_buffer()
246 mlan_status ret = MLAN_STATUS_SUCCESS; in wlan_process_802dot11_mgmt_pkt() local
263 return ret; in wlan_process_802dot11_mgmt_pkt()
274 return ret; in wlan_process_802dot11_mgmt_pkt()
279 ret = wlan_process_mgmt_action(payload, payload_len, rxpd); in wlan_process_802dot11_mgmt_pkt()
280 if (ret == MLAN_STATUS_SUCCESS) in wlan_process_802dot11_mgmt_pkt()
282 return ret; in wlan_process_802dot11_mgmt_pkt()
308 return ret; in wlan_process_802dot11_mgmt_pkt()
[all …]
Dwifi.c207 int ret = WM_SUCCESS; in wakelock_get() local
209 ret = OSA_SemaphorePost((osa_semaphore_handle_t)wakelock); in wakelock_get()
210 if (ret != WM_SUCCESS) in wakelock_get()
213 return ret; in wakelock_get()
218 int ret = WM_SUCCESS; in wakelock_put() local
220 ret = OSA_SemaphoreWait((osa_semaphore_handle_t)wakelock, 0); in wakelock_put()
221 if (ret != WM_SUCCESS) in wakelock_put()
224 return ret; in wakelock_put()
404 int ret = 0; in wifi_dump_firmware_info() local
412 ret = wm_wifi.wifi_usb_file_open_cb(itcm_dump_file_name); in wifi_dump_firmware_info()
[all …]
Dmlan_sta_ioctl.c51 mlan_status ret = MLAN_STATUS_SUCCESS; in wlan_snmp_mib_ioctl() local
65 ret = MLAN_STATUS_RESOURCE; in wlan_snmp_mib_ioctl()
96ret = wlan_prepare_cmd(pmpriv, HostCmd_CMD_802_11_SNMP_MIB, cmd_action, cmd_oid, (t_void *)pioctl_… in wlan_snmp_mib_ioctl()
98 if (ret == MLAN_STATUS_SUCCESS) in wlan_snmp_mib_ioctl()
99 ret = MLAN_STATUS_PENDING; in wlan_snmp_mib_ioctl()
103 return ret; in wlan_snmp_mib_ioctl()
117 mlan_status ret = MLAN_STATUS_SUCCESS; in wlan_bss_ioctl_start() local
169 ret = wlan_associate(pmpriv, pioctl_req, &pmadapter->pscan_table[i]); in wlan_bss_ioctl_start()
170 if (ret != MLAN_STATUS_SUCCESS) in wlan_bss_ioctl_start()
181 ret = MLAN_STATUS_PENDING; in wlan_bss_ioctl_start()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/edgefast_wifi/source/
Dwpl_nxp.c192 const int ret = wlan_init(wlan_fw_bin, wlan_fw_bin_len); in WPL_Init() local
193 if (ret != WM_SUCCESS) in WPL_Init()
211 int ret; in WPL_Start() local
223 ret = wlan_start(&wlan_event_callback); in WPL_Start()
224 if (ret != WM_SUCCESS) in WPL_Start()
259 int ret; in WPL_Stop() local
268 ret = wlan_stop(); in WPL_Stop()
269 if (ret != WM_SUCCESS) in WPL_Stop()
286 int ret; in WPL_Start_AP() local
336 ret = wlan_add_network(&uap_network); in WPL_Start_AP()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/firmware_dnld/
Dfirmware_dnld.c41 int32_t ret = FWDNLD_STATUS_FAILURE; in conn_download_normal_fw() local
47 return ret; in conn_download_normal_fw()
52ret = intf->intf_s.fwdnld_intf_send(intf, (const void *)(connfw_dl + offset), remaining_len, &len); in conn_download_normal_fw()
55 return ret; in conn_download_normal_fw()
73 int ret; in conn_download_decomp_fw() local
136 ret = xz_uncompress_stream(&stream, sbuf, readlen, loutbuf, txlen, &retlen); in conn_download_decomp_fw()
138 if (ret == XZ_STREAM_END) in conn_download_decomp_fw()
143 else if (ret != XZ_OK) in conn_download_decomp_fw()
145 fwdnld_io_e("Decompression failed:%d", ret); in conn_download_decomp_fw()
154 if (ret == XZ_STREAM_END) in conn_download_decomp_fw()
[all …]
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-connectivity-framework/platform/imx_rt/
Dfwk_platform_hdlc.c112 int ret = 0; in PLATFORM_InitHdlcInterface() local
125 ret = -1; in PLATFORM_InitHdlcInterface()
130 ret = -1; in PLATFORM_InitHdlcInterface()
135 if (ret < 0) in PLATFORM_InitHdlcInterface()
141 return ret; in PLATFORM_InitHdlcInterface()
146 int ret = 0; in PLATFORM_TerminateHdlcInterface() local
153 ret = -1; in PLATFORM_TerminateHdlcInterface()
156 return ret; in PLATFORM_TerminateHdlcInterface()
164 int ret = 0; in PLATFORM_SendHdlcMessage() local
177 ret = -1; in PLATFORM_SendHdlcMessage()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/RTOS2/RTX/Source/
Drtx_core_ca.h132 register uint32_t ret; in __get_PSP() local
139 : [ret] "=&l" (ret) in __get_PSP()
144 return ret; in __get_PSP()
448 register uint8_t ret; in atomic_wr8() local
459 : [ret] "=&l" (ret), in atomic_wr8()
466 return ret; in atomic_wr8()
494 register uint32_t ret; in atomic_set32() local
506 : [ret] "=&l" (ret), in atomic_set32()
514 return ret; in atomic_set32()
543 register uint32_t ret; in atomic_clr32() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/s3mu/
Dfsl_s3mu.c59 status_t ret = kStatus_Fail; in S3MU_SendMessage() local
62 ret = kStatus_S3MU_InvalidArgument; in S3MU_SendMessage()
74 ret = kStatus_Success; in S3MU_SendMessage()
76 return ret; in S3MU_SendMessage()
133 status_t ret = kStatus_Fail; in S3MU_ReadMessage() local
137 ret = kStatus_S3MU_InvalidArgument; in S3MU_ReadMessage()
162 ret = kStatus_Success; in S3MU_ReadMessage()
164 return ret; in S3MU_ReadMessage()
196 status_t ret; in S3MU_WaitForData() local
199 ret = kStatus_S3MU_InvalidArgument; in S3MU_WaitForData()
[all …]

12345678910>>...18