Home
last modified time | relevance | path

Searched refs:res (Results 1 – 24 of 24) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_util.h720 unsigned int res = w - ((w >> 1) & 0x55); in qdf_get_hweight8() local
721 res = (res & 0x33) + ((res >> 2) & 0x33); in qdf_get_hweight8()
722 return (res + (res >> 4)) & 0x0F; in qdf_get_hweight8()
736 unsigned int res = (w & 0x5555) + ((w >> 1) & 0x5555); in qdf_get_hweight16() local
738 res = (res & 0x3333) + ((res >> 2) & 0x3333); in qdf_get_hweight16()
739 res = (res & 0x0F0F) + ((res >> 4) & 0x0F0F); in qdf_get_hweight16()
740 return (res & 0x00FF) + ((res >> 8) & 0x00FF); in qdf_get_hweight16()
754 unsigned int res = (w & 0x55555555) + ((w >> 1) & 0x55555555); in qdf_get_hweight32() local
756 res = (res & 0x33333333) + ((res >> 2) & 0x33333333); in qdf_get_hweight32()
757 res = (res & 0x0F0F0F0F) + ((res >> 4) & 0x0F0F0F0F); in qdf_get_hweight32()
[all …]
Dqdf_net_types.h381 uint8_t res:4; member
383 uint8_t res:4;
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_debugfs_roam.c63 hdd_roam_scan_stats_cb(void *context, struct wmi_roam_scan_stats_res *res) in hdd_roam_scan_stats_cb() argument
78 if (!res) { in hdd_roam_scan_stats_cb()
85 total_len = sizeof(*res) + res->num_roam_scans * in hdd_roam_scan_stats_cb()
92 qdf_mem_copy(stats_res, res, total_len); in hdd_roam_scan_stats_cb()
114 struct wmi_roam_scan_stats_res *res; in hdd_get_roam_scan_stats() local
156 res = priv->roam_scan_stats_res; in hdd_get_roam_scan_stats()
157 if (!res) { in hdd_get_roam_scan_stats()
162 total_len = sizeof(*res) + res->num_roam_scans * in hdd_get_roam_scan_stats()
169 qdf_mem_copy(stats_res, res, total_len); in hdd_get_roam_scan_stats()
Dwlan_hdd_cfg.c158 int i = 0, j = 0, res = 0; in update_mac_from_string() local
168 res = in update_mac_from_string()
171 if (res < 0) in update_mac_from_string()
174 if (res == 0 && !qdf_is_macaddr_zero(&macaddr[i])) { in update_mac_from_string()
/wlan-driver/qca-wifi-host-cmn/utils/fwlog/
Ddbglog_host.c1642 int res = 0; in send_fw_diag_nl_data() local
1677 res = nl_srv_bcast_fw_logs(skb_out); in send_fw_diag_nl_data()
1678 if ((res < 0) && (res != -ESRCH)) { in send_fw_diag_nl_data()
1681 __func__, res)); in send_fw_diag_nl_data()
1682 return res; in send_fw_diag_nl_data()
1685 return res; in send_fw_diag_nl_data()
1738 int res = 0; in send_diag_netlink_data() local
1787 res = nl_srv_bcast_fw_logs(skb_out); in send_diag_netlink_data()
1788 if ((res < 0) && (res != -ESRCH)) { in send_diag_netlink_data()
1791 __func__, res)); in send_diag_netlink_data()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/cmn_dp_api/
Ddp_ratetable.c6533 uint32_t ratekbps = 0, res = RT_INVALID_INDEX; /* represents failure */ in dp_getrateindex() local
6543 res = _rc_idx[mod]; in dp_getrateindex()
6547 res += ((rc + 2) % NUM_EHT_MCS) + nss * NUM_EHT_MCS; in dp_getrateindex()
6551 res += rc + nss * NUM_HE_MCS; in dp_getrateindex()
6555 res += rc + nss * NUM_VHT_MCS; in dp_getrateindex()
6559 res += rc + nss * NUM_HT_MCS; in dp_getrateindex()
6564 res += rc; in dp_getrateindex()
6568 res += rc; in dp_getrateindex()
6574 if (res >= DP_RATE_TABLE_SIZE) in dp_getrateindex()
6578 ratekbps = dp_11abgnratetable.info[res].userratekbps; in dp_getrateindex()
[all …]
/wlan-driver/platform/cnss2/
Dpci_qcom.c572 struct resource *res; in cnss_pci_init_smmu() local
608 res = platform_get_resource_byname(plat_priv->plat_dev, IORESOURCE_MEM, in cnss_pci_init_smmu()
610 if (res) { in cnss_pci_init_smmu()
611 pci_priv->smmu_iova_ipa_start = res->start; in cnss_pci_init_smmu()
612 pci_priv->smmu_iova_ipa_current = res->start; in cnss_pci_init_smmu()
613 pci_priv->smmu_iova_ipa_len = resource_size(res); in cnss_pci_init_smmu()
Dpower.c1289 struct resource *res; in cnss_get_tcs_info() local
1294 res = platform_get_resource_byname(plat_dev, IORESOURCE_MEM, "tcs_cmd"); in cnss_get_tcs_info()
1295 if (!res) { in cnss_get_tcs_info()
1300 plat_priv->tcs_info.cmd_base_addr = res->start; in cnss_get_tcs_info()
1301 addr_len = resource_size(res); in cnss_get_tcs_info()
1305 tcs_cmd_base_addr = devm_ioremap(&plat_dev->dev, res->start, addr_len); in cnss_get_tcs_info()
Dmain.c4713 static void devm_cnss_group_remove(struct device *dev, void *res) in devm_cnss_group_remove() argument
4715 union cnss_device_group_devres *devres = res; in devm_cnss_group_remove()
4722 static int devm_cnss_group_match(struct device *dev, void *res, void *data) in devm_cnss_group_match() argument
4724 return ((union cnss_device_group_devres *)res) == data; in devm_cnss_group_match()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/src/
Dwlan_crypto_global_api.c3636 int res; in wlan_crypto_vdev_has_auth_mode() local
3638 res = wlan_crypto_get_param(vdev, WLAN_CRYPTO_PARAM_AUTH_MODE); in wlan_crypto_vdev_has_auth_mode()
3640 if (res != -1) in wlan_crypto_vdev_has_auth_mode()
3641 return (res & authvalue) ? true : false; in wlan_crypto_vdev_has_auth_mode()
3649 int res; in wlan_crypto_peer_has_auth_mode() local
3651 res = wlan_crypto_get_peer_param(peer, WLAN_CRYPTO_PARAM_AUTH_MODE); in wlan_crypto_peer_has_auth_mode()
3653 if (res != -1) in wlan_crypto_peer_has_auth_mode()
3654 return (res & authvalue) ? true : false; in wlan_crypto_peer_has_auth_mode()
3663 int res; in wlan_crypto_vdev_has_ucastcipher() local
3665 res = wlan_crypto_get_param(vdev, WLAN_CRYPTO_PARAM_UCAST_CIPHER); in wlan_crypto_vdev_has_ucastcipher()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_ipa.c988 struct dp_ipa_resources *res, in dp_ipa_setup_tx_alt_pipe() argument
1000 dp_ipa_wdi_tx_alt_pipe_smmu_params(soc, res, tx_smmu); in dp_ipa_setup_tx_alt_pipe()
1004 dp_ipa_wdi_tx_alt_pipe_params(soc, res, tx); in dp_ipa_setup_tx_alt_pipe()
1016 static void dp_ipa_set_pipe_db(struct dp_ipa_resources *res, in dp_ipa_set_pipe_db() argument
1019 res->tx_comp_doorbell_paddr = in dp_ipa_set_pipe_db()
1021 res->rx_ready_doorbell_paddr = in dp_ipa_set_pipe_db()
1023 res->tx_alt_comp_doorbell_paddr = in dp_ipa_set_pipe_db()
1040 struct dp_ipa_resources *res) in dp_ipa_tx_comp_ring_init_hp() argument
1049 res->tx_comp_doorbell_vaddr); in dp_ipa_tx_comp_ring_init_hp()
1052 if (!res->tx_alt_comp_doorbell_paddr) in dp_ipa_tx_comp_ring_init_hp()
[all …]
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/
Dwlan_cm_roam_offload.h81 struct wmi_roam_result *res,
132 struct wmi_roam_result *res,
158 struct wmi_roam_result *res, in cm_roam_result_info_event() argument
Dwlan_cm_roam_offload.c6598 struct wmi_roam_result *res, in cm_roam_result_info_event() argument
6605 bool roam_abort = (res->fail_reason == ROAM_FAIL_REASON_SYNC || in cm_roam_result_info_event()
6606 res->fail_reason == ROAM_FAIL_REASON_DISCONNECT || in cm_roam_result_info_event()
6607 res->fail_reason == ROAM_FAIL_REASON_HOST || in cm_roam_result_info_event()
6608 res->fail_reason == in cm_roam_result_info_event()
6610 res->fail_reason == in cm_roam_result_info_event()
6615 (res->fail_reason == ROAM_FAIL_REASON_SCAN_CANCEL); in cm_roam_result_info_event()
6621 if (res->roam_abort_reason == in cm_roam_result_info_event()
6624 } else if (res->roam_abort_reason == in cm_roam_result_info_event()
6630 vdev_id, res->roam_abort_reason); in cm_roam_result_info_event()
[all …]
/wlan-driver/qcacld-3.0/components/tdls/core/src/
Dwlan_tdls_peer.c832 int32_t res = 0; in tdls_set_link_status() local
864 tdls_get_wifi_hal_state(peer, &state, &res); in tdls_set_link_status()
866 state, res, soc_obj->soc); in tdls_set_link_status()
890 int32_t res = 0; in tdls_set_peer_link_status() local
922 tdls_get_wifi_hal_state(peer, &state, &res); in tdls_set_peer_link_status()
925 res, soc_obj->soc); in tdls_set_peer_link_status()
/wlan-driver/platform/icnss2/
Dmain.c4234 static void devm_icnss_group_remove(struct device *dev, void *res) in devm_icnss_group_remove() argument
4236 union icnss_device_group_devres *devres = res; in devm_icnss_group_remove()
4243 static int devm_icnss_group_match(struct device *dev, void *res, void *data) in devm_icnss_group_match() argument
4245 return ((union icnss_device_group_devres *)res) == data; in devm_icnss_group_match()
4298 struct resource *res; in icnss_resource_parse() local
4321 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, in icnss_resource_parse()
4323 if (!res) { in icnss_resource_parse()
4329 priv->mem_base_pa = res->start; in icnss_resource_parse()
4331 resource_size(res)); in icnss_resource_parse()
4372 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, in icnss_resource_parse()
[all …]
/wlan-driver/qcacld-3.0/core/wma/src/
Dwma_utils.c4154 struct rcpi_res res = {0}; in wma_rcpi_event_handler() local
4162 cmd_param_info, &res); in wma_rcpi_event_handler()
4166 if (res.vdev_id >= wma_handle->max_bssid) { in wma_rcpi_event_handler()
4167 wma_err("received invalid vdev_id %d", res.vdev_id); in wma_rcpi_event_handler()
4171 iface = &wma_handle->interfaces[res.vdev_id]; in wma_rcpi_event_handler()
4184 if ((res.measurement_type == RCPI_MEASUREMENT_TYPE_INVALID) || in wma_rcpi_event_handler()
4185 (res.vdev_id != rcpi_req->session_id) || in wma_rcpi_event_handler()
4186 (res.measurement_type != rcpi_req->measurement_type) || in wma_rcpi_event_handler()
4187 (qdf_mem_cmp(res.mac_addr, &rcpi_req->mac_addr, in wma_rcpi_event_handler()
4195 qdf_mem_copy(&qdf_mac, res.mac_addr, QDF_MAC_ADDR_SIZE); in wma_rcpi_event_handler()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_qdf_types.h292 __qdf_resource_t res; member
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/dispatcher/src/
Dwlan_cm_roam_api.c3396 struct wmi_roam_result *res, in cm_roam_stats_print_roam_result() argument
3405 cm_roam_result_info_event(psoc, trigger, res, scan_data, vdev_id); in cm_roam_stats_print_roam_result()
3411 if (res->status == 1) in cm_roam_stats_print_roam_result()
3413 mlme_get_roam_fail_reason_str(res->fail_reason)); in cm_roam_stats_print_roam_result()
3415 mlme_get_converted_timestamp(res->timestamp, time); in cm_roam_stats_print_roam_result()
3417 if (res->fail_reason == ROAM_FAIL_REASON_CURR_AP_STILL_OK) in cm_roam_stats_print_roam_result()
3423 mlme_get_roam_status_str(res->status), buf); in cm_roam_stats_print_roam_result()
3426 status = wlan_cm_update_roam_states(psoc, vdev_id, res->fail_reason, in cm_roam_stats_print_roam_result()
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_unified_pmo_tlv.c496 int32_t res; in send_enable_arp_ns_offload_cmd_tlv() local
554 res = wmi_unified_cmd_send(wmi_handle, buf, len, in send_enable_arp_ns_offload_cmd_tlv()
556 if (res) { in send_enable_arp_ns_offload_cmd_tlv()
Dwmi_unified_tlv.c17757 void *evt_buf, struct rcpi_res *res) in extract_rcpi_response_event_tlv() argument
17769 res->vdev_id = event->vdev_id; in extract_rcpi_response_event_tlv()
17770 WMI_MAC_ADDR_TO_CHAR_ARRAY(&event->peer_macaddr, res->mac_addr); in extract_rcpi_response_event_tlv()
17775 res->measurement_type = RCPI_MEASUREMENT_TYPE_AVG_MGMT; in extract_rcpi_response_event_tlv()
17779 res->measurement_type = RCPI_MEASUREMENT_TYPE_AVG_DATA; in extract_rcpi_response_event_tlv()
17783 res->measurement_type = RCPI_MEASUREMENT_TYPE_LAST_MGMT; in extract_rcpi_response_event_tlv()
17787 res->measurement_type = RCPI_MEASUREMENT_TYPE_LAST_DATA; in extract_rcpi_response_event_tlv()
17792 res->measurement_type = RCPI_MEASUREMENT_TYPE_INVALID; in extract_rcpi_response_event_tlv()
18188 struct wmi_roam_scan_stats_res *res; in extract_roam_scan_stats_res_evt_tlv() local
18211 total_len = sizeof(*res) + num_scans * scan_param_size; in extract_roam_scan_stats_res_evt_tlv()
[all …]
Dwmi_unified_api.c3005 struct rcpi_res *res) in wmi_extract_rcpi_response_event() argument
3011 res); in wmi_extract_rcpi_response_event()
/wlan-driver/qca-wifi-host-cmn/wmi/inc/
Dwmi_unified_api.h4160 struct rcpi_res *res);
Dwmi_unified_priv.h2450 struct rcpi_res *res);
/wlan-driver/qcacld-3.0/core/mac/inc/
Dsir_api.h4844 struct wmi_roam_scan_stats_res *res);