Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 66) sorted by relevance

123

/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_debugfs_llstat.c54 uint8_t *buffer; in hdd_debugfs_process_iface_stats() local
66 buffer = ll_stats.result; in hdd_debugfs_process_iface_stats()
67 buffer += ll_stats.len; in hdd_debugfs_process_iface_stats()
68 len = scnprintf(buffer, DEBUGFS_LLSTATS_BUF_SIZE - ll_stats.len, in hdd_debugfs_process_iface_stats()
78 buffer += len; in hdd_debugfs_process_iface_stats()
80 len = scnprintf(buffer, DEBUGFS_LLSTATS_BUF_SIZE - ll_stats.len, in hdd_debugfs_process_iface_stats()
97 buffer += len; in hdd_debugfs_process_iface_stats()
99 len = scnprintf(buffer, DEBUGFS_LLSTATS_BUF_SIZE - ll_stats.len, in hdd_debugfs_process_iface_stats()
121 buffer += len; in hdd_debugfs_process_iface_stats()
123 len = scnprintf(buffer, in hdd_debugfs_process_iface_stats()
[all …]
Dwlan_hdd_debugfs_mibstat.c45 uint8_t *buffer; in hdd_debugfs_process_mib_stats() local
56 buffer = mib_stats.result; in hdd_debugfs_process_mib_stats()
57 buffer += mib_stats.len; in hdd_debugfs_process_mib_stats()
59 len = scnprintf(buffer, DEBUGFS_MIBSTATS_BUF_SIZE - mib_stats.len, in hdd_debugfs_process_mib_stats()
79 buffer += len; in hdd_debugfs_process_mib_stats()
Dwlan_hdd_cfg.c218 char *line, *buffer = NULL; in hdd_update_mac_config() local
257 buffer = temp; in hdd_update_mac_config()
258 qdf_mem_copy(buffer, fw->data, fw->size); in hdd_update_mac_config()
259 buffer[fw->size] = 0x0; in hdd_update_mac_config()
266 while (buffer) { in hdd_update_mac_config()
267 line = get_next_line(buffer); in hdd_update_mac_config()
268 buffer = i_trim(buffer); in hdd_update_mac_config()
270 if (strlen((char *)buffer) == 0 || *buffer == '#') { in hdd_update_mac_config()
271 buffer = line; in hdd_update_mac_config()
274 if (strncmp(buffer, "END", 3) == 0) in hdd_update_mac_config()
[all …]
Dwlan_hdd_sysfs_stats.c39 char *buffer, size_t buf_len) in hdd_sysfs_get_stats() argument
94 len = scnprintf(buffer, buf_len, in hdd_sysfs_get_stats()
128 len += scnprintf(buffer + len, buf_len - len, in hdd_sysfs_get_stats()
137 len += scnprintf(buffer + len, buf_len - len, in hdd_sysfs_get_stats()
148 adapter->deflink->vdev_id, &buffer[len], in hdd_sysfs_get_stats()
/wlan-driver/qca-wifi-host-cmn/os_if/linux/ftm/src/
Dwlan_ioctl_ftm.c34 uint8_t *buffer; in wlan_process_ftm_ioctl_cmd() local
44 buffer = qdf_mem_malloc(length); in wlan_process_ftm_ioctl_cmd()
45 if (!buffer) in wlan_process_ftm_ioctl_cmd()
48 if (copy_from_user(buffer, &userdata[sizeof(length)], length)) in wlan_process_ftm_ioctl_cmd()
51 error = ucfg_wlan_ftm_testmode_cmd(pdev, buffer, length); in wlan_process_ftm_ioctl_cmd()
53 qdf_mem_free(buffer); in wlan_process_ftm_ioctl_cmd()
61 uint8_t *buffer; in wlan_process_ftm_ioctl_rsp() local
67 buffer = qdf_mem_malloc(length); in wlan_process_ftm_ioctl_rsp()
68 if (!buffer) in wlan_process_ftm_ioctl_rsp()
71 error = ucfg_wlan_ftm_testmode_rsp(pdev, buffer); in wlan_process_ftm_ioctl_rsp()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/
Dhif_bmi_reg_access.c50 char *buffer, uint32_t length) in hif_bmi_buffer_send() argument
91 status = hif_read_write(device, address, buffer, length, in hif_bmi_buffer_send()
113 char *buffer, uint32_t length) in hif_bmi_read_write() argument
118 buffer, length, in hif_bmi_read_write()
126 *buffer = (HOST_INT_STATUS_MBOX_DATA_GET(*buffer) & (1 << ENDPOINT1)); in hif_bmi_read_write()
133 char *buffer, uint32_t length) in hif_bmi_read_write() argument
138 buffer, length, in hif_bmi_read_write()
146 *buffer &= (1 << ENDPOINT1); in hif_bmi_read_write()
162 char *buffer, uint32_t length, bool want_timeout) in hif_bmi_buffer_receive() argument
277 status = hif_read_write(device, address, buffer, length, in hif_bmi_buffer_receive()
[all …]
/wlan-driver/qca-wifi-host-cmn/wbuff/src/
Dwbuff.c461 qdf_nbuf_t buffer = buf; in wbuff_buff_put() local
466 if (qdf_nbuf_get_users(buffer) > 1) in wbuff_buff_put()
467 return buffer; in wbuff_buff_put()
470 return buffer; in wbuff_buff_put()
474 return buffer; in wbuff_buff_put()
481 return buffer; in wbuff_buff_put()
485 return buffer; in wbuff_buff_put()
487 qdf_nbuf_reset(buffer, wbuff.mod[module_id].reserve, in wbuff_buff_put()
492 qdf_nbuf_set_next(buffer, wbuff_pool->pool); in wbuff_buff_put()
493 wbuff_pool->pool = buffer; in wbuff_buff_put()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dosdep.h72 #define qdf_sysctl_decl(f, ctl, write, filp, buffer, lenp, ppos) \ argument
73 f(struct ctl_table *ctl, int32_t write, void *buffer, \
76 #define QDF_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, lenp, ppos) \ argument
77 __QDF_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, lenp, ppos)
/wlan-driver/qca-wifi-host-cmn/utils/fwlog/
Ddbglog_host.c1481 static int dbglog_print_raw_data(uint32_t *buffer, uint32_t length) in dbglog_print_raw_data() argument
1493 debugid = DBGLOG_GET_DBGID(buffer[count + 1]); in dbglog_print_raw_data()
1494 moduleid = DBGLOG_GET_MODULEID(buffer[count + 1]); in dbglog_print_raw_data()
1495 numargs = DBGLOG_GET_NUMARGS(buffer[count + 1]); in dbglog_print_raw_data()
1496 timestamp = DBGLOG_GET_TIME_STAMP(buffer[count]); in dbglog_print_raw_data()
1516 buffer[count + 2 + curArgs]); in dbglog_print_raw_data()
1526 buffer[count + 1], in dbglog_print_raw_data()
1534 buffer[count + 1], in dbglog_print_raw_data()
1544 buffer[count + 1], in dbglog_print_raw_data()
1550 timestamp, buffer[count + 1], in dbglog_print_raw_data()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
Dmailbox.c69 #define BUFFER_NEEDS_BOUNCE(buffer) (((unsigned long)(buffer) & 0x3) || \ argument
70 !virt_addr_valid((buffer)))
72 #define BUFFER_NEEDS_BOUNCE(buffer) (false) argument
767 unsigned char *buffer = bundle_buffer; in hif_dev_issue_recv_packet_bundle() local
780 buffer, padded_length); in hif_dev_issue_recv_packet_bundle()
781 buffer += padded_length; in hif_dev_issue_recv_packet_bundle()
1480 char *buffer, uint32_t length, in hif_read_write() argument
1489 device, address, buffer); in hif_read_write()
1516 busrequest->buffer = buffer; in hif_read_write()
1630 uint32_t address, char *buffer, in __hif_read_write() argument
[all …]
Dtransfer.c369 uint8_t *buffer, int length, in hif_dev_process_trailer() argument
383 orig_buffer = buffer; in hif_dev_process_trailer()
393 record = (HTC_RECORD_HDR *)buffer; in hif_dev_process_trailer()
395 buffer += sizeof(HTC_RECORD_HDR); in hif_dev_process_trailer()
407 record_buf = buffer; in hif_dev_process_trailer()
506 buffer += record->Length; in hif_dev_process_trailer()
Dadma.c593 unsigned char *buffer = (unsigned char *)cbuffer; in hif_read_write() local
625 bus_req->buffer = buffer; in hif_read_write()
633 bus_req->buffer, in hif_read_write()
647 payload_len = HTC_GET_FIELD(bus_req->buffer, in hif_read_write()
658 bus_req->buffer, in hif_read_write()
/wlan-driver/qcacld-3.0/uapi/linux/
Da_debug.h56 void debug_dump_bytes(A_UCHAR *buffer, A_UINT16 length,
159 #define AR_DEBUG_PRINTBUF(buffer, length, desc) debug_dump_bytes(buffer, length, desc) argument
177 #define AR_DEBUG_PRINTBUF(buffer, length, desc) argument
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
Dce_api.h69 qdf_dma_addr_t buffer,
84 qdf_dma_addr_t buffer,
155 qdf_dma_addr_t buffer,
220 qdf_dma_addr_t buffer,
259 qdf_dma_addr_t buffer);
618 qdf_dma_addr_t buffer,
638 qdf_dma_addr_t buffer);
/wlan-driver/qcacld-3.0/core/bmi/src/
Di_bmi.h185 QDF_STATUS bmi_read_memory(uint32_t address, uint8_t *buffer, uint32_t length,
187 QDF_STATUS bmi_write_memory(uint32_t address, uint8_t *buffer, uint32_t length,
189 QDF_STATUS bmi_fast_download(uint32_t address, uint8_t *buffer, uint32_t length,
201 QDF_STATUS bmi_sign_stream_start(uint32_t address, uint8_t *buffer,
Dbmi.c333 bmilz_data(uint8_t *buffer, uint32_t length, struct ol_context *ol_ctx) in bmilz_data() argument
369 &buffer[length - remaining], txlen); in bmilz_data()
387 QDF_STATUS bmi_sign_stream_start(uint32_t address, uint8_t *buffer, in bmi_sign_stream_start() argument
417 src = &buffer[length - remaining]; in bmi_sign_stream_start()
494 bmi_fast_download(uint32_t address, uint8_t *buffer, in bmi_fast_download() argument
508 qdf_mem_copy(&last_word, &buffer[last_word_offset], in bmi_fast_download()
511 status = bmilz_data(buffer, last_word_offset, ol_ctx); in bmi_fast_download()
Dbmi_1.c26 uint8_t *buffer, uint32_t length, struct ol_context *ol_ctx) in bmi_read_memory() argument
82 qdf_mem_copy(&buffer[length - remaining + align], in bmi_read_memory()
86 qdf_mem_copy(&buffer[length - remaining + align], in bmi_read_memory()
96 QDF_STATUS bmi_write_memory(uint32_t address, uint8_t *buffer, uint32_t length, in bmi_write_memory() argument
129 src = &buffer[length - remaining]; in bmi_write_memory()
/wlan-driver/qca-wifi-host-cmn/utils/pktlog/
Dlinux_ac.c117 struct ath_pktlog_buf *buffer; in pktlog_alloc_buf() local
138 buffer = qdf_mem_valloc((page_cnt + 2) * PAGE_SIZE); in pktlog_alloc_buf()
139 if (!buffer) { in pktlog_alloc_buf()
143 buffer = (struct ath_pktlog_buf *) in pktlog_alloc_buf()
144 (((unsigned long)(buffer) + PAGE_SIZE - 1) in pktlog_alloc_buf()
147 for (vaddr = (unsigned long)(buffer); in pktlog_alloc_buf()
148 vaddr < ((unsigned long)(buffer) + (page_cnt * PAGE_SIZE)); in pktlog_alloc_buf()
158 pl_info->buf = buffer; in pktlog_alloc_buf()
208 qdf_sysctl_decl(ath_sysctl_pktlog_enable, ctl, write, filp, buffer, lenp, ppos) in qdf_sysctl_decl() argument
237 ret = QDF_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, in qdf_sysctl_decl()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/inc/
Dcdp_txrx_stats.h48 cdp_stats(ol_txrx_soc_handle soc, uint8_t vdev_id, char *buffer, in cdp_stats() argument
61 return soc->ops->mob_stats_ops->stats(vdev_id, buffer, buf_len); in cdp_stats()
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/native_sdio/src/
Dhif_scatter.c157 if ((unsigned long)req->scatter_list[i].buffer & 0x3) { in do_hif_read_write_scatter()
166 buffer)); in do_hif_read_write_scatter()
171 (unsigned long)req->scatter_list[i].buffer, in do_hif_read_write_scatter()
174 sg_set_buf(sg, req->scatter_list[i].buffer, in do_hif_read_write_scatter()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_osdep.h194 #define __QDF_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, lenp, ppos) \ argument
195 proc_dointvec(ctl, write, buffer, lenp, ppos)
/wlan-driver/qcacld-3.0/core/hdd/inc/
Dwlan_hdd_wext.h212 char *buffer, uint16_t buf_len);
215 char *buffer, uint16_t buf_len);
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/utf/src/
Dwlan_cm_utf_scan.c35 void *buffer) in wlan_cm_utf_scan_db_update() argument
41 char *buff = (char *)buffer; in wlan_cm_utf_scan_db_update()
Dwlan_cm_utf_main.c780 wlan_cm_utf_update_connect_param(struct wlan_cm_utf *cm_utf, char *buffer) in wlan_cm_utf_update_connect_param() argument
785 token = qdf_str_sep(&buffer, "\n"); in wlan_cm_utf_update_connect_param()
842 qdf_err("Updated connect params %s", buffer); in wlan_cm_utf_update_connect_param()
843 while ((token = qdf_str_sep(&buffer, ",")) != NULL) { in wlan_cm_utf_update_connect_param()
895 static void wlan_cm_utf_start_test(struct wlan_cm_utf *cm_utf, void *buffer) in wlan_cm_utf_start_test() argument
901 char *buff = (char *)buffer; in wlan_cm_utf_start_test()
/wlan-driver/qcacld-3.0/core/dp/htt/
Dhtt_t2h.c122 uint8_t *buffer) in htt_t2h_mac_addr_deswizzle() argument
134 buffer[0] = tgt_mac_addr[3]; in htt_t2h_mac_addr_deswizzle()
135 buffer[1] = tgt_mac_addr[2]; in htt_t2h_mac_addr_deswizzle()
136 buffer[2] = tgt_mac_addr[1]; in htt_t2h_mac_addr_deswizzle()
137 buffer[3] = tgt_mac_addr[0]; in htt_t2h_mac_addr_deswizzle()
138 buffer[4] = tgt_mac_addr[7]; in htt_t2h_mac_addr_deswizzle()
139 buffer[5] = tgt_mac_addr[6]; in htt_t2h_mac_addr_deswizzle()
140 return buffer; in htt_t2h_mac_addr_deswizzle()

123