Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 25 of 34) sorted by relevance

12

/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
Dce_diag.c122 uint32_t address, uint8_t *data, int nbytes) in hif_diag_read_mem() argument
177 while ((nbytes >= 4) && in hif_diag_read_mem()
182 nbytes -= sizeof(uint32_t); in hif_diag_read_mem()
199 orig_nbytes = nbytes; in hif_diag_read_mem()
211 nbytes = min(remaining_bytes, DIAG_TRANSFER_LIMIT); in hif_diag_read_mem()
234 status = ce_send(ce_diag, NULL, ce_phy_addr, nbytes, in hif_diag_read_mem()
249 if (nbytes != completed_nbytes) { in hif_diag_read_mem()
269 if (nbytes != completed_nbytes) { in hif_diag_read_mem()
278 remaining_bytes -= nbytes; in hif_diag_read_mem()
279 address += nbytes; in hif_diag_read_mem()
[all …]
Dce_internal.h266 nbytes:16; member
281 uint32_t nbytes:16, member
304 nbytes:16; member
319 uint32_t nbytes:16, member
344 nbytes:16; /* length in register map */ member
361 uint32_t nbytes:16, /* length in register map */ member
386 nbytes:16; /* length in register map */ member
403 uint32_t nbytes:16, /* length in register map */ member
417 nbytes:16; member
420 uint32_t nbytes:16, member
[all …]
Dce_service_legacy.c205 shadow_src_desc->nbytes = qdf_nbuf_get_frag_len(msdu, 0); in ce_send_fast()
206 ce_validate_nbytes(shadow_src_desc->nbytes, ce_state); in ce_send_fast()
207 download_len -= shadow_src_desc->nbytes; in ce_send_fast()
244 shadow_src_desc->nbytes = download_len; in ce_send_fast()
245 ce_validate_nbytes(shadow_src_desc->nbytes, ce_state); in ce_send_fast()
246 if (shadow_src_desc->nbytes > frag_len) in ce_send_fast()
247 shadow_src_desc->nbytes = frag_len; in ce_send_fast()
259 write_index, shadow_src_desc->nbytes); in ce_send_fast()
346 uint32_t nbytes; in ce_per_engine_service_fast() local
365 nbytes = dest_desc->nbytes; in ce_per_engine_service_fast()
[all …]
Dce_service_srng.c164 uint32_t nbytes, in ce_send_nolock_srng() argument
219 src_desc->nbytes = nbytes; in ce_send_nolock_srng()
233 src_ring->write_index, nbytes, in ce_send_nolock_srng()
276 item->u.nbytes, transfer_id, in ce_sendlist_send_srng()
287 item->u.nbytes, in ce_sendlist_send_srng()
452 int nbytes; in ce_completed_recv_next_nolock_srng() local
475 nbytes = dest_status_info.nbytes; in ce_completed_recv_next_nolock_srng()
476 if (nbytes == 0) { in ce_completed_recv_next_nolock_srng()
499 dest_status->nbytes = 0; in ce_completed_recv_next_nolock_srng()
501 *nbytesp = nbytes; in ce_completed_recv_next_nolock_srng()
[all …]
Dce_bmi.h29 unsigned int nbytes,
33 unsigned int nbytes,
Dce_api.h70 unsigned int nbytes,
85 unsigned int nbytes,
156 unsigned int nbytes,
221 unsigned int nbytes,
619 uint32_t nbytes,
Dce_service.c54 ce_desc->nbytes = 128; \
60 ce_desc->nbytes = 60; \
503 uint32_t nbytes, in ce_send() argument
514 per_transfer_context, buffer, nbytes, in ce_send()
537 uint32_t nbytes, in ce_sendlist_buf_add() argument
553 item->u.nbytes = nbytes; in ce_sendlist_buf_add()
654 lsrc_desc.nbytes = len; in ce_batch_send()
758 lsrc_desc.nbytes = len; in ce_send_single()
971 unsigned int nbytes; in ce_per_engine_servicereap() local
1008 &nbytes, &id, &sw_idx, &hw_idx, in ce_per_engine_servicereap()
[all …]
Dce_bmi.c69 unsigned int nbytes, in hif_bmi_send_done() argument
104 unsigned int nbytes, in hif_bmi_recv_data() argument
110 transaction->bmi_response_length = nbytes; in hif_bmi_recv_data()
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/
Dhif_diag_reg_access.c185 uint8_t *data, int nbytes) in hif_diag_write_mem() argument
192 (nbytes & WORD_NON_ALIGNMENT_MASK)) { in hif_diag_write_mem()
195 __func__, address, nbytes)); in hif_diag_write_mem()
199 for (i = 0; i < nbytes; i += 4) { in hif_diag_write_mem()
230 int nbytes) in hif_diag_read_mem() argument
237 (nbytes & WORD_NON_ALIGNMENT_MASK)) { in hif_diag_read_mem()
240 __func__, address, nbytes)); in hif_diag_read_mem()
244 for (i = 0; i < nbytes; i += 4) { in hif_diag_read_mem()
Dhif_sdio.c121 uint32_t transfer_id, uint32_t nbytes, qdf_nbuf_t buf, in hif_send_head() argument
130 nbytes, buf); in hif_send_head()
/wlan-driver/qca-wifi-host-cmn/hif/src/usb/
Dhif_usb.c122 qdf_nbuf_t buf, unsigned int nbytes) in hif_send_internal() argument
139 pipe_id, buf, nbytes); in hif_send_internal()
177 + head_data_len + nbytes); in hif_send_internal()
222 len = nbytes; in hif_send_internal()
237 pipe->ep_address, nbytes); in hif_send_internal()
277 uint32_t transfer_id, uint32_t nbytes, in hif_send_head() argument
283 status = hif_send_internal(device, pipe_id, NULL, wbuf, nbytes); in hif_send_head()
844 int nbytes) in hif_diag_read_mem() argument
853 while ((nbytes >= 4) && in hif_diag_read_mem()
859 nbytes -= sizeof(uint32_t); in hif_diag_read_mem()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_qdf_mem.h165 int nbytes, in __qdf_mem_map_nbytes_single() argument
169 *phy_addr = dma_map_single(osdev->dev, buf, nbytes, in __qdf_mem_map_nbytes_single()
179 int nbytes) in __qdf_mem_dma_cache_sync() argument
181 dma_cache_sync(osdev->dev, buf, nbytes, __qdf_dma_dir_to_os(dir)); in __qdf_mem_dma_cache_sync()
187 int nbytes) in __qdf_mem_dma_cache_sync() argument
189 dma_sync_single_for_cpu(osdev->dev, buf, nbytes, in __qdf_mem_dma_cache_sync()
206 qdf_dma_dir_t dir, int nbytes) in __qdf_mem_unmap_nbytes_single() argument
208 dma_unmap_single(osdev->dev, phy_addr, nbytes, in __qdf_mem_unmap_nbytes_single()
Di_qdf_nbuf_frag.h119 size_t nbytes, qdf_dma_dir_t dir);
132 qdf_dma_dir_t dir, size_t nbytes,
Dqdf_nbuf_frag.c786 qdf_dma_dir_t dir, size_t nbytes, in __qdf_mem_map_page() argument
794 *phy_addr = dma_map_page(osdev->dev, page, offset, nbytes, in __qdf_mem_map_page()
802 qdf_dma_dir_t dir, size_t nbytes, in __qdf_mem_map_page() argument
813 size_t nbytes, qdf_dma_dir_t dir) in __qdf_mem_unmap_page() argument
815 dma_unmap_page(osdev->dev, paddr, nbytes, in __qdf_mem_unmap_page()
820 size_t nbytes, qdf_dma_dir_t dir) in __qdf_mem_unmap_page() argument
Di_qdf_nbuf.h550 qdf_dma_dir_t dir, int nbytes);
562 qdf_dma_dir_t dir, int nbytes);
2886 int nbytes, qdf_dma_dir_t dir, bool is_mapped) in __qdf_record_nbuf_nbytes() argument
2891 qdf_mem_dp_tx_skb_inc(nbytes); in __qdf_record_nbuf_nbytes()
2894 qdf_mem_dp_rx_skb_inc(nbytes); in __qdf_record_nbuf_nbytes()
2896 qdf_mem_skb_total_inc(nbytes); in __qdf_record_nbuf_nbytes()
2900 qdf_mem_dp_tx_skb_dec(nbytes); in __qdf_record_nbuf_nbytes()
2903 qdf_mem_dp_rx_skb_dec(nbytes); in __qdf_record_nbuf_nbytes()
2905 qdf_mem_skb_total_dec(nbytes); in __qdf_record_nbuf_nbytes()
2911 int nbytes, qdf_dma_dir_t dir, bool is_mapped) in __qdf_record_nbuf_nbytes() argument
Di_qdf_nbuf_w.h665 qdf_dma_dir_t dir, int nbytes) in __qdf_nbuf_map_nbytes_single() argument
675 qdf_dma_dir_t dir, int nbytes) in __qdf_nbuf_map_nbytes_single() argument
683 nbytes, __qdf_dma_dir_to_os(dir)); in __qdf_nbuf_map_nbytes_single()
704 qdf_dma_dir_t dir, int nbytes) in __qdf_nbuf_unmap_nbytes_single() argument
710 qdf_dma_dir_t dir, int nbytes) in __qdf_nbuf_unmap_nbytes_single() argument
717 dma_unmap_single(osdev->dev, paddr, nbytes, in __qdf_nbuf_unmap_nbytes_single()
Di_qdf_nbuf_m.h704 qdf_dma_dir_t dir, int nbytes) in __qdf_nbuf_map_nbytes_single() argument
714 qdf_dma_dir_t dir, int nbytes) in __qdf_nbuf_map_nbytes_single() argument
722 nbytes, __qdf_dma_dir_to_os(dir)); in __qdf_nbuf_map_nbytes_single()
743 qdf_dma_dir_t dir, int nbytes) in __qdf_nbuf_unmap_nbytes_single() argument
750 qdf_dma_dir_t dir, int nbytes) in __qdf_nbuf_unmap_nbytes_single() argument
757 dma_unmap_single(osdev->dev, paddr, nbytes, in __qdf_nbuf_unmap_nbytes_single()
Dqdf_nbuf.c1165 int nbytes, in qdf_nbuf_map_nbytes_debug() argument
1175 status = __qdf_nbuf_map_nbytes(osdev, buf, dir, nbytes); in qdf_nbuf_map_nbytes_debug()
1192 int nbytes, in qdf_nbuf_unmap_nbytes_debug() argument
1197 __qdf_nbuf_unmap_nbytes(osdev, buf, dir, nbytes); in qdf_nbuf_unmap_nbytes_debug()
1206 int nbytes, in qdf_nbuf_map_nbytes_single_debug() argument
1216 status = __qdf_nbuf_map_nbytes_single(osdev, buf, dir, nbytes); in qdf_nbuf_map_nbytes_single_debug()
1233 int nbytes, in qdf_nbuf_unmap_nbytes_single_debug() argument
1238 __qdf_nbuf_unmap_nbytes_single(osdev, buf, dir, nbytes); in qdf_nbuf_unmap_nbytes_single_debug()
1247 qdf_dma_dir_t dir, int nbytes, in qdf_nbuf_unmap_nbytes_single_paddr_debug() argument
1252 __qdf_mem_unmap_nbytes_single(osdev, phy_addr, dir, nbytes); in qdf_nbuf_unmap_nbytes_single_paddr_debug()
[all …]
Di_qdf_util.h431 void __qdf_get_random_bytes(void *buf, int nbytes) in __qdf_get_random_bytes() argument
433 return get_random_bytes(buf, nbytes); in __qdf_get_random_bytes()
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
Dtransfer.c87 uint8_t pipe, uint32_t nbytes, qdf_nbuf_t buf) in hif_dev_send_buffer() argument
103 padded_length = DEV_CALC_SEND_PADDED_LEN(pdev, nbytes); in hif_dev_send_buffer()
104 A_ASSERT(padded_length - nbytes < HIF_DUMMY_SPACE_MASK + 1); in hif_dev_send_buffer()
106 request |= ((padded_length - nbytes) << 16); in hif_dev_send_buffer()
115 (nbytes - qdf_nbuf_get_frag_len(buf, frag_count - 1)); in hif_dev_send_buffer()
125 (qdf_nbuf_tailroom(buf) >= (padded_length - nbytes))) { in hif_dev_send_buffer()
155 if (frag_len > nbytes) in hif_dev_send_buffer()
156 frag_len = nbytes; in hif_dev_send_buffer()
159 nbytes -= frag_len; in hif_dev_send_buffer()
160 if (nbytes <= 0) in hif_dev_send_buffer()
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_nbuf_frag.h282 qdf_dma_dir_t dir, size_t nbytes, in qdf_mem_map_page() argument
285 return __qdf_mem_map_page(osdev, buf, dir, nbytes, phy_addr); in qdf_mem_map_page()
296 size_t nbytes, qdf_dma_dir_t dir) in qdf_mem_unmap_page() argument
298 __qdf_mem_unmap_page(osdev, paddr, nbytes, dir); in qdf_mem_unmap_page()
Dqdf_nbuf.h1342 int nbytes,
1346 #define qdf_nbuf_map_nbytes(osdev, buf, dir, nbytes) \ argument
1347 qdf_nbuf_map_nbytes_debug(osdev, buf, dir, nbytes, __func__, __LINE__)
1352 int nbytes,
1356 #define qdf_nbuf_unmap_nbytes(osdev, buf, dir, nbytes) \ argument
1357 qdf_nbuf_unmap_nbytes_debug(osdev, buf, dir, nbytes, __func__, __LINE__)
1362 int nbytes,
1366 #define qdf_nbuf_map_nbytes_single(osdev, buf, dir, nbytes) \ argument
1367 qdf_nbuf_map_nbytes_single_debug(osdev, buf, dir, nbytes, \
1373 int nbytes,
[all …]
Dqdf_mem.h650 qdf_dma_dir_t dir, int nbytes, in qdf_mem_map_nbytes_single() argument
654 return __qdf_mem_map_nbytes_single(osdev, buf, dir, nbytes, phy_addr); in qdf_mem_map_nbytes_single()
663 int nbytes) in qdf_mem_dma_cache_sync() argument
665 __qdf_mem_dma_cache_sync(osdev, buf, dir, nbytes); in qdf_mem_dma_cache_sync()
680 int nbytes) in qdf_mem_unmap_nbytes_single() argument
683 __qdf_mem_unmap_nbytes_single(osdev, phy_addr, dir, nbytes); in qdf_mem_unmap_nbytes_single()
/wlan-driver/qca-wifi-host-cmn/utils/pktlog/
Dlinux_ac.c85 static ssize_t pktlog_read(struct file *file, char *buf, size_t nbytes,
738 pktlog_read_proc_entry(char *buf, size_t nbytes, loff_t *ppos, in pktlog_read_proc_entry() argument
767 rem_len = nbytes; in pktlog_read_proc_entry()
851 if ((ret_val < nbytes) && pl_info->saved_state) { in pktlog_read_proc_entry()
877 __pktlog_read(struct file *file, char *buf, size_t nbytes, loff_t *ppos) in __pktlog_read() argument
917 rem_len = nbytes; in __pktlog_read()
1017 if ((ret_val < nbytes) && pl_info->saved_state) { in __pktlog_read()
1028 pktlog_read(struct file *file, char *buf, size_t nbytes, loff_t *ppos) in pktlog_read() argument
1042 err_size = __pktlog_read(file, buf, nbytes, ppos); in pktlog_read()
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_process_tdls.c2015 uint32_t nbytes = 0; in lim_send_tdls_link_setup_req_frame() local
2201 nbytes = payload + ((IS_QOS_ENABLED(pe_session)) in lim_send_tdls_link_setup_req_frame()
2209 qdf_status = cds_packet_alloc((uint16_t)nbytes, (void **)&frame, in lim_send_tdls_link_setup_req_frame()
2213 nbytes); in lim_send_tdls_link_setup_req_frame()
2220 qdf_mem_zero(frame, nbytes); in lim_send_tdls_link_setup_req_frame()
2308 (uint16_t)nbytes, in lim_send_tdls_link_setup_req_frame()
2338 uint32_t nbytes = 0; in lim_send_tdls_teardown_frame() local
2409 nbytes = payload + sizeof(eth_890d_header) + PAYLOAD_TYPE_TDLS_SIZE; in lim_send_tdls_teardown_frame()
2410 nbytes += addIeLen; in lim_send_tdls_teardown_frame()
2414 nbytes += sizeof(tSirMacDataHdr3a); in lim_send_tdls_teardown_frame()
[all …]

12