Searched refs:current_seg (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/memstick/core/
H A Dmspro_block.c174 unsigned int current_seg; member in struct:mspro_block_data
611 == (msb->req_sg[msb->current_seg].length h_mspro_block_transfer_data()
614 msb->current_seg++; h_mspro_block_transfer_data()
616 if (msb->current_seg == msb->seg_count) { h_mspro_block_transfer_data()
635 t_offset = msb->req_sg[msb->current_seg].offset; h_mspro_block_transfer_data()
639 nth_page(sg_page(&(msb->req_sg[msb->current_seg])), h_mspro_block_transfer_data()
706 msb->current_seg = 0; mspro_block_issue_req()
761 for (cnt = 0; cnt < msb->current_seg; cnt++) { mspro_block_complete_req()
999 msb->current_seg = 0; mspro_block_read_attributes()
1101 msb->current_seg = 0; mspro_block_read_attributes()
/linux-4.1.27/drivers/usb/wusbcore/
H A Dwa-xfer.c2145 struct wa_seg *current_seg = xfer->seg[index]; wa_complete_remaining_xfer_segs() local
2147 BUG_ON(current_seg == NULL); wa_complete_remaining_xfer_segs()
2149 switch (current_seg->status) { wa_complete_remaining_xfer_segs()
2160 current_seg->status = status; wa_complete_remaining_xfer_segs()
2167 current_seg->status); wa_complete_remaining_xfer_segs()

Completed in 109 milliseconds