Lines Matching refs:psts
23 enum rtw_phl_status psts = RTW_PHL_STATUS_FAILURE; in _phl_alloc_hw_resource() local
74 psts = RTW_PHL_STATUS_SUCCESS; in _phl_alloc_hw_resource()
78 if (psts == RTW_PHL_STATUS_SUCCESS) { in _phl_alloc_hw_resource()
82 return psts; in _phl_alloc_hw_resource()
89 enum rtw_phl_status psts = RTW_PHL_STATUS_FAILURE; in _phl_free_hw_resource() local
119 psts = RTW_PHL_STATUS_SUCCESS; in _phl_free_hw_resource()
121 return psts; in _phl_free_hw_resource()
129 enum rtw_phl_status psts = RTW_PHL_STATUS_FAILURE;
133 return psts;
138 return psts;
355 enum rtw_phl_status psts = RTW_PHL_STATUS_FAILURE; in _phl_wifi_role_start() local
359 psts = phl_alloc_stainfo_hw(phl_info, sta); in _phl_wifi_role_start()
360 if (psts != RTW_PHL_STATUS_SUCCESS) { in _phl_wifi_role_start()
379 psts = RTW_PHL_STATUS_SUCCESS; in _phl_wifi_role_start()
380 return psts; in _phl_wifi_role_start()
383 return psts; in _phl_wifi_role_start()
430 enum rtw_phl_status psts = RTW_PHL_STATUS_FAILURE; in phl_wifi_role_start() local
439 psts = RTW_PHL_STATUS_RESOURCE; in phl_wifi_role_start()
445 psts = phl_cmd_enqueue(phl_info, in phl_wifi_role_start()
454 if (is_cmd_failure(psts)) { in phl_wifi_role_start()
456 psts = RTW_PHL_STATUS_FAILURE; in phl_wifi_role_start()
458 } else if (psts != RTW_PHL_STATUS_SUCCESS) { in phl_wifi_role_start()
461 psts = RTW_PHL_STATUS_FAILURE; in phl_wifi_role_start()
468 return psts; in phl_wifi_role_start()
488 enum rtw_phl_status psts = RTW_PHL_STATUS_FAILURE; in rtw_phl_wifi_role_alloc() local
518 psts = phl_wifi_role_start(phl_info, role, phl_sta); in rtw_phl_wifi_role_alloc()
519 if (psts != RTW_PHL_STATUS_SUCCESS) { in rtw_phl_wifi_role_alloc()
874 enum rtw_phl_status psts = RTW_PHL_STATUS_FAILURE; in rtw_phl_cmd_wrole_change() local
881 psts = phl_wifi_role_change(phl_info, wrole, chg_id, chg_info); in rtw_phl_cmd_wrole_change()
889 psts = RTW_PHL_STATUS_RESOURCE; in rtw_phl_cmd_wrole_change()
900 psts = RTW_PHL_STATUS_RESOURCE; in rtw_phl_cmd_wrole_change()
906 psts = phl_cmd_enqueue(phl_info, in rtw_phl_cmd_wrole_change()
915 if (is_cmd_failure(psts)) { in rtw_phl_cmd_wrole_change()
917 psts = RTW_PHL_STATUS_FAILURE; in rtw_phl_cmd_wrole_change()
919 } else if (psts != RTW_PHL_STATUS_SUCCESS) { in rtw_phl_cmd_wrole_change()
921 psts = RTW_PHL_STATUS_FAILURE; in rtw_phl_cmd_wrole_change()
928 return psts; in rtw_phl_cmd_wrole_change()
937 return psts; in rtw_phl_cmd_wrole_change()
954 enum rtw_phl_status psts = RTW_PHL_STATUS_FAILURE; in _phl_wifi_role_stop() local
958 psts = phl_wifi_role_free_stainfo_hw(phl_info, wrole); in _phl_wifi_role_stop()
959 if (psts != RTW_PHL_STATUS_SUCCESS) { in _phl_wifi_role_stop()
965 return psts; in _phl_wifi_role_stop()
994 enum rtw_phl_status psts = RTW_PHL_STATUS_FAILURE; in phl_wifi_role_stop() local
996 psts = phl_cmd_enqueue(phl_info, in phl_wifi_role_stop()
1004 if (is_cmd_failure(psts)) { in phl_wifi_role_stop()
1006 psts = RTW_PHL_STATUS_FAILURE; in phl_wifi_role_stop()
1008 } else if (psts != RTW_PHL_STATUS_SUCCESS) { in phl_wifi_role_stop()
1010 psts = RTW_PHL_STATUS_FAILURE; in phl_wifi_role_stop()
1016 return psts; in phl_wifi_role_stop()