/linux/drivers/spi/ |
A D | spi-dw-dma.c | 463 ret = dw_spi_dma_submit_rx(dws, xfer->rx_sg.sgl, in dw_spi_dma_transfer_all() 464 xfer->rx_sg.nents); in dw_spi_dma_transfer_all() 517 struct scatterlist *tx_sg = NULL, *rx_sg = NULL, tx_tmp, rx_tmp; in dw_spi_dma_transfer_one() local 535 rx_sg = !rx_sg ? &xfer->rx_sg.sgl[0] : sg_next(rx_sg); in dw_spi_dma_transfer_one() 536 sg_dma_address(&rx_tmp) = sg_dma_address(rx_sg); in dw_spi_dma_transfer_one() 537 rx_len = sg_dma_len(rx_sg); in dw_spi_dma_transfer_one() 588 nents = max(xfer->tx_sg.nents, xfer->rx_sg.nents); in dw_spi_dma_transfer()
|
A D | spi-bcm2835.c | 492 if (bs->rx_buf && !sg_is_last(&tfr->rx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue() 493 bs->rx_prologue = sg_dma_len(&tfr->rx_sg.sgl[0]) & 3; in bcm2835_spi_transfer_prologue() 523 sg_dma_address(&tfr->rx_sg.sgl[0]), in bcm2835_spi_transfer_prologue() 526 sg_dma_address(&tfr->rx_sg.sgl[0]) += bs->rx_prologue; in bcm2835_spi_transfer_prologue() 527 sg_dma_len(&tfr->rx_sg.sgl[0]) -= bs->rx_prologue; in bcm2835_spi_transfer_prologue() 574 sg_dma_address(&tfr->rx_sg.sgl[0]) -= bs->rx_prologue; in bcm2835_spi_undo_prologue() 575 sg_dma_len(&tfr->rx_sg.sgl[0]) += bs->rx_prologue; in bcm2835_spi_undo_prologue() 687 nents = tfr->rx_sg.nents; in bcm2835_spi_prepare_sg() 688 sgl = tfr->rx_sg.sgl; in bcm2835_spi_prepare_sg()
|
A D | spi-davinci.c | 625 t->rx_sg.sgl, t->rx_sg.nents, DMA_DEV_TO_MEM, in davinci_spi_bufs() 636 t->tx_sg.sgl = t->rx_sg.sgl; in davinci_spi_bufs() 637 t->tx_sg.nents = t->rx_sg.nents; in davinci_spi_bufs()
|
A D | spi-pic32.c | 313 xfer->rx_sg.sgl, in pic32_spi_dma_transfer() 314 xfer->rx_sg.nents, in pic32_spi_dma_transfer() 526 if (transfer->rx_sg.nents && transfer->tx_sg.nents) { in pic32_spi_one_transfer()
|
A D | spi-ti-qspi.c | 508 static int ti_qspi_dma_xfer_sg(struct ti_qspi *qspi, struct sg_table rx_sg, in ti_qspi_dma_xfer_sg() argument 516 for_each_sg(rx_sg.sgl, sg, rx_sg.nents, i) { in ti_qspi_dma_xfer_sg()
|
A D | spi-pxa2xx-dma.c | 101 sgt = &xfer->rx_sg; in pxa2xx_spi_dma_prepare_one()
|
A D | spi-pic32-sqi.c | 276 sgl = xfer->rx_sg.sgl; in pic32_sqi_one_transfer() 277 nents = xfer->rx_sg.nents; in pic32_sqi_one_transfer()
|
A D | spi-at91-usart.c | 230 xfer->rx_sg.sgl, in at91_usart_spi_dma_transfer() 231 xfer->rx_sg.nents, in at91_usart_spi_dma_transfer()
|
A D | spi-sun6i.c | 210 tfr->rx_sg.sgl, in sun6i_spi_prepare_dma() 211 tfr->rx_sg.nents, in sun6i_spi_prepare_dma()
|
A D | spi-img-spfi.c | 330 rxdesc = dmaengine_prep_slave_sg(spfi->rx_ch, xfer->rx_sg.sgl, in img_spfi_start_dma() 331 xfer->rx_sg.nents, in img_spfi_start_dma()
|
A D | spi-uniphier.c | 419 t->rx_sg.sgl, t->rx_sg.nents, in uniphier_spi_transfer_one_dma()
|
A D | spi-rockchip.c | 440 xfer->rx_sg.sgl, xfer->rx_sg.nents, in rockchip_spi_prepare_dma()
|
A D | spi-geni-qcom.c | 422 rx_desc = dmaengine_prep_slave_sg(mas->rx, xfer->rx_sg.sgl, xfer->rx_sg.nents, in setup_gsi_xfer()
|
A D | spi-ingenic.c | 176 &xfer->rx_sg, DMA_DEV_TO_MEM, bits); in spi_ingenic_dma_tx()
|
A D | spi-rspi.c | 698 xfer->rx_buf ? &xfer->rx_sg : NULL); in rspi_dma_check_then_transfer() 837 int ret = rspi_dma_transfer(rspi, NULL, &xfer->rx_sg); in qspi_transfer_in()
|
A D | spi-omap2-mcspi.c | 495 ret = sg_split(xfer->rx_sg.sgl, xfer->rx_sg.nents, 0, nb_sizes, in omap2_mcspi_rx_dma()
|
A D | spi-atmel.c | 730 xfer->rx_sg.sgl, in atmel_spi_next_xfer_dma_submit() 731 xfer->rx_sg.nents, in atmel_spi_next_xfer_dma_submit()
|
A D | spi-stm32.c | 1240 spi->dma_rx, xfer->rx_sg.sgl, in stm32_spi_transfer_one_dma() 1241 xfer->rx_sg.nents, in stm32_spi_transfer_one_dma()
|
/linux/drivers/crypto/qce/ |
A D | dma.c | 99 int qce_dma_prep_sgs(struct qce_dma_data *dma, struct scatterlist *rx_sg, in qce_dma_prep_sgs() argument 108 ret = qce_dma_prep_sg(rxchan, rx_sg, rx_nents, flags, DMA_MEM_TO_DEV, in qce_dma_prep_sgs()
|
/linux/drivers/infiniband/ulp/iser/ |
A D | iser_initiator.c | 245 struct ib_sge *rx_sg; in iser_alloc_rx_descriptors() local 277 rx_sg = &rx_desc->rx_sg; in iser_alloc_rx_descriptors() 278 rx_sg->addr = rx_desc->dma_addr; in iser_alloc_rx_descriptors() 279 rx_sg->length = ISER_RX_PAYLOAD_SIZE; in iser_alloc_rx_descriptors() 280 rx_sg->lkey = device->pd->local_dma_lkey; in iser_alloc_rx_descriptors()
|
A D | iscsi_iser.h | 274 struct ib_sge rx_sg; member
|
A D | iser_verbs.c | 866 wr->sg_list = &rx_desc->rx_sg; in iser_post_recvm()
|
/linux/drivers/infiniband/ulp/isert/ |
A D | ib_isert.h | 91 struct ib_sge rx_sg; member
|
A D | ib_isert.c | 153 struct ib_sge *rx_sg; in isert_alloc_rx_descriptors() local 173 rx_sg = &rx_desc->rx_sg; in isert_alloc_rx_descriptors() 174 rx_sg->addr = rx_desc->dma_addr + isert_get_hdr_offset(rx_desc); in isert_alloc_rx_descriptors() 175 rx_sg->length = ISER_RX_PAYLOAD_SIZE; in isert_alloc_rx_descriptors() 176 rx_sg->lkey = device->pd->local_dma_lkey; in isert_alloc_rx_descriptors() 735 rx_wr->sg_list = &rx_desc->rx_sg; in isert_post_recvm() 766 rx_wr.sg_list = &rx_desc->rx_sg; in isert_post_recv()
|
/linux/include/linux/spi/ |
A D | spi.h | 927 struct sg_table rx_sg; member
|