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.c439 result = usb_sg_init(&us->current_sg, us->pusb_dev, pipe, 0, in usb_stor_bulk_transfer_sglist()
458 usb_sg_cancel(&us->current_sg); in usb_stor_bulk_transfer_sglist()
463 usb_sg_wait(&us->current_sg); in usb_stor_bulk_transfer_sglist()
466 result = us->current_sg.status; in usb_stor_bulk_transfer_sglist()
468 *act_len = us->current_sg.bytes; in usb_stor_bulk_transfer_sglist()
470 us->current_sg.bytes); in usb_stor_bulk_transfer_sglist()
953 usb_sg_cancel(&us->current_sg); in usb_stor_stop_transport()
Dusb.h145 struct usb_sg_request current_sg; /* scatter-gather req. */ member
/drivers/mfd/
Drtsx_usb.c48 usb_sg_cancel(&ucr->current_sg); in rtsx_usb_sg_timed_out()
59 ret = usb_sg_init(&ucr->current_sg, ucr->pusb_dev, pipe, 0, in rtsx_usb_bulk_transfer_sglist()
66 usb_sg_wait(&ucr->current_sg); in rtsx_usb_bulk_transfer_sglist()
70 ret = ucr->current_sg.status; in rtsx_usb_bulk_transfer_sglist()
73 *act_len = ucr->current_sg.bytes; in rtsx_usb_bulk_transfer_sglist()
/drivers/memstick/core/
Dms_block.h205 struct scatterlist *current_sg; member
Dms_block.c435 msb_sg_copy(msb->current_sg, sg, ARRAY_SIZE(sg), in h_msb_read_page()
561 if (msb_sg_copy(msb->current_sg, sg, ARRAY_SIZE(sg), in h_msb_write_block()
911 msb->current_sg = sg; in msb_read_page()
1045 msb->current_sg = sg; in msb_write_block()