Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 31) sorted by relevance

12

/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_memdump.c97 size_t count, loff_t *pos) in __hdd_driver_memdump_read() argument
106 hdd_debug("Read req for size:%zu pos:%llu", count, *pos); in __hdd_driver_memdump_read()
112 if (*pos < 0) { in __hdd_driver_memdump_read()
119 (hdd_ctx->driver_dump_size && *pos >= hdd_ctx->driver_dump_size)) { in __hdd_driver_memdump_read()
125 if (*pos == 0 || !hdd_ctx->driver_dump_mem) { in __hdd_driver_memdump_read()
151 if (count > hdd_ctx->driver_dump_size - *pos) in __hdd_driver_memdump_read()
152 no_of_bytes_read = hdd_ctx->driver_dump_size - *pos; in __hdd_driver_memdump_read()
156 if (copy_to_user(buf, hdd_ctx->driver_dump_mem + *pos, in __hdd_driver_memdump_read()
164 *pos += no_of_bytes_read; in __hdd_driver_memdump_read()
167 if (*pos >= hdd_ctx->driver_dump_size) in __hdd_driver_memdump_read()
[all …]
Dwlan_hdd_debugfs_config.c56 loff_t *pos, in wlan_hdd_config_update() argument
61 ret_cnt = simple_read_from_buffer(buf, count, pos, ini_config->result, in wlan_hdd_config_update()
63 hdd_debug("ini config read req: count: %zu, pos: %lld", count, *pos); in wlan_hdd_config_update()
97 loff_t *pos) in __wlan_hdd_read_config_debugfs() argument
106 err_size = wlan_hdd_config_update(buf, count, pos, ini_config); in __wlan_hdd_read_config_debugfs()
122 loff_t *pos) in wlan_hdd_read_config_debugfs() argument
137 err_size = __wlan_hdd_read_config_debugfs(file, buf, count, pos); in wlan_hdd_read_config_debugfs()
Dwlan_hdd_debugfs_mibstat.c125 size_t count, loff_t *pos) in hdd_debugfs_mib_stats_update() argument
137 ret_cnt = simple_read_from_buffer(buf, count, pos, in hdd_debugfs_mib_stats_update()
141 hdd_debug("mib stats read req: count: %zu, pos: %lld", count, *pos); in hdd_debugfs_mib_stats_update()
212 size_t count, loff_t *pos) in __wlan_hdd_read_mib_stats_debugfs() argument
226 if (*pos == 0) { in __wlan_hdd_read_mib_stats_debugfs()
233 ret = hdd_debugfs_mib_stats_update(buf, count, pos); in __wlan_hdd_read_mib_stats_debugfs()
260 loff_t *pos) in wlan_hdd_read_mib_stats_debugfs() argument
271 count, pos); in wlan_hdd_read_mib_stats_debugfs()
Dwlan_hdd_debugfs_csr.c104 char __user *buf, size_t count, loff_t *pos) in __wlan_hdd_read_debugfs_csr() argument
128 if (*pos == 0) { in __wlan_hdd_read_debugfs_csr()
135 length = simple_read_from_buffer(buf, count, pos, in __wlan_hdd_read_debugfs_csr()
138 length, count, *pos); in __wlan_hdd_read_debugfs_csr()
155 size_t count, loff_t *pos) in wlan_hdd_read_debugfs_csr() argument
165 err_size = __wlan_hdd_read_debugfs_csr(info, buf, count, pos); in wlan_hdd_read_debugfs_csr()
Dwlan_hdd_debugfs_llstat.c370 loff_t *pos) in hdd_debugfs_stats_update() argument
382 ret_cnt = simple_read_from_buffer(buf, count, pos, in hdd_debugfs_stats_update()
385 hdd_debug("LL stats read req: count: %zu, pos: %lld", count, *pos); in hdd_debugfs_stats_update()
402 loff_t *pos) in __wlan_hdd_read_ll_stats_debugfs() argument
421 ret = hdd_debugfs_stats_update(buf, count, pos); in __wlan_hdd_read_ll_stats_debugfs()
440 loff_t *pos) in wlan_hdd_read_ll_stats_debugfs() argument
450 err_size = __wlan_hdd_read_ll_stats_debugfs(net_dev, buf, count, pos); in wlan_hdd_read_ll_stats_debugfs()
Dwlan_hdd_nan_datapath.c400 uint8_t pos, bit_pos, byte_pos, mask; in hdd_get_random_nan_mac_addr() local
412 qdf_get_random_bytes(&pos, sizeof(pos)); in hdd_get_random_nan_mac_addr()
414 pos = pos % 32; in hdd_get_random_nan_mac_addr()
415 bit_pos = pos % 8; in hdd_get_random_nan_mac_addr()
416 byte_pos = pos / 8; in hdd_get_random_nan_mac_addr()
Dwlan_hdd_assoc.c2126 char *pos = buf; in hdd_indicate_ese_bcn_report_no_results() local
2136 snprintf(pos, freeBytes, "CCXBCNREP=%d %d %d", measurementToken, in hdd_indicate_ese_bcn_report_no_results()
2161 char *pos = buf; in hdd_indicate_ese_bcn_report_ind() local
2207 pos = buf; in hdd_indicate_ese_bcn_report_ind()
2234 nBytes = snprintf(pos, freeBytes, "CCXBCNREP=%d %d %d ", in hdd_indicate_ese_bcn_report_ind()
2239 pos += nBytes; in hdd_indicate_ese_bcn_report_ind()
2243 qdf_mem_copy(pos, (char *)&tot_bcn_ieLen, in hdd_indicate_ese_bcn_report_ind()
2245 pos += sizeof(tot_bcn_ieLen); in hdd_indicate_ese_bcn_report_ind()
2324 qdf_mem_copy(pos, in hdd_indicate_ese_bcn_report_ind()
2329 pos += len; in hdd_indicate_ese_bcn_report_ind()
[all …]
Dwlan_hdd_cm_connect.c2370 char *pos = buf; in hdd_cm_cckm_preauth_complete() local
2393 nbytes = snprintf(pos, freebytes, "CCXPREAUTHNOTIFY="); in hdd_cm_cckm_preauth_complete()
2394 pos += nbytes; in hdd_cm_cckm_preauth_complete()
2397 qdf_mem_copy(pos, rsp->pre_auth_bssid.bytes, QDF_MAC_ADDR_SIZE); in hdd_cm_cckm_preauth_complete()
2398 pos += QDF_MAC_ADDR_SIZE; in hdd_cm_cckm_preauth_complete()
2401 nbytes = snprintf(pos, freebytes, " %u:%u", in hdd_cm_cckm_preauth_complete()
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dath_procfs.c89 size_t count, loff_t *pos) in ath_procfs_diag_read_legacy() argument
106 read_buffer, count, (int)*pos, buf); in ath_procfs_diag_read_legacy()
133 memtype = ((uint32_t)(*pos) & 0xff000000) >> 24; in ath_procfs_diag_read_legacy()
134 offset = (uint32_t)(*pos) & 0xffffff; in ath_procfs_diag_read_legacy()
143 if ((count == 4) && ((((uint32_t) (*pos)) & 3) == 0)) { in ath_procfs_diag_read_legacy()
145 rv = hif_diag_read_access(hif_hdl, (uint32_t)(*pos), in ath_procfs_diag_read_legacy()
148 rv = hif_diag_read_mem(hif_hdl, (uint32_t)(*pos), in ath_procfs_diag_read_legacy()
169 size_t count, loff_t *pos) in ath_procfs_diag_write_legacy() argument
193 (int)*pos, *((uint32_t *) write_buffer)); in ath_procfs_diag_write_legacy()
220 memtype = ((uint32_t)(*pos) & 0xff000000) >> 24; in ath_procfs_diag_write_legacy()
[all …]
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_hang_event.c39 int nread, pos, total_len; in wmi_log_history() local
70 pos = wmi_ring_size - 1; in wmi_log_history()
72 pos = *wmi_log->p_buf_tail_idx - 1; in wmi_log_history()
86 wmi_evt = &(((struct wmi_event_debug *)wmi_log->buf)[pos]); in wmi_log_history()
99 wmi_cmd = &(((struct wmi_command_debug *)wmi_log->buf)[pos]); in wmi_log_history()
106 if (pos == 0) in wmi_log_history()
107 pos = wmi_ring_size - 1; in wmi_log_history()
109 pos--; in wmi_log_history()
Dwmi_filtered_logging.c311 int pos, nread, outlen; in wmi_log_show() local
329 pos = wmi_ring_size - 1; in wmi_log_show()
331 pos = *wmi_log->p_buf_tail_idx - 1; in wmi_log_show()
338 wmi_record = &(((struct wmi_event_debug *)wmi_log->buf)[pos]); in wmi_log_show()
353 if (pos == 0) in wmi_log_show()
354 pos = wmi_ring_size - 1; in wmi_log_show()
356 pos--; in wmi_log_show()
Dwmi_unified.c999 int pos, nread, outlen; \
1017 pos = wmi_ring_size - 1; \
1019 pos = *(wmi_log->p_buf_tail_idx) - 1; \
1027 &(((struct wmi_record_type *)wmi_log->buf)[pos]);\
1042 if (pos == 0) \
1043 pos = wmi_ring_size - 1; \
1045 pos--; \
1057 int pos, nread, outlen; \
1075 pos = wmi_ring_size - 1; \
1077 pos = *(wmi_log->p_buf_tail_idx) - 1; \
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/src/
Dwlan_scan_utils_api.c2861 uint8_t bssid_index, uint8_t *pos) in util_handle_rnr_ie_for_mbssid() argument
2883 rnr_new = pos; in util_handle_rnr_ie_for_mbssid()
2884 qdf_mem_copy(pos, rnr, MIN_IE_LEN); in util_handle_rnr_ie_for_mbssid()
2885 pos += MIN_IE_LEN; in util_handle_rnr_ie_for_mbssid()
2918 qdf_mem_copy(pos, data, copy_len); in util_handle_rnr_ie_for_mbssid()
2919 pos += copy_len; in util_handle_rnr_ie_for_mbssid()
2924 qdf_mem_copy(pos, data, nbr_ap_info_len); in util_handle_rnr_ie_for_mbssid()
2925 neighbor_ap_info = (struct neighbor_ap_info_field *)pos; in util_handle_rnr_ie_for_mbssid()
2926 pos += nbr_ap_info_len; in util_handle_rnr_ie_for_mbssid()
2952 qdf_mem_copy(pos, data, tbtt_len); in util_handle_rnr_ie_for_mbssid()
[all …]
/wlan-driver/qcacld-3.0/components/pmo/core/src/
Dwlan_pmo_wow.c80 uint8_t bit_to_check, pos; in pmo_core_add_wow_user_pattern() local
115 for (pos = 0; pos < ptrn->pattern_size; pos++) { in pmo_core_add_wow_user_pattern()
117 (pos % PMO_NUM_BITS_IN_BYTE); in pmo_core_add_wow_user_pattern()
119 if (ptrn->pattern_mask[pos / PMO_NUM_BITS_IN_BYTE] & in pmo_core_add_wow_user_pattern()
121 new_mask[pos] = PMO_WOW_PTRN_MASK_VALID; in pmo_core_add_wow_user_pattern()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/
Dhal_reo.h550 uint8_t pos; in hal_find_one_bit() local
552 for (pos = 0; y; y >>= 1) in hal_find_one_bit()
553 pos++; in hal_find_one_bit()
555 return pos-1; in hal_find_one_bit()
561 uint8_t pos; in hal_find_zero_bit() local
563 for (pos = 0; y; y >>= 1) in hal_find_zero_bit()
564 pos++; in hal_find_zero_bit()
566 return pos-1; in hal_find_zero_bit()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_stats.c5448 size_t pos, buf_len; in dp_vdev_print_tx_delay_stats() local
5460 pos = 0; in dp_vdev_print_tx_delay_stats()
5461 pos += qdf_scnprintf(buf + pos, buf_len - pos, "%6s", ""); in dp_vdev_print_tx_delay_stats()
5464 pos += qdf_scnprintf(buf + pos, buf_len - pos, "%7s", in dp_vdev_print_tx_delay_stats()
5467 pos += qdf_scnprintf(buf + pos, buf_len - pos, "%9s", in dp_vdev_print_tx_delay_stats()
5478 pos = 0; in dp_vdev_print_tx_delay_stats()
5479 pos += qdf_scnprintf(buf + pos, buf_len - pos, "%4u ", tid); in dp_vdev_print_tx_delay_stats()
5483 pos += qdf_scnprintf(buf + pos, buf_len - pos, in dp_vdev_print_tx_delay_stats()
5486 pos += qdf_scnprintf(buf + pos, buf_len - pos, in dp_vdev_print_tx_delay_stats()
5489 pos += qdf_scnprintf(buf + pos, buf_len - pos, in dp_vdev_print_tx_delay_stats()
[all …]
/wlan-driver/qcacld-3.0/core/bmi/src/
Dol_fw.c1563 uint32_t pos, size_t count) in ol_diag_read() argument
1567 if ((4 == count) && ((pos & 3) == 0)) { in ol_diag_read()
1568 result = hif_diag_read_access(scn, pos, in ol_diag_read()
1577 result = hif_diag_read_mem(scn, pos, in ol_diag_read()
1581 pos += readSize; in ol_diag_read()
1589 result = hif_diag_read_mem(scn, pos, in ol_diag_read()
1804 ol_get_iram_len_and_pos(struct hif_opaque_softc *scn, uint32_t *pos, in ol_get_iram_len_and_pos() argument
1812 *pos = IRAM_LOCATION; in ol_get_iram_len_and_pos()
1847 *pos = iram_addr; in ol_get_iram_len_and_pos()
1871 uint32_t pos = 0; in ol_target_coredump() local
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
Dce_service.c1699 static uint32_t hif_dump_desc_data_buf(uint8_t *buf, ssize_t pos, in hif_dump_desc_data_buf() argument
1702 pos += snprintf(buf + pos, PAGE_SIZE - pos, "Data:(Max%dBytes)\n", in hif_dump_desc_data_buf()
1709 16, 1, buf + pos, in hif_dump_desc_data_buf()
1710 (ssize_t)PAGE_SIZE - pos, in hif_dump_desc_data_buf()
1712 pos += CE_DEBUG_PRINT_BUF_SIZE(data_len); in hif_dump_desc_data_buf()
1713 pos += snprintf(buf + pos, PAGE_SIZE - pos, "\n"); in hif_dump_desc_data_buf()
1721 16, 1, buf + pos, in hif_dump_desc_data_buf()
1723 - pos, false); in hif_dump_desc_data_buf()
1724 pos += in hif_dump_desc_data_buf()
1726 pos += snprintf(buf + pos, PAGE_SIZE - pos, in hif_dump_desc_data_buf()
[all …]
Dce_tasklet.c670 uint8_t i, j, pos; in hif_display_ce_stats() local
678 pos = 0; in hif_display_ce_stats()
680 ret = snprintf(str_buffer + pos, size, "[%d]:%d ", in hif_display_ce_stats()
685 pos += ret; in hif_display_ce_stats()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_debugfs.c106 static void *qdf_debugfs_seq_start(struct seq_file *seq, loff_t *pos) in qdf_debugfs_seq_start() argument
120 static void *qdf_debugfs_seq_next(struct seq_file *seq, void *v, loff_t *pos) in qdf_debugfs_seq_next() argument
125 ++*pos; in qdf_debugfs_seq_next()
423 static int qdf_debugfs_string_show(struct seq_file *seq, void *pos) in qdf_debugfs_string_show() argument
Dqdf_mem.c594 static void *qdf_mem_seq_start(struct seq_file *seq, loff_t *pos) in qdf_mem_seq_start() argument
596 enum qdf_debug_domain domain = *pos; in qdf_mem_seq_start()
602 return pos; in qdf_mem_seq_start()
615 static void *qdf_mem_seq_next(struct seq_file *seq, void *v, loff_t *pos) in qdf_mem_seq_next() argument
617 ++*pos; in qdf_mem_seq_next()
619 return qdf_mem_seq_start(seq, pos); in qdf_mem_seq_next()
731 loff_t *pos) in qdf_major_alloc_set_threshold() argument
843 static void *qdf_nbuf_seq_start(struct seq_file *seq, loff_t *pos) in qdf_nbuf_seq_start() argument
845 enum qdf_debug_domain domain = *pos; in qdf_nbuf_seq_start()
850 return pos; in qdf_nbuf_seq_start()
[all …]
/wlan-driver/qcacld-3.0/components/son/dispatcher/src/
Dson_api.c589 const uint8_t *ie, *pos, *end; in wlan_son_deliver_rrm_rpt() local
629 pos = frm; in wlan_son_deliver_rrm_rpt()
630 end = pos + flen; in wlan_son_deliver_rrm_rpt()
633 pos, end - pos))) { in wlan_son_deliver_rrm_rpt()
641 pos = ie + ie[1] + 2; in wlan_son_deliver_rrm_rpt()
/wlan-driver/qcacld-3.0/core/mac/src/sys/legacy/src/utils/src/
Dparser_api.c3625 const uint8_t *ie, *ie_end, *pos;
3646 pos = ie + 2;
3647 qdf_mem_copy(&assoc_rsp->sha384_ft_info, pos,
3650 pos += sizeof(struct wlan_sha384_ftinfo);
3654 while (ie_end - pos >= 2) {
3657 id = *pos++;
3658 len = *pos++;
3682 pos, FTIE_R1KH_LEN);
3695 qdf_mem_copy(ft_subelem->gtk, pos, len);
3707 pos, len);
[all …]
/wlan-driver/qcacld-3.0/components/p2p/core/src/
Dwlan_p2p_main.c1101 const uint8_t *vendor_ie, *p2p_ie, *pos; in p2p_check_oui_and_force_1x1() local
1150 pos = p2p_ie + 3; in p2p_check_oui_and_force_1x1()
1163 pos += ETH_ALEN + MAX_CONFIG_METHODS_LEN + in p2p_check_oui_and_force_1x1()
1166 if (!qdf_mem_cmp(pos, P2P_1X1_WAR_OUI, in p2p_check_oui_and_force_1x1()
/wlan-driver/qca-wifi-host-cmn/target_if/spectral/
Dtarget_if_spectral.c661 int max_pos, pos; in get_supported_sscan_bw_pos() local
664 for (pos = 0; pos < max_pos; pos++) { in get_supported_sscan_bw_pos()
665 if (supported_sscan_bw_list[pos] == sscan_bw) in get_supported_sscan_bw_pos()
666 return pos; in get_supported_sscan_bw_pos()
730 int op_bw_pos, pos; in get_max_sscan_bw() local
740 for (pos = op_bw_pos; pos >= 0; pos--) { in get_max_sscan_bw()
741 if (supported_bws->bandwidths & (1 << pos)) in get_max_sscan_bw()
742 return supported_sscan_bw_list[pos]; in get_max_sscan_bw()

12