/linux/drivers/spi/ |
A D | spi-dw-dma.c | 457 ret = dw_spi_dma_submit_tx(dws, xfer->tx_sg.sgl, xfer->tx_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 528 tx_sg = !tx_sg ? &xfer->tx_sg.sgl[0] : sg_next(tx_sg); in dw_spi_dma_transfer_one() 529 sg_dma_address(&tx_tmp) = sg_dma_address(tx_sg); in dw_spi_dma_transfer_one() 530 tx_len = sg_dma_len(tx_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 | 489 if (bs->tx_buf && !sg_is_last(&tfr->tx_sg.sgl[0])) in bcm2835_spi_transfer_prologue() 490 bs->tx_prologue = sg_dma_len(&tfr->tx_sg.sgl[0]) & 3; in bcm2835_spi_transfer_prologue() 496 if (!bs->tx_buf || sg_is_last(&tfr->tx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue() 501 !(sg_dma_len(&tfr->tx_sg.sgl[0]) & ~3); in bcm2835_spi_transfer_prologue() 552 sg_dma_len(&tfr->tx_sg.sgl[0]) = 0; in bcm2835_spi_transfer_prologue() 553 sg_dma_address(&tfr->tx_sg.sgl[1]) += 4; in bcm2835_spi_transfer_prologue() 554 sg_dma_len(&tfr->tx_sg.sgl[1]) -= 4; in bcm2835_spi_transfer_prologue() 586 sg_dma_address(&tfr->tx_sg.sgl[1]) -= 4; in bcm2835_spi_undo_prologue() 587 sg_dma_len(&tfr->tx_sg.sgl[1]) += 4; in bcm2835_spi_undo_prologue() 681 nents = tfr->tx_sg.nents; in bcm2835_spi_prepare_sg() [all …]
|
A D | spi-davinci.c | 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() 641 t->tx_sg.sgl, t->tx_sg.nents, DMA_MEM_TO_DEV, in davinci_spi_bufs()
|
A D | spi-pic32.c | 323 xfer->tx_sg.sgl, in pic32_spi_dma_transfer() 324 xfer->tx_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-pxa2xx-dma.c | 94 sgt = &xfer->tx_sg; in pxa2xx_spi_dma_prepare_one()
|
A D | spi-pic32-sqi.c | 280 sgl = xfer->tx_sg.sgl; in pic32_sqi_one_transfer() 281 nents = xfer->tx_sg.nents; in pic32_sqi_one_transfer()
|
A D | spi-at91-usart.c | 239 xfer->tx_sg.sgl, in at91_usart_spi_dma_transfer() 240 xfer->tx_sg.nents, in at91_usart_spi_dma_transfer()
|
A D | spi-sun6i.c | 230 tfr->tx_sg.sgl, in sun6i_spi_prepare_dma() 231 tfr->tx_sg.nents, in sun6i_spi_prepare_dma()
|
A D | spi-img-spfi.c | 354 txdesc = dmaengine_prep_slave_sg(spfi->tx_ch, xfer->tx_sg.sgl, in img_spfi_start_dma() 355 xfer->tx_sg.nents, in img_spfi_start_dma()
|
A D | spi-uniphier.c | 446 t->tx_sg.sgl, t->tx_sg.nents, in uniphier_spi_transfer_one_dma()
|
A D | spi-rockchip.c | 462 xfer->tx_sg.sgl, xfer->tx_sg.nents, in rockchip_spi_prepare_dma()
|
A D | spi-geni-qcom.c | 435 tx_desc = dmaengine_prep_slave_sg(mas->tx, xfer->tx_sg.sgl, xfer->tx_sg.nents, in setup_gsi_xfer()
|
A D | spi-ingenic.c | 181 &xfer->tx_sg, DMA_MEM_TO_DEV, bits); in spi_ingenic_dma_tx()
|
A D | spi-rspi.c | 697 return rspi_dma_transfer(rspi, &xfer->tx_sg, in rspi_dma_check_then_transfer() 805 ret = rspi_dma_transfer(rspi, &xfer->tx_sg, NULL); in qspi_transfer_out()
|
A D | spi-omap2-mcspi.c | 416 tx = dmaengine_prep_slave_sg(mcspi_dma->dma_tx, xfer->tx_sg.sgl, in omap2_mcspi_tx_dma() 417 xfer->tx_sg.nents, in omap2_mcspi_tx_dma()
|
A D | spi-atmel.c | 749 xfer->tx_sg.sgl, in atmel_spi_next_xfer_dma_submit() 750 xfer->tx_sg.nents, in atmel_spi_next_xfer_dma_submit()
|
/linux/drivers/crypto/qce/ |
A D | dma.c | 100 int rx_nents, struct scatterlist *tx_sg, int tx_nents, in qce_dma_prep_sgs() argument 113 return qce_dma_prep_sg(txchan, tx_sg, tx_nents, flags, DMA_DEV_TO_MEM, in qce_dma_prep_sgs()
|
/linux/drivers/infiniband/ulp/isert/ |
A D | ib_isert.c | 791 send_wr.sg_list = tx_desc->tx_sg; in isert_login_post_send() 814 tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey; in __isert_create_send_desc() 849 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; in isert_init_tx_hdrs() 850 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN; in isert_init_tx_hdrs() 851 tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey; in isert_init_tx_hdrs() 854 tx_desc->tx_sg[0].addr, tx_desc->tx_sg[0].length, in isert_init_tx_hdrs() 855 tx_desc->tx_sg[0].lkey); in isert_init_tx_hdrs() 876 send_wr->sg_list = &tx_desc->tx_sg[0]; in isert_init_send_wr() 929 struct ib_sge *tx_dsg = &tx_desc->tx_sg[1]; in isert_put_login_tx() 1777 struct ib_sge *tx_dsg = &isert_cmd->tx_desc.tx_sg[1]; in isert_put_response() [all …]
|
A D | ib_isert.h | 129 struct ib_sge tx_sg[2]; member
|
/linux/drivers/net/wireless/ath/ath10k/ |
A D | hif.h | 31 int (*tx_sg)(struct ath10k *ar, u8 pipe_id, member 106 return ar->hif.ops->tx_sg(ar, pipe_id, items, n_items); in ath10k_hif_tx_sg()
|
/linux/drivers/infiniband/ulp/rtrs/ |
A D | rtrs-srv.h | 56 struct ib_sge tx_sg; member
|
/linux/drivers/infiniband/ulp/iser/ |
A D | iscsi_iser.c | 222 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; in iser_initialize_task_headers() 223 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN; in iser_initialize_task_headers() 224 tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey; in iser_initialize_task_headers()
|
A D | iser_initiator.c | 109 struct ib_sge *tx_dsg = &iser_task->desc.tx_sg[1]; in iser_prepare_write_cmd() 473 tx_dsg = &tx_desc->tx_sg[1]; in iser_send_data_out() 521 struct ib_sge *tx_dsg = &mdesc->tx_sg[1]; in iser_send_control()
|
A D | iscsi_iser.h | 246 struct ib_sge tx_sg[2]; member
|
/linux/include/linux/spi/ |
A D | spi.h | 926 struct sg_table tx_sg; member
|