Searched refs:current_sg (Results 1 – 6 of 6) sorted by relevance
/drivers/dma/ |
D | ste_dma40_ll.c | 277 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/mfd/ |
D | rtsx_usb.c | 48 usb_sg_cancel(&ucr->current_sg); in rtsx_usb_sg_timed_out() 51 ucr->current_sg.status = -ETIMEDOUT; in rtsx_usb_sg_timed_out() 62 ret = usb_sg_init(&ucr->current_sg, ucr->pusb_dev, pipe, 0, in rtsx_usb_bulk_transfer_sglist() 69 usb_sg_wait(&ucr->current_sg); in rtsx_usb_bulk_transfer_sglist() 73 *act_len = ucr->current_sg.bytes; in rtsx_usb_bulk_transfer_sglist() 75 return ucr->current_sg.status; in rtsx_usb_bulk_transfer_sglist()
|
/drivers/usb/storage/ |
D | transport.c | 429 result = usb_sg_init(&us->current_sg, us->pusb_dev, pipe, 0, in usb_stor_bulk_transfer_sglist() 446 usb_sg_cancel(&us->current_sg); in usb_stor_bulk_transfer_sglist() 451 usb_sg_wait(&us->current_sg); in usb_stor_bulk_transfer_sglist() 454 result = us->current_sg.status; in usb_stor_bulk_transfer_sglist() 456 *act_len = us->current_sg.bytes; in usb_stor_bulk_transfer_sglist() 458 us->current_sg.bytes); in usb_stor_bulk_transfer_sglist() 906 usb_sg_cancel(&us->current_sg); in usb_stor_stop_transport()
|
D | usb.h | 143 struct usb_sg_request current_sg; /* scatter-gather req. */ member
|
/drivers/memstick/core/ |
D | ms_block.h | 205 struct scatterlist *current_sg; member
|
D | ms_block.c | 435 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()
|