Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/memstick/core/
Dmspro_block.c170 unsigned int current_seg; member
607 == (msb->req_sg[msb->current_seg].length in h_mspro_block_transfer_data()
610 msb->current_seg++; in h_mspro_block_transfer_data()
612 if (msb->current_seg == msb->seg_count) { in h_mspro_block_transfer_data()
631 t_offset = msb->req_sg[msb->current_seg].offset; in h_mspro_block_transfer_data()
635 nth_page(sg_page(&(msb->req_sg[msb->current_seg])), in h_mspro_block_transfer_data()
701 msb->current_seg = 0; in mspro_block_issue_req()
756 for (cnt = 0; cnt < msb->current_seg; cnt++) { in mspro_block_complete_req()
989 msb->current_seg = 0; in mspro_block_read_attributes()
1090 msb->current_seg = 0; in mspro_block_read_attributes()
/Linux-v5.4/drivers/staging/wusbcore/
Dwa-xfer.c2132 struct wa_seg *current_seg = xfer->seg[index]; in wa_complete_remaining_xfer_segs() local
2134 BUG_ON(current_seg == NULL); in wa_complete_remaining_xfer_segs()
2136 switch (current_seg->status) { in wa_complete_remaining_xfer_segs()
2148 current_seg->status = status; in wa_complete_remaining_xfer_segs()
2155 current_seg->status); in wa_complete_remaining_xfer_segs()