Searched refs:block_pos (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/memstick/host/
H A Dtifm_ms.c77 unsigned int block_pos; member in struct:tifm_ms
193 length = host->req->sg.length - host->block_pos; tifm_ms_transfer_data()
194 off = host->req->sg.offset + host->block_pos; tifm_ms_transfer_data()
196 length = host->req->data_len - host->block_pos; tifm_ms_transfer_data()
200 host->block_pos); tifm_ms_transfer_data()
215 buf = host->req->data + host->block_pos; tifm_ms_transfer_data()
216 p_cnt = host->req->data_len - host->block_pos; tifm_ms_transfer_data()
230 host->block_pos += t_size; tifm_ms_transfer_data()
261 host->block_pos = 0; tifm_ms_issue_cmd()
H A Djmb38x_ms.c59 unsigned int block_pos; member in struct:jmb38x_ms_host
310 length = host->req->sg.length - host->block_pos; jmb38x_ms_transfer_data()
311 off = host->req->sg.offset + host->block_pos; jmb38x_ms_transfer_data()
313 length = host->req->data_len - host->block_pos; jmb38x_ms_transfer_data()
330 buf = host->req->data + host->block_pos; jmb38x_ms_transfer_data()
331 p_cnt = host->req->data_len - host->block_pos; jmb38x_ms_transfer_data()
350 host->block_pos += t_size; jmb38x_ms_transfer_data()
384 host->block_pos = 0; jmb38x_ms_issue_cmd()
/linux-4.4.14/drivers/mmc/host/
H A Dtifm_sd.c108 unsigned int block_pos; member in struct:tifm_sd
178 cnt = sg[host->sg_pos].length - host->block_pos; tifm_sd_transfer_data()
180 host->block_pos = 0; tifm_sd_transfer_data()
193 off = sg[host->sg_pos].offset + host->block_pos; tifm_sd_transfer_data()
207 host->block_pos += p_cnt; tifm_sd_transfer_data()
234 cnt = sg[host->sg_pos].length - host->block_pos; tifm_sd_bounce_block()
236 host->block_pos = 0; tifm_sd_bounce_block()
242 off = sg[host->sg_pos].offset + host->block_pos; tifm_sd_bounce_block()
259 host->block_pos += p_cnt; tifm_sd_bounce_block()
283 dma_len = sg_dma_len(&r_data->sg[host->sg_pos]) - host->block_pos; tifm_sd_set_dma_data()
285 host->block_pos = 0; tifm_sd_set_dma_data()
294 dma_off = host->block_pos; tifm_sd_set_dma_data()
295 host->block_pos += dma_blk_cnt * r_data->blksz; tifm_sd_set_dma_data()
298 dma_off = host->block_pos; tifm_sd_set_dma_data()
299 host->block_pos += t_size; tifm_sd_set_dma_data()
642 host->block_pos = 0; tifm_sd_request()
/linux-4.4.14/drivers/media/usb/usbvision/
H A Dusbvision-core.c703 int idx, idx_end, strip_len, strip_ptr, startblock_pos, block_pos, block_type_pos; usbvision_parse_compress() local
778 block_pos = startblock_pos; usbvision_parse_compress()
780 usbvision->block_pos = block_pos; usbvision_parse_compress()
782 usbvision_decompress(usbvision, strip_data, Y, &block_pos, &block_type_pos, idx_end); usbvision_parse_compress()
787 usbvision_decompress(usbvision, strip_data, V, &block_pos, &block_type_pos, idx_end / 2); usbvision_parse_compress()
789 usbvision_decompress(usbvision, strip_data, U, &block_pos, &block_type_pos, idx_end / 2); usbvision_parse_compress()
791 if (block_pos > usbvision->comprblock_pos) usbvision_parse_compress()
792 usbvision->comprblock_pos = block_pos; usbvision_parse_compress()
793 if (block_pos > strip_len) usbvision_parse_compress()
H A Dusbvision.h437 int block_pos; /* for test only */ member in struct:usb_usbvision
460 int strip_len_errors; /* How many times was block_pos greater than strip_len */

Completed in 385 milliseconds