Home
last modified time | relevance | path

Searched refs:current_sg (Results 1 – 6 of 6) sorted by relevance

/drivers/dma/
Dste_dma40_ll.c277 struct scatterlist *current_sg = sg; in d40_phy_sg_to_lli() local
284 for_each_sg(sg, current_sg, sg_len, i) { in d40_phy_sg_to_lli()
285 dma_addr_t sg_addr = sg_dma_address(current_sg); in d40_phy_sg_to_lli()
286 unsigned int len = sg_dma_len(current_sg); in d40_phy_sg_to_lli()
289 total_size += sg_dma_len(current_sg); in d40_phy_sg_to_lli()
425 struct scatterlist *current_sg = sg; in d40_log_sg_to_lli() local
433 for_each_sg(sg, current_sg, sg_len, i) { in d40_log_sg_to_lli()
434 dma_addr_t sg_addr = sg_dma_address(current_sg); in d40_log_sg_to_lli()
435 unsigned int len = sg_dma_len(current_sg); in d40_log_sg_to_lli()
438 total_size += sg_dma_len(current_sg); in d40_log_sg_to_lli()
/drivers/usb/storage/
Dtransport.c423 result = usb_sg_init(&us->current_sg, us->pusb_dev, pipe, 0, in usb_stor_bulk_transfer_sglist()
442 usb_sg_cancel(&us->current_sg); in usb_stor_bulk_transfer_sglist()
447 usb_sg_wait(&us->current_sg); in usb_stor_bulk_transfer_sglist()
450 result = us->current_sg.status; in usb_stor_bulk_transfer_sglist()
452 *act_len = us->current_sg.bytes; in usb_stor_bulk_transfer_sglist()
454 us->current_sg.bytes); in usb_stor_bulk_transfer_sglist()
944 usb_sg_cancel(&us->current_sg); in usb_stor_stop_transport()
Dusb.h130 struct usb_sg_request current_sg; /* scatter-gather req. */ member
/drivers/misc/cardreader/
Drtsx_usb.c37 usb_sg_cancel(&ucr->current_sg); in rtsx_usb_sg_timed_out()
48 ret = usb_sg_init(&ucr->current_sg, ucr->pusb_dev, pipe, 0, in rtsx_usb_bulk_transfer_sglist()
55 usb_sg_wait(&ucr->current_sg); in rtsx_usb_bulk_transfer_sglist()
59 ret = ucr->current_sg.status; in rtsx_usb_bulk_transfer_sglist()
62 *act_len = ucr->current_sg.bytes; in rtsx_usb_bulk_transfer_sglist()
/drivers/memstick/core/
Dms_block.h202 struct scatterlist *current_sg; member
Dms_block.c431 msb_sg_copy(msb->current_sg, sg, ARRAY_SIZE(sg), in h_msb_read_page()
557 if (msb_sg_copy(msb->current_sg, sg, ARRAY_SIZE(sg), in h_msb_write_block()
907 msb->current_sg = sg; in msb_read_page()
1041 msb->current_sg = sg; in msb_write_block()