Lines Matching refs:status
120 QDF_STATUS status = QDF_STATUS_E_FAILURE; in wlan_twt_init() local
122 status = wlan_objmgr_register_psoc_create_handler in wlan_twt_init()
126 if (QDF_IS_STATUS_ERROR(status)) { in wlan_twt_init()
131 status = wlan_objmgr_register_psoc_destroy_handler in wlan_twt_init()
135 if (QDF_IS_STATUS_ERROR(status)) { in wlan_twt_init()
140 status = wlan_objmgr_register_vdev_create_handler in wlan_twt_init()
144 if (QDF_IS_STATUS_ERROR(status)) { in wlan_twt_init()
149 status = wlan_objmgr_register_vdev_destroy_handler in wlan_twt_init()
153 if (QDF_IS_STATUS_ERROR(status)) { in wlan_twt_init()
158 status = wlan_objmgr_register_peer_create_handler in wlan_twt_init()
162 if (QDF_IS_STATUS_ERROR(status)) { in wlan_twt_init()
167 status = wlan_objmgr_register_peer_destroy_handler in wlan_twt_init()
171 if (QDF_IS_STATUS_ERROR(status)) { in wlan_twt_init()
204 return status; in wlan_twt_init()
209 QDF_STATUS status = QDF_STATUS_E_FAILURE; in wlan_twt_deinit() local
211 status = wlan_objmgr_unregister_psoc_create_handler in wlan_twt_deinit()
215 if (QDF_IS_STATUS_ERROR(status)) in wlan_twt_deinit()
218 status = wlan_objmgr_unregister_psoc_destroy_handler in wlan_twt_deinit()
222 if (QDF_IS_STATUS_ERROR(status)) in wlan_twt_deinit()
225 status = wlan_objmgr_unregister_vdev_create_handler in wlan_twt_deinit()
229 if (QDF_IS_STATUS_ERROR(status)) in wlan_twt_deinit()
232 status = wlan_objmgr_unregister_vdev_destroy_handler in wlan_twt_deinit()
236 if (QDF_IS_STATUS_ERROR(status)) in wlan_twt_deinit()
239 status = wlan_objmgr_unregister_peer_create_handler in wlan_twt_deinit()
243 if (QDF_IS_STATUS_ERROR(status)) in wlan_twt_deinit()
246 status = wlan_objmgr_unregister_peer_destroy_handler in wlan_twt_deinit()
250 if (QDF_IS_STATUS_ERROR(status)) in wlan_twt_deinit()
253 return status; in wlan_twt_deinit()
258 QDF_STATUS status = QDF_STATUS_E_NULL_VALUE; in twt_psoc_enable() local
267 status = tx_ops->register_events(psoc); in twt_psoc_enable()
268 if (QDF_IS_STATUS_ERROR(status)) in twt_psoc_enable()
269 twt_err("twt_register_events failed (status=%d)", status); in twt_psoc_enable()
273 return status; in twt_psoc_enable()
278 QDF_STATUS status = QDF_STATUS_E_NULL_VALUE; in twt_psoc_disable() local
287 status = tx_ops->deregister_events(psoc); in twt_psoc_disable()
288 if (QDF_IS_STATUS_ERROR(status)) in twt_psoc_disable()
290 status); in twt_psoc_disable()
294 return status; in twt_psoc_disable()