Home
last modified time | relevance | path

Searched refs:rx_sg (Results 1 – 22 of 22) sorted by relevance

/drivers/crypto/qce/
Ddma.c104 int qce_dma_prep_sgs(struct qce_dma_data *dma, struct scatterlist *rx_sg, in qce_dma_prep_sgs() argument
113 ret = qce_dma_prep_sg(rxchan, rx_sg, rx_nents, flags, DMA_MEM_TO_DEV, in qce_dma_prep_sgs()
/drivers/infiniband/ulp/iser/
Diser_initiator.c244 struct ib_sge *rx_sg; in iser_alloc_rx_descriptors() local
275 rx_sg = &rx_desc->rx_sg; in iser_alloc_rx_descriptors()
276 rx_sg->addr = rx_desc->dma_addr; in iser_alloc_rx_descriptors()
277 rx_sg->length = ISER_RX_PAYLOAD_SIZE; in iser_alloc_rx_descriptors()
278 rx_sg->lkey = device->pd->local_dma_lkey; in iser_alloc_rx_descriptors()
Discsi_iser.h292 struct ib_sge rx_sg; member
Diser_verbs.c1047 wr->sg_list = &rx_desc->rx_sg; in iser_post_recvm()
/drivers/spi/
Dspi-rockchip.c197 struct sg_table rx_sg; member
464 rs->rx_sg.sgl, rs->rx_sg.nents, in rockchip_spi_prepare_dma()
619 rs->rx_sg = xfer->rx_sg; in rockchip_spi_transfer_one()
Dspi-dw-mid.c214 xfer->rx_sg.sgl, in dw_spi_dma_prepare_rx()
215 xfer->rx_sg.nents, in dw_spi_dma_prepare_rx()
Dspi-ti-qspi.c433 static int ti_qspi_dma_xfer_sg(struct ti_qspi *qspi, struct sg_table rx_sg, in ti_qspi_dma_xfer_sg() argument
441 for_each_sg(rx_sg.sgl, sg, rx_sg.nents, i) { in ti_qspi_dma_xfer_sg()
514 ret = ti_qspi_dma_xfer_sg(qspi, msg->rx_sg, msg->from); in ti_qspi_spi_flash_read()
Dspi-bcm2835.c268 nents = tfr->rx_sg.nents; in bcm2835_spi_prepare_sg()
269 sgl = tfr->rx_sg.sgl; in bcm2835_spi_prepare_sg()
313 bcm2835_check_sg_length(&tfr->rx_sg)) { in bcm2835_spi_transfer_one_dma()
Dspi-pic32.c321 xfer->rx_sg.sgl, in pic32_spi_dma_transfer()
322 xfer->rx_sg.nents, in pic32_spi_dma_transfer()
533 if (transfer->rx_sg.nents && transfer->tx_sg.nents) { in pic32_spi_one_transfer()
Dspi-pxa2xx-dma.c115 sgt = &xfer->rx_sg; in pxa2xx_spi_dma_prepare_one()
Dspi-pic32-sqi.c284 sgl = xfer->rx_sg.sgl; in pic32_sqi_one_transfer()
285 nents = xfer->rx_sg.nents; in pic32_sqi_one_transfer()
Dspi-img-spfi.c338 rxdesc = dmaengine_prep_slave_sg(spfi->rx_ch, xfer->rx_sg.sgl, in img_spfi_start_dma()
339 xfer->rx_sg.nents, in img_spfi_start_dma()
Dspi-qup.c302 nents = xfer->rx_sg.nents; in spi_qup_prep_sg()
303 sgl = xfer->rx_sg.sgl; in spi_qup_prep_sg()
Dspi.c828 ret = spi_map_buf(master, rx_dev, &xfer->rx_sg, in __spi_map_msg()
866 spi_unmap_buf(master, rx_dev, &xfer->rx_sg, DMA_FROM_DEVICE); in __spi_unmap_msg()
2812 ret = spi_map_buf(master, rx_dev, &msg->rx_sg, in spi_flash_read()
2820 spi_unmap_buf(master, rx_dev, &msg->rx_sg, in spi_flash_read()
Dspi-rspi.c684 xfer->rx_buf ? &xfer->rx_sg : NULL); in rspi_dma_check_then_transfer()
809 int ret = rspi_dma_transfer(rspi, NULL, &xfer->rx_sg); in qspi_transfer_in()
Dspi-omap2-mcspi.c507 ret = sg_split(xfer->rx_sg.sgl, xfer->rx_sg.nents, in omap2_mcspi_rx_dma()
Dspi-mt65xx.c380 mdata->rx_sgl = xfer->rx_sg.sgl; in mtk_spi_dma_transfer()
Dspi-imx.c1002 struct sg_table *tx = &transfer->tx_sg, *rx = &transfer->rx_sg; in spi_imx_dma_transfer()
Dspi-s3c64xx.c460 prepare_dma(&sdd->rx_dma, &xfer->rx_sg); in enable_datapath()
/drivers/dma/
Ddmatest.c517 struct scatterlist rx_sg[src_cnt]; in dmatest_func() local
615 sg_init_table(rx_sg, src_cnt); in dmatest_func()
617 sg_dma_address(&rx_sg[i]) = srcs[i]; in dmatest_func()
620 sg_dma_len(&rx_sg[i]) = len; in dmatest_func()
629 rx_sg, src_cnt, flags); in dmatest_func()
/drivers/infiniband/ulp/isert/
Dib_isert.h86 struct ib_sge rx_sg; member
Dib_isert.c180 struct ib_sge *rx_sg; in isert_alloc_rx_descriptors() local
199 rx_sg = &rx_desc->rx_sg; in isert_alloc_rx_descriptors()
200 rx_sg->addr = rx_desc->dma_addr; in isert_alloc_rx_descriptors()
201 rx_sg->length = ISER_RX_PAYLOAD_SIZE; in isert_alloc_rx_descriptors()
202 rx_sg->lkey = device->pd->local_dma_lkey; in isert_alloc_rx_descriptors()
822 rx_wr->sg_list = &rx_desc->rx_sg; in isert_post_recvm()
844 rx_wr.sg_list = &rx_desc->rx_sg; in isert_post_recv()