Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 890) sorted by relevance

12345678910>>...36

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
Dcheck_config.h39 #error "mbed TLS requires a platform with 8-bit chars"
44 #error "MBEDTLS_PLATFORM_C is required on Windows"
57 #error "The NET and TIMING modules are not available for mbed OS - please use the network and timin…
62 #error "MBEDTLS_DEPRECATED_WARNING only works with GCC and Clang"
66 #error "MBEDTLS_HAVE_TIME_DATE without MBEDTLS_HAVE_TIME does not make sense"
70 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
74 #error "MBEDTLS_CTR_DRBG_C defined, but not all prerequisites"
78 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
82 #error "MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT defined, but not all prerequisites"
87 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
[all …]
/device/soc/rockchip/common/sdk_linux/kernel/power/
Dhibernate.c303 int error; in create_image() local
305 error = dpm_suspend_end(PMSG_FREEZE); in create_image()
306 if (error) { in create_image()
308 return error; in create_image()
311 error = platform_pre_snapshot(platform_mode); in create_image()
312 if (error || hibernation_test(TEST_PLATFORM)) { in create_image()
316 error = suspend_disable_secondary_cpus(); in create_image()
317 if (error || hibernation_test(TEST_CPUS)) { in create_image()
325 error = syscore_suspend(); in create_image()
326 if (error) { in create_image()
[all …]
Dsuspend.c350 int error; in suspend_prepare() local
358 error = pm_notifier_call_chain_robust(PM_SUSPEND_PREPARE, PM_POST_SUSPEND); in suspend_prepare()
359 if (error) { in suspend_prepare()
364 error = suspend_freeze_processes(); in suspend_prepare()
366 if (!error) { in suspend_prepare()
376 return error; in suspend_prepare()
400 int error, last_dev; in suspend_enter() local
402 error = platform_suspend_prepare(state); in suspend_enter()
403 if (error) { in suspend_enter()
407 error = dpm_suspend_late(PMSG_SUSPEND); in suspend_enter()
[all …]
Dprocess.c138 int error; in freeze_processes() local
140 error = __usermodehelper_disable(UMH_FREEZING); in freeze_processes()
141 if (error) { in freeze_processes()
142 return error; in freeze_processes()
155 error = try_to_freeze_tasks(true); in freeze_processes()
156 if (!error) { in freeze_processes()
169 if (!error && !oom_killer_disable(msecs_to_jiffies(freeze_timeout_msecs))) { in freeze_processes()
170 error = -EBUSY; in freeze_processes()
173 if (error) { in freeze_processes()
176 return error; in freeze_processes()
[all …]
Dsnapshot.c658 int error; in memory_bm_create() local
663 error = create_mem_extents(&mem_extents, gfp_mask); in memory_bm_create()
664 if (error) { in memory_bm_create()
665 return error; in memory_bm_create()
674 error = -ENOMEM; in memory_bm_create()
684 return error; in memory_bm_create()
789 int error; in memory_bm_set_bit() local
791 error = memory_bm_find_bit(bm, pfn, &addr, &bit); in memory_bm_set_bit()
792 BUG_ON(error); in memory_bm_set_bit()
800 int error; in mem_bm_set_bit_check() local
[all …]
/device/soc/rockchip/common/sdk_linux/fs/xfs/
Dxfs_inode.c663 int error; in xfs_lookup() local
671 error = xfs_dir_lookup(NULL, dp, name, &inum, ci_name); in xfs_lookup()
672 if (error) { in xfs_lookup()
676 error = xfs_iget(dp->i_mount, NULL, inum, 0, 0, ipp); in xfs_lookup()
677 if (error) { in xfs_lookup()
689 return error; in xfs_lookup()
789 int error; in xfs_ialloc() local
797 error = xfs_dialloc(tp, pip ? pip->i_ino : 0, mode, ialloc_context, &ino); in xfs_ialloc()
798 if (error) { in xfs_ialloc()
799 return error; in xfs_ialloc()
[all …]
/device/soc/rockchip/rk2206/sdk_liteos/platform/network/
Dconfig_network.c130 WifiErrorCode error; in SetApModeOn() local
137 error = SetHotspotConfig(&config); in SetApModeOn()
138 if (error != WIFI_SUCCESS) { in SetApModeOn()
139 LZ_HARDWARE_LOGE(LOG_TAG, "rknetwork SetHotspotConfig ...error: %d\n", error); in SetApModeOn()
141 return error; in SetApModeOn()
146 error = EnableHotspot(); in SetApModeOn()
147 if (error != WIFI_SUCCESS) { in SetApModeOn()
148 LZ_HARDWARE_LOGE(LOG_TAG, "rknetwork EnableHotspot ...error: %d\n", error); in SetApModeOn()
150 return error; in SetApModeOn()
158 return error; in SetApModeOn()
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwldev_common.c327 int error; in wldev_get_link_speed() local
332 error = wldev_ioctl_get(dev, WLC_GET_RATE, plink_speed, sizeof(int)); in wldev_get_link_speed()
333 if (unlikely(error)) in wldev_get_link_speed()
334 return error; in wldev_get_link_speed()
338 return error; in wldev_get_link_speed()
344 int error; in wldev_get_rssi() local
349 error = wldev_ioctl_get(dev, WLC_GET_RSSI, scb_val, sizeof(scb_val_t)); in wldev_get_rssi()
350 if (unlikely(error)) in wldev_get_rssi()
351 return error; in wldev_get_rssi()
353 return error; in wldev_get_rssi()
[all …]
Dwl_roam.c241 int error, i, prev_channels; in update_roam_cache() local
259 error = wldev_iovar_getbuf(dev, "roamscan_channels", 0, 0, in update_roam_cache()
261 if (error) { in update_roam_cache()
262 WL_ERR(("Failed to get roamscan channels, error = %d\n", error)); in update_roam_cache()
266 error = wldev_get_ssid(dev, &ssid); in update_roam_cache()
267 if (error) { in update_roam_cache()
268 WL_ERR(("Failed to get SSID, err=%d\n", error)); in update_roam_cache()
290 error = wldev_iovar_setbuf(dev, "roamscan_channels", &channel_list, in update_roam_cache()
292 if (error) { in update_roam_cache()
293 WL_ERR(("Failed to update roamscan channels, error = %d\n", error)); in update_roam_cache()
[all …]
Dwl_iw.c403 int error; in dev_wlc_bufvar_set() local
411 error = dev_wlc_ioctl(dev, WLC_SET_VAR, ioctlbuf, buflen); in dev_wlc_bufvar_set()
414 return error; in dev_wlc_bufvar_set()
430 int error; in dev_wlc_bufvar_get() local
440 error = dev_wlc_ioctl(dev, WLC_GET_VAR, (void *)ioctlbuf, MAX_WLIW_IOCTL_LEN); in dev_wlc_bufvar_get()
441 if (!error) in dev_wlc_bufvar_get()
445 return (error); in dev_wlc_bufvar_get()
463 int error; in dev_wlc_intvar_get() local
470 error = dev_wlc_ioctl(dev, WLC_GET_VAR, (void *)&var, len); in dev_wlc_intvar_get()
474 return (error); in dev_wlc_intvar_get()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dwldev_common.c317 int error; in wldev_get_link_speed() local
323 error = wldev_ioctl_get(dev, WLC_GET_RATE, plink_speed, sizeof(int)); in wldev_get_link_speed()
324 if (unlikely(error)) { in wldev_get_link_speed()
325 return error; in wldev_get_link_speed()
330 return error; in wldev_get_link_speed()
335 int error; in wldev_get_rssi() local
341 error = wldev_ioctl_get(dev, WLC_GET_RSSI, scb_val, sizeof(scb_val_t)); in wldev_get_rssi()
342 if (unlikely(error)) { in wldev_get_rssi()
343 return error; in wldev_get_rssi()
346 return error; in wldev_get_rssi()
[all …]
Dwl_iw.c357 int error; in dev_wlc_bufvar_set() local
366 error = dev_wlc_ioctl(dev, WLC_SET_VAR, ioctlbuf, buflen); in dev_wlc_bufvar_set()
369 return error; in dev_wlc_bufvar_set()
382 int error; in dev_wlc_bufvar_get() local
393 error = in dev_wlc_bufvar_get()
395 if (!error) { in dev_wlc_bufvar_get()
400 return (error); in dev_wlc_bufvar_get()
414 int error; in dev_wlc_intvar_get() local
422 error = dev_wlc_ioctl(dev, WLC_GET_VAR, (void *)&var, len); in dev_wlc_intvar_get()
426 return (error); in dev_wlc_intvar_get()
[all …]
Dwl_roam.c248 int error, i, prev_channels; in update_roam_cache() local
266 error = in update_roam_cache()
269 if (error) { in update_roam_cache()
270 WL_ERR(("Failed to get roamscan channels, error = %d\n", error)); in update_roam_cache()
274 error = wldev_get_ssid(dev, &ssid); in update_roam_cache()
275 if (error) { in update_roam_cache()
276 WL_ERR(("Failed to get SSID, err=%d\n", error)); in update_roam_cache()
298 error = wldev_iovar_setbuf(dev, "roamscan_channels", &channel_list, in update_roam_cache()
301 if (error) { in update_roam_cache()
302 WL_ERR(("Failed to update roamscan channels, error = %d\n", error)); in update_roam_cache()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dwldev_common.c328 int error; in wldev_get_link_speed() local
333 error = wldev_ioctl_get(dev, WLC_GET_RATE, plink_speed, sizeof(int)); in wldev_get_link_speed()
334 if (unlikely(error)) in wldev_get_link_speed()
335 return error; in wldev_get_link_speed()
339 return error; in wldev_get_link_speed()
345 int error; in wldev_get_rssi() local
350 error = wldev_ioctl_get(dev, WLC_GET_RSSI, scb_val, sizeof(scb_val_t)); in wldev_get_rssi()
351 if (unlikely(error)) in wldev_get_rssi()
352 return error; in wldev_get_rssi()
354 return error; in wldev_get_rssi()
[all …]
Dwl_iw.c367 int error; in dev_wlc_bufvar_set() local
375 error = dev_wlc_ioctl(dev, WLC_SET_VAR, ioctlbuf, buflen); in dev_wlc_bufvar_set()
378 return error; in dev_wlc_bufvar_set()
394 int error; in dev_wlc_bufvar_get() local
404 error = dev_wlc_ioctl(dev, WLC_GET_VAR, (void *)ioctlbuf, MAX_WLIW_IOCTL_LEN); in dev_wlc_bufvar_get()
405 if (!error) in dev_wlc_bufvar_get()
409 return (error); in dev_wlc_bufvar_get()
427 int error; in dev_wlc_intvar_get() local
434 error = dev_wlc_ioctl(dev, WLC_GET_VAR, (void *)&var, len); in dev_wlc_intvar_get()
438 return (error); in dev_wlc_intvar_get()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwldev_common.c367 int error; in wldev_get_link_speed() local
372 error = wldev_ioctl_get(dev, WLC_GET_RATE, plink_speed, sizeof(int)); in wldev_get_link_speed()
373 if (unlikely(error)) in wldev_get_link_speed()
374 return error; in wldev_get_link_speed()
378 return error; in wldev_get_link_speed()
384 int error; in wldev_get_rssi() local
389 error = wldev_ioctl_get(dev, WLC_GET_RSSI, scb_val, sizeof(scb_val_t)); in wldev_get_rssi()
390 if (unlikely(error)) in wldev_get_rssi()
391 return error; in wldev_get_rssi()
393 return error; in wldev_get_rssi()
[all …]
Dwl_iw.c372 int error; in dev_wlc_bufvar_set() local
380 error = dev_wlc_ioctl(dev, WLC_SET_VAR, ioctlbuf, buflen); in dev_wlc_bufvar_set()
383 return error; in dev_wlc_bufvar_set()
399 int error; in dev_wlc_bufvar_get() local
409 error = dev_wlc_ioctl(dev, WLC_GET_VAR, (void *)ioctlbuf, MAX_WLIW_IOCTL_LEN); in dev_wlc_bufvar_get()
410 if (!error) in dev_wlc_bufvar_get()
414 return (error); in dev_wlc_bufvar_get()
432 int error; in dev_wlc_intvar_get() local
439 error = dev_wlc_ioctl(dev, WLC_GET_VAR, (void *)&var, len); in dev_wlc_intvar_get()
443 return (error); in dev_wlc_intvar_get()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Ddrv_conf.h53 #error "Enable CONCURRENT_MODE before enable MCC MODE\n"
59 #error "Disable BT COEXIST before enable MCC MODE\n"
65 #error "Disable TDLS before enable MCC MODE\n"
71 #error "Enable CONFIG_LAYER2_ROAMING before enable CONFIG_RTW_80211R\n"
117 #error "Linux kernel version is too old\n"
204 …#error "enable CONFIG_RESUME_IN_WORKQUEUE without CONFIG_WAKELOCK or CONFIG_ANDROID_POWER will suf…
205 …#error "If you still want to enable CONFIG_RESUME_IN_WORKQUEUE in this case, mask this preprossor …
269 #error "enable CONFIG_RTW_MULTI_AP without CONFIG_AP_MODE"
462 #error "CONFIG_REGD_SRC_FROM_OS is not supported when enable RTW_DEF_MODULE_REGULATORY_CERT"
590 #error "CONFIG_IFACE_NUMBER over 1,but CONFIG_CONCURRENT_MODE not defined"
[all …]
/device/board/bearpi/bearpi_hm_nano/app/D1_iot_wifi_ap/
DREADME.md95 error = RegisterWifiEvent(&g_wifiEventHandler);
96 if (error != WIFI_SUCCESS) {
97 printf("RegisterWifiEvent failed, error = %d.\r\n", error);
115 error = SetHotspotConfig(&config);
116 if (error != WIFI_SUCCESS) {
117 printf("SetHotspotConfig failed, error = %d.\r\n", error);
123 error = EnableHotspot();
124 if (error != WIFI_SUCCESS) {
125 printf("EnableHotspot failed, error = %d.\r\n", error);
Dwifi_ap.c54 WifiErrorCode error; variable
119 error = RegisterWifiEvent(&g_wifiEventHandler); in WifiAPTask()
120 if (error != WIFI_SUCCESS) { in WifiAPTask()
121 printf("RegisterWifiEvent failed, error = %d.\r\n", error); in WifiAPTask()
139 error = SetHotspotConfig(&config); in WifiAPTask()
140 if (error != WIFI_SUCCESS) { in WifiAPTask()
141 printf("SetHotspotConfig failed, error = %d.\r\n", error); in WifiAPTask()
147 error = EnableHotspot(); in WifiAPTask()
148 if (error != WIFI_SUCCESS) { in WifiAPTask()
149 printf("EnableHotspot failed, error = %d.\r\n", error); in WifiAPTask()
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/
Ddrv_errno.h44 (error & 0xFF000000 >> 24)
46 #define GET_ERROR_MODULE(error) \ argument
47 (error & 0x00FF0000 >> 16)
49 #define GET_ERROR_API(error) \ argument
50 (error & 0x0000FF00 >> 8)
52 #define GET_ERROR_NUM(error) \ argument
53 (error & 0x000000FF)
/device/soc/goodix/gr551x/sdk_liteos/config/
Dflash_scatter_config.h84 #error "CFG_MAX_CONNECTIONS is not defined in app's custom_config.h ."
94 #error "CFG_MAX_ADVS is not defined in app's custom_config.h ."
104 #error "CFG_MAX_PER_ADVS is not defined in app's custom_config.h ."
114 #error "The number of BLE Legacy/Extended/Periodic Advertising exceeds the limit."
118 #error "CFG_MAX_SCAN is not defined in app's custom_config.h ."
128 #error "CFG_MAX_SYNCS is not defined in app's custom_config.h ."
138 #error "The number of BLE Activities exceeds the limit."
142 #error "CFG_MAX_BOND_DEVS is not defined in app's custom_config.h ."
152 #error "CFG_MAX_PRFS is not defined in app's custom_config.h ."
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
Dnetcfg_sample.c193 WifiErrorCode error; in StaStart() local
194 error = EnableWifi(); in StaStart()
195 if (error == ERROR_WIFI_BUSY) { in StaStart()
200 if (error != WIFI_SUCCESS) { in StaStart()
201 printf("[sample] EnableWifi fail, error = %d\n", error); in StaStart()
212 error = RegisterWifiEvent(&g_staEventHandler); in StaStart()
213 if (error != WIFI_SUCCESS) { in StaStart()
214 printf("[sample] RegisterWifiEvent fail, error = %d\n", error); in StaStart()
229 WifiErrorCode error; in WapStaConnect() local
231 error = AddDeviceConfig(config, &netId); in WapStaConnect()
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/drivers/usb/usb_dev/inc/
Dusb_dev_desc.h26 #error "192K 32BIT stream can run on USB_HIGH_SPEED only"
29 #error "176.4K 32BIT stream can run on USB_HIGH_SPEED only"
33 #error "192K 24BIT stream can run on USB_HIGH_SPEED only"
36 #error "176.4K 24BIT stream can run on USB_HIGH_SPEED only"
41 #error "384K stream can run on USB_HIGH_SPEED and USB_AUDIO_UAC2 only"
44 #error "352.8K stream can run on USB_HIGH_SPEED and USB_AUDIO_UAC2 only"
/device/soc/winnermicro/wm800/board/src/os/liteos/
Dwm_osal_liteos.c126 u32 error; in tls_os_task_create() local
160 error = LOS_TaskCreate(&TskID, &stInitParam); in tls_os_task_create()
161 if (error == LOS_OK) { in tls_os_task_create()
170 prio, stInitParam.pcName, stk_size, (u32)entry, error); in tls_os_task_create()
262 u32 error; in tls_os_mutex_create() local
271 error = LOS_MuxCreate(&mutexID); in tls_os_mutex_create()
272 if (error == LOS_OK) { in tls_os_mutex_create()
312 u32 error; in tls_os_mutex_delete() local
316 error = LOS_MuxDelete(pHandle->handle); in tls_os_mutex_delete()
317 if (error == LOS_OK) { in tls_os_mutex_delete()
[all …]

12345678910>>...36