Searched refs:remaining_len (Results 1 – 7 of 7) sorted by relevance
/drivers/misc/mic/scif/ |
D | scif_dma.c | 907 size_t loop_len, nr_contig_bytes = 0, remaining_len = work->len; in scif_rma_list_dma_copy_unaligned() local 928 loop_len = min(loop_len, remaining_len); in scif_rma_list_dma_copy_unaligned() 939 !(remaining_len - loop_len)); in scif_rma_list_dma_copy_unaligned() 943 !(remaining_len - loop_len)); in scif_rma_list_dma_copy_unaligned() 949 remaining_len -= loop_len; in scif_rma_list_dma_copy_unaligned() 956 tail_len = remaining_len & (L1_CACHE_BYTES - 1); in scif_rma_list_dma_copy_unaligned() 957 remaining_len -= tail_len; in scif_rma_list_dma_copy_unaligned() 958 while (remaining_len) { in scif_rma_list_dma_copy_unaligned() 972 loop_len = min(nr_contig_bytes, remaining_len); in scif_rma_list_dma_copy_unaligned() 975 !(remaining_len - loop_len) && in scif_rma_list_dma_copy_unaligned() [all …]
|
D | scif_api.c | 1011 int curr_recv_len = 0, remaining_len = len, read_count; in _scif_recv() local 1018 while (remaining_len && (SCIFEP_CONNECTED == ep->state || in _scif_recv() 1020 read_count = scif_rb_count(&qp->inbound_q, remaining_len); in _scif_recv() 1027 curr_recv_len = min(remaining_len, read_count); in _scif_recv() 1051 remaining_len -= curr_recv_len; in _scif_recv() 1067 curr_recv_len = min(remaining_len, SCIF_ENDPT_QP_SIZE - 1); in _scif_recv() 1083 if (len - remaining_len) in _scif_recv() 1084 ret = len - remaining_len; in _scif_recv()
|
/drivers/nfc/nxp-nci/ |
D | firmware.c | 105 size_t remaining_len; in nxp_nci_fw_send_chunk() local 115 remaining_len = fw_info->frame_size - fw_info->written; in nxp_nci_fw_send_chunk() 117 if (remaining_len > chunk_len) { in nxp_nci_fw_send_chunk() 120 chunk_len = remaining_len; in nxp_nci_fw_send_chunk()
|
/drivers/gpu/drm/via/ |
D | via_dmablit.c | 108 unsigned remaining_len; in via_map_blit_for_device() local 125 remaining_len = min(PAGE_SIZE-VIA_PGOFF(cur_mem), line_len); in via_map_blit_for_device() 126 line_len -= remaining_len; in via_map_blit_for_device() 133 VIA_PGOFF(cur_mem), remaining_len, in via_map_blit_for_device() 137 desc_ptr->size = remaining_len; in via_map_blit_for_device() 149 cur_mem += remaining_len; in via_map_blit_for_device() 150 cur_fb += remaining_len; in via_map_blit_for_device()
|
/drivers/media/usb/gspca/ |
D | ov534_9.c | 1645 int remaining_len = len; in sd_pkt_scan() local 1650 len = min(remaining_len, payload_len); in sd_pkt_scan() 1707 remaining_len -= len; in sd_pkt_scan() 1709 } while (remaining_len > 0); in sd_pkt_scan()
|
D | ov534.c | 1404 int remaining_len = len; in sd_pkt_scan() local 1409 len = min(remaining_len, payload_len); in sd_pkt_scan() 1473 remaining_len -= len; in sd_pkt_scan() 1475 } while (remaining_len > 0); in sd_pkt_scan()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | cfg80211.c | 3819 s32 remaining_len; in brcmf_parse_vndr_ies() local 3821 remaining_len = (s32)vndr_ie_len; in brcmf_parse_vndr_ies() 3861 remaining_len -= (ie->len + TLV_HDR_LEN); in brcmf_parse_vndr_ies() 3862 if (remaining_len <= TLV_HDR_LEN) in brcmf_parse_vndr_ies()
|