Home
last modified time | relevance | path

Searched refs:_FAIL (Results 1 – 25 of 69) sorted by relevance

123

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Dnlrtw.h26 static inline int rtw_nlrtw_init(void) {return _FAIL;} in rtw_nlrtw_init()
27 static inline int rtw_nlrtw_deinit(void) {return _FAIL;} in rtw_nlrtw_deinit()
28 …ine int rtw_nlrtw_ch_util_rpt(_adapter *adapter, u8 n_rpts, u8 *val, u8 **mac_addr) {return _FAIL;} in rtw_nlrtw_ch_util_rpt()
29 static inline int rtw_nlrtw_reg_change_event(_adapter *adapter) {return _FAIL;} in rtw_nlrtw_reg_change_event()
30 static inline int rtw_nlrtw_reg_beacon_hint_event(_adapter *adapter) {return _FAIL;} in rtw_nlrtw_reg_beacon_hint_event()
31 static inline int rtw_nlrtw_radio_opmode_notify(struct rf_ctl_t *rfctl) {return _FAIL;} in rtw_nlrtw_radio_opmode_notify()
41 static inline int rtw_nlrtw_radar_detect_event(_adapter *adapter, u8 cch, u8 bw) {return _FAIL;} in rtw_nlrtw_radar_detect_event()
42 static inline int rtw_nlrtw_cac_finish_event(_adapter *adapter, u8 cch, u8 bw) {return _FAIL;} in rtw_nlrtw_cac_finish_event()
43 static inline int rtw_nlrtw_cac_abort_event(_adapter *adapter, u8 cch, u8 bw) {return _FAIL;} in rtw_nlrtw_cac_abort_event()
44 static inline int rtw_nlrtw_nop_finish_event(_adapter *adapter, u8 cch, u8 bw) {return _FAIL;} in rtw_nlrtw_nop_finish_event()
[all …]
Dsdio_intf.c201 return err ? _FAIL : _SUCCESS; in sdio_alloc_irq()
253 return _FAIL; in gpio_hostwakeup_alloc_irq()
535 return _FAIL; in sdio_init()
667 int status = _FAIL; in sdio_dvobj_init()
720 if (rtw_hal_data_init(padapter) == _FAIL) in rtw_set_hal_ops()
721 return _FAIL; in rtw_set_hal_ops()
770 if (rtl8821cs_set_hal_ops(padapter) == _FAIL) in rtw_set_hal_ops()
771 return _FAIL; in rtw_set_hal_ops()
790 if (rtw_hal_ops_check(padapter) == _FAIL) in rtw_set_hal_ops()
791 return _FAIL; in rtw_set_hal_ops()
[all …]
Drecv_linux.c26 return _FAIL; in rtw_os_recvframe_duplicate_skb()
33 return _FAIL; in rtw_os_recvframe_duplicate_skb()
40 return _FAIL; in rtw_os_recvframe_duplicate_skb()
66 res = _FAIL; in rtw_os_alloc_recvframe()
126 res = _FAIL; in rtw_os_alloc_recvframe()
131 res = _FAIL; in rtw_os_alloc_recvframe()
136 res = _FAIL; in rtw_os_alloc_recvframe()
150 res = _FAIL; in rtw_os_alloc_recvframe()
222 return _FAIL; in sdio_init_recvbuf_with_skb()
233 return _FAIL; in sdio_init_recvbuf_with_skb()
[all …]
Dos_intfs.c2052 int ret = _FAIL; in rtw_os_ndev_alloc()
2219 ret = _FAIL; in rtw_os_ndev_register()
2242 ret = (register_netdev(ndev) == 0) ? _SUCCESS : _FAIL; in rtw_os_ndev_register()
2244 ret = (register_netdevice(ndev) == 0) ? _SUCCESS : _FAIL; in rtw_os_ndev_register()
2328 int ret = _FAIL; in rtw_os_ndev_init()
2363 return _FAIL; in rtw_os_ndevs_alloc()
2449 _status = _FAIL; in rtw_start_drv_threads()
2462 _status = _FAIL; in rtw_start_drv_threads()
2474 _status = _FAIL; in rtw_start_drv_threads()
2488 _status = _FAIL; in rtw_start_drv_threads()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/
Dhal_intf.c145 return _FAIL; in rtw_hal_data_init()
328 return _FAIL; in rtw_hal_rfpath_init()
336 return _FAIL; in rtw_hal_rfpath_init()
346 return _FAIL; in rtw_hal_rfpath_init()
544 status = _FAIL; in rtw_hal_init()
600 status = _FAIL; in rtw_hal_init()
853 return _FAIL; in rtw_hal_intf_ps_func()
882 s32 ret = _FAIL; in rtw_hal_mgnt_xmit()
1070 s32 ret = _FAIL; in rtw_hal_interrupt_handler()
1157 return _FAIL; in rtw_hal_hostap_mgnt_xmit_entry()
[all …]
Dhal_mcc.c1298 ret = _FAIL; in rtw_hal_dl_mcc_fw_rsvd_page()
2271 u8 ret = _FAIL; in check_mcc_support()
2336 if (check_mcc_support(padapter) == _FAIL) { in rtw_hal_set_mcc_start_setting()
2337 ret = _FAIL; in rtw_hal_set_mcc_start_setting()
2346 if (rtw_hal_decide_mcc_role(padapter) == _FAIL) { in rtw_hal_set_mcc_start_setting()
2347 ret = _FAIL; in rtw_hal_set_mcc_start_setting()
2544 u8 ret = _FAIL; in rtw_hal_set_mcc_setting()
2556 if (rtw_hal_set_mcc_start_setting(padapter, status) == _FAIL) in rtw_hal_set_mcc_setting()
2778 ret = _FAIL; in mcc_get_reg_hdl()
2789 ret = _FAIL; in mcc_get_reg_hdl()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_cmd.c47 res = _FAIL; in _rtw_init_cmd_priv()
56 res = _FAIL; in _rtw_init_cmd_priv()
151 res = _FAIL; in _rtw_init_evt_priv()
161 res = _FAIL; in _rtw_init_evt_priv()
430 return _FAIL; in rtw_cmd_filter()
439 int res = _FAIL; in rtw_enqueue_cmd()
455 if ((_FAIL == res) || (cmd_obj->cmdsz > MAX_CMDSZ)) { in rtw_enqueue_cmd()
548 if (_rtw_down_sema(&pcmdpriv->cmd_queue_sema) == _FAIL) { in rtw_cmd_thread()
609 if (_FAIL == rtw_cmd_filter(pcmdpriv, pcmd)) { in rtw_cmd_thread()
751 res = _FAIL; in rtw_enqueue_evt()
[all …]
Drtw_ioctl_set.c127 ret = _FAIL; in rtw_do_join()
131 ret = _FAIL; in rtw_do_join()
197 ret = _FAIL; in rtw_do_join()
201 ret = _FAIL; in rtw_do_join()
227 status = _FAIL; in rtw_set_802_11_bssid()
262 if (rtw_handle_tkip_countermeasure(padapter, __func__) == _FAIL) { in rtw_set_802_11_bssid()
263 status = _FAIL; in rtw_set_802_11_bssid()
299 status = _FAIL; in rtw_set_802_11_ssid()
355 if (rtw_handle_tkip_countermeasure(padapter, __func__) == _FAIL) { in rtw_set_802_11_ssid()
356 status = _FAIL; in rtw_set_802_11_ssid()
[all …]
Drtw_swcrypto.c53 return _FAIL; in _rtw_ccmp_encrypt()
96 return _FAIL; in _rtw_ccmp_decrypt()
147 return _FAIL; in _rtw_gcmp_encrypt()
181 return _FAIL; in _rtw_gcmp_decrypt()
203 res = _FAIL; in _bip_ccmp_protect()
208 res = _FAIL; in _bip_ccmp_protect()
213 res = _FAIL; in _bip_ccmp_protect()
243 res = _FAIL; in _bip_gcmp_protect()
Drtw_sdio.c58 return _FAIL; in sdio_io()
94 return _FAIL; in sdio_io()
107 return _FAIL; in sdio_io()
117 return _FAIL; in sdio_io()
154 ret = _FAIL; in rtw_sdio_f0_read()
Drtw_recv.c108 res = _FAIL; in _rtw_init_recv_priv()
526 res = _FAIL; in recvframe_chkmic()
570 res = _FAIL; in recvframe_chkmic()
725 if (res != _FAIL in decryptor()
731 if (res == _FAIL) { in decryptor()
833 return _FAIL; in recv_ucast_pn_decache()
877 return _FAIL; in recv_bcast_pn_decache()
896 return _FAIL; in recv_decache()
933 return _FAIL; in recv_decache()
1054 ret = _FAIL; in OnTDLS()
[all …]
Drtw_security.c749 return _FAIL; in rtw_tkip_encrypt()
881 res = _FAIL; in rtw_tkip_decrypt()
940 res = _FAIL; in rtw_tkip_decrypt()
945 res = _FAIL; in rtw_tkip_decrypt()
1605 return _FAIL; in rtw_aes_encrypt()
1691 return _FAIL; in rtw_aes_encrypt()
2037 res = _FAIL; in aes_decipher()
2072 res = _FAIL; in rtw_aes_decrypt()
2114 res = _FAIL; in rtw_aes_decrypt()
2128 res = _FAIL; in rtw_aes_decrypt()
[all …]
Drtw_xmit.c118 res = _FAIL; in _rtw_init_xmit_priv()
155 res = _FAIL; in _rtw_init_xmit_priv()
174 if (res == _FAIL) { in _rtw_init_xmit_priv()
177 if (res == _FAIL) in _rtw_init_xmit_priv()
208 res = _FAIL; in _rtw_init_xmit_priv()
239 res = _FAIL; in _rtw_init_xmit_priv()
255 if (res == _FAIL) { in _rtw_init_xmit_priv()
256 res = _FAIL; in _rtw_init_xmit_priv()
287 if (res == _FAIL) { in _rtw_init_xmit_priv()
288 res = _FAIL; in _rtw_init_xmit_priv()
[all …]
Drtw_pwrctrl.c26 int ret = _FAIL, dont_care = 0; in rtw_fw_ps_state()
172 if (rtw_fw_ps_state(padapter) == _FAIL) { in ips_leave()
480 u8 rst = _FAIL; in rtw_cpwm_polling()
520 if (rtw_fw_ps_state(adapter) == _FAIL) { in rtw_cpwm_polling()
529 if (rtw_fw_ps_state(adapter) == _FAIL) { in rtw_cpwm_polling()
703 u8 result = _FAIL; in rtw_set_lps_lclk()
775 if (result == _FAIL ) in rtw_set_lps_lclk()
883 s32 ready = _FAIL; in rtw_lps_rfon_ctrl()
907 if (ready == _FAIL) in rtw_lps_rfon_ctrl()
928 if (rtw_hal_set_lps_pg_info_cmd(padapter) == _FAIL) in rtw_lps_rfon_ctrl()
[all …]
Drtw_iol.c82 return _FAIL; in rtw_IOL_append_cmds()
370 return _FAIL; in rtw_IOL_exec_cmd_array_sync()
372 if (rtw_IOL_append_cmds(xmit_frame, IOL_cmds, cmd_num << 3) == _FAIL) in rtw_IOL_exec_cmd_array_sync()
373 return _FAIL; in rtw_IOL_exec_cmd_array_sync()
Drtw_tdls.c283 int ret = _FAIL; in _issue_nulldata_to_TDLS_peer_STA()
386 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata_to_TDLS_peer_STA()
389 } while ((i < try_cnt) && (ret == _FAIL || wait_ms == 0)); in issue_nulldata_to_TDLS_peer_STA()
391 if (ret != _FAIL) { in issue_nulldata_to_TDLS_peer_STA()
1000 s32 ret = _FAIL; in rtw_tdls_do_ch_sw()
1135 int ret = _FAIL; in issue_tunneled_probe_req()
1177 int ret = _FAIL; in issue_tunneled_probe_rsp()
1223 int ret = _FAIL; in issue_tdls_setup_req()
1309 int ret = _FAIL; in _issue_tdls_teardown()
1365 int ret = _FAIL; in issue_tdls_teardown()
[all …]
Drtw_ft.c336 return (pie)?_SUCCESS:_FAIL; in rtw_ft_update_rsnie()
342 return _FAIL; in rtw_ft_update_rsnie()
359 return _FAIL; in rtw_ft_update_mdie()
382 return _FAIL; in rtw_ft_update_ftie()
428 return _FAIL; in rtw_ft_update_auth_rsp_ies()
436 return _FAIL; in rtw_ft_update_auth_rsp_ies()
Drtw_mlme_ext.c1332 if (rtw_get_chplan_cmd(dvobj_get_primary_adapter(dvobj), RTW_CMDF_WAIT_ACK, &chplan) == _FAIL) in dump_cur_country()
1347 if (rtw_get_chplan_cmd(dvobj_get_primary_adapter(dvobj), RTW_CMDF_WAIT_ACK, &chplan) == _FAIL) in dump_cur_chset()
2834 return _FAIL; in OnAuth()
2876 return _FAIL; in OnAuth()
3097 return _FAIL; in OnAuth()
3206 return _FAIL; in OnAuthClient()
3246 return _FAIL; in OnAssocReq()
3251 return _FAIL; in OnAssocReq()
3267 return _FAIL; in OnAssocReq()
3546 return _FAIL; in OnAssocReq()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/sdio/
Drtl8822cs_io.c38 if (_FAIL == ret) in sdio_f0_read8()
82 return _FAIL; in rtl8822cs_read_port()
139 u32 ret = _FAIL; in rtl8822cs_write_port()
183 u32 ret = _FAIL; in sdio_write_port()
201 (_FAIL == ret) ? RTW_SCTX_DONE_WRITE_PORT_ERR : RTW_SCTX_DONE_SUCCESS); in sdio_write_port()
276 if (_FAIL == ret) { in sd_recv_rxfifo()
314 ret = _FAIL; in sdio_recv_and_drop()
319 if (_FAIL == ret) in sdio_recv_and_drop()
427 if (_FAIL == sdio_recv_and_drop(adapter, rx_len)) in sd_int_dpc()
Drtl8822cs_halinit.c37 return _FAIL; in fw_ips_leave()
87 if (rtw_fw_ps_state(a) == _FAIL) { in fw_ips_leave()
113 return _FAIL; in fw_ips_enter()
209 return _FAIL; in rtl8822cs_init()
Drtl8822cs_xmit.c113 if (_FAIL == ret) { in rtl8822cs_xmit_buf_handler()
115 return _FAIL; in rtl8822cs_xmit_buf_handler()
123 return _FAIL; in rtl8822cs_xmit_buf_handler()
265 || ((k != 0) && (_FAIL == rtw_hal_busagg_qsel_check(adapter, pre_qsel, next_qsel)))) { in xmit_xmitframes()
334 if (ret == _FAIL) { in xmit_xmitframes()
444 if (_FAIL == ret) { in xmit_handler()
446 return _FAIL; in xmit_handler()
455 return _FAIL; in xmit_handler()
Drtl8822cs_recv.c583 res = _FAIL; in rtl8822cs_init_recv_priv()
593 if (res == _FAIL) in rtl8822cs_init_recv_priv()
597 if (res == _FAIL) { in rtl8822cs_init_recv_priv()
603 if (res == _FAIL) { in rtl8822cs_init_recv_priv()
614 if (res == _FAIL) in rtl8822cs_init_recv_priv()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/efuse/
Drtw_efuse.c1046 return _FAIL; in efuse_GetCurrentSize()
1086 return _FAIL; in efuse_bt_GetCurrentSize()
1161 return _FAIL; in rtw_efuse_access()
1166 return _FAIL; in rtw_efuse_access()
1175 return _FAIL; in rtw_efuse_access()
1183 return _FAIL; in rtw_efuse_access()
1208 int err = _FAIL; in rtw_efuse_bt_access()
1216 return _FAIL; in rtw_efuse_bt_access()
1222 return _FAIL; in rtw_efuse_bt_access()
1234 return _FAIL; in rtw_efuse_bt_access()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/
Drtl8822c_mac.c52 if (_FAIL == err) in rtl8822c_rcr_config()
93 if (_FAIL == err) in rtl8822c_rx_tsf_addr_filter_config()
157 return _FAIL; in rtl8822c_fw_dl()
Drtl8822c_halinit.c102 ret = _FAIL; in rtl8822c_power_on()
261 return _FAIL; in rtl8822c_init()
304 return _FAIL; in rtl8822c_deinit()

123