/wlan-driver/qca-wifi-host-cmn/umac/mlme/mlme_objmgr/dispatcher/src/ |
D | wlan_cmn_mlme_main.c | 135 QDF_STATUS ret = QDF_STATUS_SUCCESS; in mlme_psoc_ops_ext_hdl_create() local 138 ret = glbl_ops->mlme_psoc_ext_hdl_create(psoc_mlme); in mlme_psoc_ops_ext_hdl_create() 140 return ret; in mlme_psoc_ops_ext_hdl_create() 145 QDF_STATUS ret = QDF_STATUS_SUCCESS; in mlme_psoc_ext_enable_cb() local 148 ret = glbl_ops->mlme_psoc_ext_hdl_enable(psoc); in mlme_psoc_ext_enable_cb() 150 return ret; in mlme_psoc_ext_enable_cb() 155 QDF_STATUS ret = QDF_STATUS_SUCCESS; in mlme_psoc_ext_disable_cb() local 158 ret = glbl_ops->mlme_psoc_ext_hdl_disable(psoc); in mlme_psoc_ext_disable_cb() 160 return ret; in mlme_psoc_ext_disable_cb() 165 QDF_STATUS ret = QDF_STATUS_SUCCESS; in mlme_psoc_ops_ext_hdl_destroy() local [all …]
|
/wlan-driver/qcacld-3.0/core/pld/src/ |
D | pld_common.c | 234 int ret = 0; in pld_register_driver() local 241 ret = -ENODEV; in pld_register_driver() 247 ret = -EEXIST; in pld_register_driver() 254 ret = -EINVAL; in pld_register_driver() 261 ret = pld_pcie_register_driver(); in pld_register_driver() 262 if (ret) { in pld_register_driver() 268 ret = pld_snoc_register_driver(); in pld_register_driver() 269 if (ret) { in pld_register_driver() 275 ret = pld_sdio_register_driver(); in pld_register_driver() 276 if (ret) { in pld_register_driver() [all …]
|
/wlan-driver/platform/cnss2/ |
D | power.c | 135 int ret = 0; in cnss_get_vreg_single() local 148 ret = PTR_ERR(reg); in cnss_get_vreg_single() 149 if (ret == -ENODEV) in cnss_get_vreg_single() 150 return ret; in cnss_get_vreg_single() 151 else if (ret == -EPROBE_DEFER) in cnss_get_vreg_single() 156 vreg->cfg.name, ret); in cnss_get_vreg_single() 157 return ret; in cnss_get_vreg_single() 197 int ret = 0; in cnss_vreg_on_single() local 208 ret = regulator_set_voltage(vreg->reg, in cnss_vreg_on_single() 212 if (ret) { in cnss_vreg_on_single() [all …]
|
D | qmi.c | 113 int ret; in qmi_send_wait() local 117 ret = qmi_txn_init(qmi, &txn, rsp_ei, rsp); in qmi_send_wait() 118 if (ret < 0) { in qmi_send_wait() 123 ret = qmi_send_request(qmi, NULL, &txn, req_id, in qmi_send_wait() 125 if (ret < 0) { in qmi_send_wait() 131 ret = qmi_txn_wait(&txn, timeout); in qmi_send_wait() 132 if (ret < 0) { in qmi_send_wait() 139 ret = -resp->result; in qmi_send_wait() 146 cnss_pr_err("%s req %x, ret %d\n", err_msg, req_id, ret); in qmi_send_wait() 147 return ret; in qmi_send_wait() [all …]
|
D | genl.c | 95 int ret = 0; in cnss_genl_send_data() local 121 ret = -ENOMEM; in cnss_genl_send_data() 125 ret = nla_put_u8(skb, CNSS_GENL_ATTR_MSG_TYPE, type); in cnss_genl_send_data() 126 if (ret < 0) in cnss_genl_send_data() 128 ret = nla_put_string(skb, CNSS_GENL_ATTR_MSG_FILE_NAME, filename); in cnss_genl_send_data() 129 if (ret < 0) in cnss_genl_send_data() 131 ret = nla_put_u32(skb, CNSS_GENL_ATTR_MSG_TOTAL_SIZE, total_size); in cnss_genl_send_data() 132 if (ret < 0) in cnss_genl_send_data() 134 ret = nla_put_u32(skb, CNSS_GENL_ATTR_MSG_SEG_ID, seg_id); in cnss_genl_send_data() 135 if (ret < 0) in cnss_genl_send_data() [all …]
|
D | main.c | 124 int ret; member 218 int ret = 0; in cnss_plat_env_available() local 223 ret = -ENOMEM; in cnss_plat_env_available() 225 return ret; in cnss_plat_env_available() 253 int ret = 0; in cnss_get_qrtr_info() local 255 ret = cnss_get_qrtr_node_id(plat_priv); in cnss_get_qrtr_info() 256 if (ret) { in cnss_get_qrtr_info() 257 cnss_pr_warn("Failed to find qrtr_node_id err=%d\n", ret); in cnss_get_qrtr_info() 731 int ret = 0; in cnss_wlan_enable() local 763 ret = cnss_wlfw_wlan_cfg_send_sync(plat_priv, config, host_version); in cnss_wlan_enable() [all …]
|
D | pci.c | 1084 int ret = 0; in cnss_pci_smmu_fault_handler_irq() local 1087 ret = cnss_mhi_device_get_sync_atomic(pci_priv, in cnss_pci_smmu_fault_handler_irq() 1089 if (ret < 0) { in cnss_pci_smmu_fault_handler_irq() 1090 cnss_pr_err("Failed to bring mhi in M0 state, ret %d\n", ret); in cnss_pci_smmu_fault_handler_irq() 1095 ret = cnss_mhi_host_notify_db_disable_trace(pci_priv); in cnss_pci_smmu_fault_handler_irq() 1096 if (ret < 0) in cnss_pci_smmu_fault_handler_irq() 1097 cnss_pr_err("Fail to notify wlan fw to stop trace collection, ret %d\n", ret); in cnss_pci_smmu_fault_handler_irq() 1184 int ret; in cnss_pci_reg_read() local 1188 ret = cnss_pci_check_link_status(pci_priv); in cnss_pci_reg_read() 1189 if (ret) in cnss_pci_reg_read() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/vdev_mgr/core/src/ |
D | vdev_mlme_sm.h | 122 QDF_STATUS ret = QDF_STATUS_SUCCESS; in mlme_vdev_validate_basic_params() local 125 ret = vdev_mlme->ops->mlme_vdev_validate_basic_params( in mlme_vdev_validate_basic_params() 128 return ret; in mlme_vdev_validate_basic_params() 146 QDF_STATUS ret = QDF_STATUS_SUCCESS; in mlme_vdev_reset_proto_params() local 149 ret = vdev_mlme->ops->mlme_vdev_reset_proto_params( in mlme_vdev_reset_proto_params() 152 return ret; in mlme_vdev_reset_proto_params() 170 QDF_STATUS ret = QDF_STATUS_SUCCESS; in mlme_vdev_start_send() local 173 ret = vdev_mlme->ops->mlme_vdev_start_send( in mlme_vdev_start_send() 176 return ret; in mlme_vdev_start_send() 194 QDF_STATUS ret = QDF_STATUS_SUCCESS; in mlme_vdev_restart_send() local [all …]
|
/wlan-driver/platform/icnss2/ |
D | power.c | 101 int ret = 0; in icnss_get_vreg_single() local 113 ret = PTR_ERR(reg); in icnss_get_vreg_single() 114 if (ret == -ENODEV) { in icnss_get_vreg_single() 115 return ret; in icnss_get_vreg_single() 116 } else if (ret == -EPROBE_DEFER) { in icnss_get_vreg_single() 123 vreg->cfg.name, ret); in icnss_get_vreg_single() 127 vreg->cfg.name, ret); in icnss_get_vreg_single() 132 vreg->cfg.name, ret); in icnss_get_vreg_single() 189 return ret; in icnss_get_vreg_single() 194 int ret = 0; in icnss_vreg_on_single() local [all …]
|
D | qmi.c | 86 int ret; in wlfw_msa_mem_info_send_sync_msg() local 113 ret = qmi_txn_init(&priv->qmi, &txn, in wlfw_msa_mem_info_send_sync_msg() 115 if (ret < 0) { in wlfw_msa_mem_info_send_sync_msg() 118 ret); in wlfw_msa_mem_info_send_sync_msg() 122 ret = qmi_send_request(&priv->qmi, NULL, &txn, in wlfw_msa_mem_info_send_sync_msg() 126 if (ret < 0) { in wlfw_msa_mem_info_send_sync_msg() 128 icnss_qmi_fatal_err("Fail to send MSA Mem info req %d\n", ret); in wlfw_msa_mem_info_send_sync_msg() 132 ret = qmi_txn_wait(&txn, priv->ctrl_params.qmi_timeout); in wlfw_msa_mem_info_send_sync_msg() 133 if (ret < 0) { in wlfw_msa_mem_info_send_sync_msg() 135 ret); in wlfw_msa_mem_info_send_sync_msg() [all …]
|
D | genl.c | 92 int ret = 0; in icnss_genl_send_data() local 118 ret = -ENOMEM; in icnss_genl_send_data() 122 ret = nla_put_u8(skb, ICNSS_GENL_ATTR_MSG_TYPE, type); in icnss_genl_send_data() 123 if (ret < 0) in icnss_genl_send_data() 125 ret = nla_put_string(skb, ICNSS_GENL_ATTR_MSG_FILE_NAME, filename); in icnss_genl_send_data() 126 if (ret < 0) in icnss_genl_send_data() 128 ret = nla_put_u32(skb, ICNSS_GENL_ATTR_MSG_TOTAL_SIZE, total_size); in icnss_genl_send_data() 129 if (ret < 0) in icnss_genl_send_data() 131 ret = nla_put_u32(skb, ICNSS_GENL_ATTR_MSG_SEG_ID, seg_id); in icnss_genl_send_data() 132 if (ret < 0) in icnss_genl_send_data() [all …]
|
D | main.c | 271 int ret = 0; in icnss_driver_event_post() local 297 event->ret = ICNSS_EVENT_PENDING; in icnss_driver_event_post() 313 ret = wait_for_completion_interruptible(&event->complete); in icnss_driver_event_post() 316 icnss_driver_event_to_str(type), type, priv->state, ret, in icnss_driver_event_post() 317 event->ret); in icnss_driver_event_post() 320 if (ret == -ERESTARTSYS && event->ret == ICNSS_EVENT_PENDING) { in icnss_driver_event_post() 323 ret = -EINTR; in icnss_driver_event_post() 328 ret = event->ret; in icnss_driver_event_post() 333 return ret; in icnss_driver_event_post() 343 int ret = 0; in icnss_soc_wake_event_post() local [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_sysfs_dl_modes.c | 60 int ret; in __hdd_sysfs_dl_loglevel_store() local 66 ret = wlan_hdd_validate_context(hdd_ctx); in __hdd_sysfs_dl_loglevel_store() 67 if (ret != 0) in __hdd_sysfs_dl_loglevel_store() 68 return ret; in __hdd_sysfs_dl_loglevel_store() 73 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_dl_loglevel_store() 76 if (ret) { in __hdd_sysfs_dl_loglevel_store() 78 return ret; in __hdd_sysfs_dl_loglevel_store() 92 ret = hdd_sysfs_set_dbg(adapter, WMI_DBGLOG_LOG_LEVEL, value); in __hdd_sysfs_dl_loglevel_store() 94 if (ret) { in __hdd_sysfs_dl_loglevel_store() 95 hdd_err_rl("failed dl_loglevel: %d", ret); in __hdd_sysfs_dl_loglevel_store() [all …]
|
D | wlan_hdd_sysfs_bitrates.c | 36 int ret; in wlan_hdd_sta_set_11n_rate() local 44 ret = wlan_hdd_validate_context(hdd_ctx); in wlan_hdd_sta_set_11n_rate() 45 if (ret) in wlan_hdd_sta_set_11n_rate() 46 return ret; in wlan_hdd_sta_set_11n_rate() 88 ret = wma_cli_set_command(adapter->deflink->vdev_id, in wlan_hdd_sta_set_11n_rate() 92 return ret; in wlan_hdd_sta_set_11n_rate() 98 int ret; in wlan_hdd_sta_set_vht_rate() local 112 ret = wma_cli_set_command(adapter->deflink->vdev_id, in wlan_hdd_sta_set_vht_rate() 116 return ret; in wlan_hdd_sta_set_vht_rate() 128 int ret; in wlan_hdd_sap_set_11n_rate() local [all …]
|
D | wlan_hdd_spectralscan.c | 63 int ret; in __wlan_hdd_cfg80211_spectral_scan_start() local 71 ret = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_spectral_scan_start() 72 if (ret) in __wlan_hdd_cfg80211_spectral_scan_start() 73 return ret; in __wlan_hdd_cfg80211_spectral_scan_start() 81 ret = hdd_validate_adapter(adapter); in __wlan_hdd_cfg80211_spectral_scan_start() 82 if (ret) in __wlan_hdd_cfg80211_spectral_scan_start() 83 return ret; in __wlan_hdd_cfg80211_spectral_scan_start() 92 ret = wlan_cfg80211_spectral_scan_config_and_start(wiphy, hdd_ctx->pdev, in __wlan_hdd_cfg80211_spectral_scan_start() 98 return ret; in __wlan_hdd_cfg80211_spectral_scan_start() 117 int ret; in __wlan_hdd_cfg80211_spectral_scan_stop() local [all …]
|
D | wlan_hdd_debugfs_roam.c | 125 int ret; in hdd_get_roam_scan_stats() local 149 ret = osif_request_wait_for_response(request); in hdd_get_roam_scan_stats() 150 if (ret) { in hdd_get_roam_scan_stats() 294 int ret; in hdd_roam_scan_trigger() local 298 ret = scnprintf(buf, buf_avail_len, in hdd_roam_scan_trigger() 301 if (ret <= 0) in hdd_roam_scan_trigger() 304 length = ret; in hdd_roam_scan_trigger() 317 ret = scnprintf(buf + length, buf_avail_len - length, in hdd_roam_scan_trigger() 320 if (ret <= 0) in hdd_roam_scan_trigger() 323 length += ret; in hdd_roam_scan_trigger() [all …]
|
D | wlan_hdd_hostapd_wext.c | 93 int ret; in __iw_softap_get_ini_cfg() local 98 ret = wlan_hdd_validate_context(hdd_ctx); in __iw_softap_get_ini_cfg() 99 if (ret != 0) in __iw_softap_get_ini_cfg() 100 return ret; in __iw_softap_get_ini_cfg() 102 ret = hdd_check_private_wext_control(hdd_ctx, info); in __iw_softap_get_ini_cfg() 103 if (0 != ret) in __iw_softap_get_ini_cfg() 104 return ret; in __iw_softap_get_ini_cfg() 146 int ret; in __iw_softap_set_two_ints_getnone() local 157 ret = wlan_hdd_validate_context(hdd_ctx); in __iw_softap_set_two_ints_getnone() 158 if (ret != 0) in __iw_softap_set_two_ints_getnone() [all …]
|
D | wlan_hdd_sysfs_bmiss.c | 54 ssize_t ret = 0; in __hdd_sysfs_bmiss_show() local 62 ret = wlan_hdd_validate_context(hdd_ctx); in __hdd_sysfs_bmiss_show() 63 if (ret) in __hdd_sysfs_bmiss_show() 64 return ret; in __hdd_sysfs_bmiss_show() 72 return ret; in __hdd_sysfs_bmiss_show() 75 ret = scnprintf(buf, PAGE_SIZE, "num_pre_bmiss:%u\n", in __hdd_sysfs_bmiss_show() 77 if (ret <= 0) in __hdd_sysfs_bmiss_show() 78 return ret; in __hdd_sysfs_bmiss_show() 81 if ((PAGE_SIZE - ret) <= 0) in __hdd_sysfs_bmiss_show() 82 return ret; in __hdd_sysfs_bmiss_show() [all …]
|
D | wlan_hdd_ioctl.c | 217 int ret; in hdd_get_tsm_stats() local 246 ret = qdf_status_to_os_return(status); in hdd_get_tsm_stats() 250 ret = osif_request_wait_for_response(request); in hdd_get_tsm_stats() 251 if (ret) { in hdd_get_tsm_stats() 262 return ret; in hdd_get_tsm_stats() 578 int ret; in hdd_parse_reassoc_v1() local 585 ret = hdd_parse_reassoc_command_v1_data(command, bssid, &freq, pdev); in hdd_parse_reassoc_v1() 586 if (ret) { in hdd_parse_reassoc_v1() 588 return ret; in hdd_parse_reassoc_v1() 619 int ret; in hdd_parse_reassoc_v2() local [all …]
|
/wlan-driver/qcacld-3.0/os_if/qmi/src/ |
D | os_if_qmi.c | 31 int ret; in os_if_qmi_handle_init() local 33 ret = qmi_handle_init(qmi_hdl, recv_buf_size, ops, qmi_msg_handlers); in os_if_qmi_handle_init() 34 if (ret < 0) { in os_if_qmi_handle_init() 35 osif_err("QMI handle initialization failed %d", ret); in os_if_qmi_handle_init() 36 return qdf_status_from_os_return(ret); in os_if_qmi_handle_init() 51 int ret; in os_if_qmi_add_lookup() local 53 ret = qmi_add_lookup(qmi_hdl, service, version, instance); in os_if_qmi_add_lookup() 54 if (ret < 0) { in os_if_qmi_add_lookup() 55 osif_err("QMI add lookup failed %d", ret); in os_if_qmi_add_lookup() 56 return qdf_status_from_os_return(ret); in os_if_qmi_add_lookup() [all …]
|
/wlan-driver/qcacld-3.0/core/wma/src/ |
D | wma_power.c | 145 QDF_STATUS ret; in wma_set_ap_peer_uapsd() local 188 ret = wmi_unified_ap_ps_cmd_send(wma->wmi_handle, peer_addr, in wma_set_ap_peer_uapsd() 190 if (QDF_IS_STATUS_ERROR(ret)) { in wma_set_ap_peer_uapsd() 193 return ret; in wma_set_ap_peer_uapsd() 202 ret = wmi_unified_ap_ps_cmd_send(wma->wmi_handle, peer_addr, in wma_set_ap_peer_uapsd() 204 if (QDF_IS_STATUS_ERROR(ret)) { in wma_set_ap_peer_uapsd() 207 return ret; in wma_set_ap_peer_uapsd() 259 QDF_STATUS ret = QDF_STATUS_E_FAILURE; in wma_set_tx_power() local 265 ret = wma_find_vdev_id_by_addr(wma_handle, in wma_set_tx_power() 269 ret = wma_find_vdev_id_by_bssid(wma_handle, in wma_set_tx_power() [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/twt/src/ |
D | osif_twt_req.c | 35 int ret; in osif_twt_requestor_enable() local 54 ret = qdf_status_to_os_return(status); in osif_twt_requestor_enable() 58 ret = osif_request_wait_for_response(request); in osif_twt_requestor_enable() 59 if (ret) { in osif_twt_requestor_enable() 60 osif_warn("TWT Requestor Enable timedout ret:%d", ret); in osif_twt_requestor_enable() 61 ret = -ETIMEDOUT; in osif_twt_requestor_enable() 68 ret = -EBUSY; in osif_twt_requestor_enable() 71 return ret; in osif_twt_requestor_enable() 78 int ret; in osif_twt_responder_enable() local 97 ret = qdf_status_to_os_return(status); in osif_twt_responder_enable() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/ |
D | if_snoc.c | 133 int ret; in hif_snoc_get_soc_info() local 138 ret = pld_get_soc_info(scn->qdf_dev->dev, &soc_info); in hif_snoc_get_soc_info() 139 if (ret < 0) { in hif_snoc_get_soc_info() 140 hif_err("pld_get_soc_info error = %d", ret); in hif_snoc_get_soc_info() 161 int ret; in hif_snoc_bus_configure() local 164 ret = hif_snoc_get_soc_info(scn); in hif_snoc_bus_configure() 165 if (ret) in hif_snoc_bus_configure() 166 return ret; in hif_snoc_bus_configure() 170 ret = hif_wlan_enable(scn); in hif_snoc_bus_configure() 171 if (ret) { in hif_snoc_bus_configure() [all …]
|
/wlan-driver/qca-wifi-host-cmn/wmi/src/ |
D | wmi_unified_fwol_tlv.c | 43 QDF_STATUS ret; in send_set_elna_bypass_cmd_tlv() local 59 ret = wmi_unified_cmd_send(wmi_handle, buf, len, in send_set_elna_bypass_cmd_tlv() 61 if (QDF_IS_STATUS_ERROR(ret)) { in send_set_elna_bypass_cmd_tlv() 62 wmi_err("Failed to send set param command ret = %d", ret); in send_set_elna_bypass_cmd_tlv() 66 return ret; in send_set_elna_bypass_cmd_tlv() 85 QDF_STATUS ret; in send_get_elna_bypass_cmd_tlv() local 100 ret = wmi_unified_cmd_send(wmi_handle, buf, len, in send_get_elna_bypass_cmd_tlv() 102 if (QDF_IS_STATUS_ERROR(ret)) { in send_get_elna_bypass_cmd_tlv() 103 wmi_err("Failed to send set param command ret = %d", ret); in send_get_elna_bypass_cmd_tlv() 107 return ret; in send_get_elna_bypass_cmd_tlv() [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/src/ |
D | qdf_notifier.c | 23 int ret; in qdf_register_blocking_notifier_chain() local 25 ret = __qdf_register_blocking_notifier_chain(head, &qnb->notif_block); in qdf_register_blocking_notifier_chain() 27 return qdf_status_from_os_return(ret); in qdf_register_blocking_notifier_chain() 33 int ret; in qdf_unregister_blocking_notifier_chain() local 35 ret = __qdf_unregister_blocking_notifier_chain(head, in qdf_unregister_blocking_notifier_chain() 38 return qdf_status_from_os_return(ret); in qdf_unregister_blocking_notifier_chain() 44 int ret; in qdf_blocking_notfier_call() local 46 ret = __qdf_blocking_notfier_call(head, state, data); in qdf_blocking_notfier_call() 48 return qdf_status_from_os_return(ret); in qdf_blocking_notfier_call() 54 int ret; in qdf_register_atomic_notifier_chain() local [all …]
|