Home
last modified time | relevance | path

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

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