Home
last modified time | relevance | path

Searched refs:tx_sg (Results 1 – 25 of 33) sorted by relevance

12

/drivers/spi/
Dspi-bcm2835.c484 if (bs->tx_buf && !sg_is_last(&tfr->tx_sg.sgl[0])) in bcm2835_spi_transfer_prologue()
485 bs->tx_prologue = sg_dma_len(&tfr->tx_sg.sgl[0]) & 3; in bcm2835_spi_transfer_prologue()
491 if (!bs->tx_buf || sg_is_last(&tfr->tx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue()
496 !(sg_dma_len(&tfr->tx_sg.sgl[0]) & ~3); in bcm2835_spi_transfer_prologue()
544 sg_dma_address(&tfr->tx_sg.sgl[0]) += bs->tx_prologue; in bcm2835_spi_transfer_prologue()
545 sg_dma_len(&tfr->tx_sg.sgl[0]) -= bs->tx_prologue; in bcm2835_spi_transfer_prologue()
547 sg_dma_len(&tfr->tx_sg.sgl[0]) = 0; in bcm2835_spi_transfer_prologue()
548 sg_dma_address(&tfr->tx_sg.sgl[1]) += 4; in bcm2835_spi_transfer_prologue()
549 sg_dma_len(&tfr->tx_sg.sgl[1]) -= 4; in bcm2835_spi_transfer_prologue()
577 sg_dma_address(&tfr->tx_sg.sgl[0]) -= bs->tx_prologue; in bcm2835_spi_undo_prologue()
[all …]
Dspi-dw-mid.c160 xfer->tx_sg.sgl, in dw_spi_dma_prepare_tx()
161 xfer->tx_sg.nents, in dw_spi_dma_prepare_tx()
Dspi-davinci.c642 t->tx_sg.sgl = t->rx_sg.sgl; in davinci_spi_bufs()
643 t->tx_sg.nents = t->rx_sg.nents; in davinci_spi_bufs()
647 t->tx_sg.sgl, t->tx_sg.nents, DMA_MEM_TO_DEV, in davinci_spi_bufs()
Dspi-pic32.c323 xfer->tx_sg.sgl, in pic32_spi_dma_transfer()
324 xfer->tx_sg.nents, in pic32_spi_dma_transfer()
525 if (transfer->rx_sg.nents && transfer->tx_sg.nents) { in pic32_spi_one_transfer()
Dspi-pxa2xx-dma.c101 sgt = &xfer->tx_sg; in pxa2xx_spi_dma_prepare_one()
Dspi-pic32-sqi.c280 sgl = xfer->tx_sg.sgl; in pic32_sqi_one_transfer()
281 nents = xfer->tx_sg.nents; in pic32_sqi_one_transfer()
Dspi-at91-usart.c239 xfer->tx_sg.sgl, in at91_usart_spi_dma_transfer()
240 xfer->tx_sg.nents, in at91_usart_spi_dma_transfer()
Dspi-rockchip.c427 xfer->tx_sg.sgl, xfer->tx_sg.nents, in rockchip_spi_prepare_dma()
Dspi-img-spfi.c359 txdesc = dmaengine_prep_slave_sg(spfi->tx_ch, xfer->tx_sg.sgl, in img_spfi_start_dma()
360 xfer->tx_sg.nents, in img_spfi_start_dma()
Dspi-rspi.c681 return rspi_dma_transfer(rspi, &xfer->tx_sg, in rspi_dma_check_then_transfer()
787 ret = rspi_dma_transfer(rspi, &xfer->tx_sg, NULL); in qspi_transfer_out()
Dspi-omap2-mcspi.c409 tx = dmaengine_prep_slave_sg(mcspi_dma->dma_tx, xfer->tx_sg.sgl, in omap2_mcspi_tx_dma()
410 xfer->tx_sg.nents, in omap2_mcspi_tx_dma()
Dspi-atmel.c785 xfer->tx_sg.sgl, in atmel_spi_next_xfer_dma_submit()
786 xfer->tx_sg.nents, in atmel_spi_next_xfer_dma_submit()
Dspi-stm32.c1305 spi->dma_tx, xfer->tx_sg.sgl, in stm32_spi_transfer_one_dma()
1306 xfer->tx_sg.nents, in stm32_spi_transfer_one_dma()
Dspi.c920 ret = spi_map_buf(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg()
932 spi_unmap_buf(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg()
967 spi_unmap_buf(ctlr, tx_dev, &xfer->tx_sg, DMA_TO_DEVICE); in __spi_unmap_msg()
Dspi-mt65xx.c467 mdata->tx_sgl = xfer->tx_sg.sgl; in mtk_spi_dma_transfer()
Dspi-fsl-lpspi.c572 struct sg_table *tx = &transfer->tx_sg, *rx = &transfer->rx_sg; in fsl_lpspi_dma_transfer()
/drivers/crypto/qce/
Ddma.c97 int rx_nents, struct scatterlist *tx_sg, int tx_nents, in qce_dma_prep_sgs() argument
110 return qce_dma_prep_sg(txchan, tx_sg, tx_nents, flags, DMA_DEV_TO_MEM, in qce_dma_prep_sgs()
/drivers/net/wireless/ath/ath10k/
Dhif.h31 int (*tx_sg)(struct ath10k *ar, u8 pipe_id, member
104 return ar->hif.ops->tx_sg(ar, pipe_id, items, n_items); in ath10k_hif_tx_sg()
Dahb.c712 .tx_sg = ath10k_pci_hif_tx_sg,
Dusb.c732 .tx_sg = ath10k_usb_hif_tx_sg,
/drivers/infiniband/ulp/isert/
Dib_isert.c869 send_wr.sg_list = tx_desc->tx_sg; in isert_login_post_send()
891 if (tx_desc->tx_sg[0].lkey != device->pd->local_dma_lkey) { in __isert_create_send_desc()
892 tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey; in __isert_create_send_desc()
927 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; in isert_init_tx_hdrs()
928 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN; in isert_init_tx_hdrs()
929 tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey; in isert_init_tx_hdrs()
932 tx_desc->tx_sg[0].addr, tx_desc->tx_sg[0].length, in isert_init_tx_hdrs()
933 tx_desc->tx_sg[0].lkey); in isert_init_tx_hdrs()
954 send_wr->sg_list = &tx_desc->tx_sg[0]; in isert_init_send_wr()
1006 struct ib_sge *tx_dsg = &tx_desc->tx_sg[1]; in isert_put_login_tx()
[all …]
Dib_isert.h103 struct ib_sge tx_sg[2]; member
/drivers/infiniband/ulp/iser/
Discsi_iser.c212 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; in iser_initialize_task_headers()
213 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN; in iser_initialize_task_headers()
214 tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey; in iser_initialize_task_headers()
Diser_initiator.c109 struct ib_sge *tx_dsg = &iser_task->desc.tx_sg[1]; in iser_prepare_write_cmd()
469 tx_dsg = &tx_desc->tx_sg[1]; in iser_send_data_out()
517 struct ib_sge *tx_dsg = &mdesc->tx_sg[1]; in iser_send_control()
Discsi_iser.h250 struct ib_sge tx_sg[2]; member

12