Home
last modified time | relevance | path

Searched refs:dma_xfer (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/hid/intel-ish-hid/ishtp/
Dhbm.c440 struct dma_xfer_hbm *dma_xfer) in ishtp_hbm_dma_xfer_ack() argument
451 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_tx_buf_phys; in ishtp_hbm_dma_xfer_ack()
456 if (dma_xfer->msg_length > in ishtp_hbm_dma_xfer_ack()
464 ishtp_cl_release_dma_acked_mem(dev, msg, dma_xfer->msg_length); in ishtp_hbm_dma_xfer_ack()
467 if (cl->fw_client_id == dma_xfer->fw_client_id && in ishtp_hbm_dma_xfer_ack()
468 cl->host_client_id == dma_xfer->host_client_id) in ishtp_hbm_dma_xfer_ack()
479 dma_xfer->msg_length) { in ishtp_hbm_dma_xfer_ack()
491 ++dma_xfer; in ishtp_hbm_dma_xfer_ack()
503 struct dma_xfer_hbm *dma_xfer) in ishtp_hbm_dma_xfer() argument
510 struct dma_xfer_hbm *prm = dma_xfer; in ishtp_hbm_dma_xfer()
[all …]
Dclient.c748 struct dma_xfer_hbm dma_xfer; in ishtp_cl_send_msg_dma() local
797 dma_xfer.hbm = DMA_XFER; in ishtp_cl_send_msg_dma()
798 dma_xfer.fw_client_id = cl->fw_client_id; in ishtp_cl_send_msg_dma()
799 dma_xfer.host_client_id = cl->host_client_id; in ishtp_cl_send_msg_dma()
800 dma_xfer.reserved = 0; in ishtp_cl_send_msg_dma()
801 dma_xfer.msg_addr = dev->ishtp_host_dma_tx_buf_phys + off; in ishtp_cl_send_msg_dma()
802 dma_xfer.msg_length = cl_msg->send_buf.size; in ishtp_cl_send_msg_dma()
803 dma_xfer.reserved2 = 0; in ishtp_cl_send_msg_dma()
804 ishtp_write_message(dev, &hdr, (unsigned char *)&dma_xfer); in ishtp_cl_send_msg_dma()
/linux-6.6.21/drivers/spi/
Dspi-mxs.c179 } *dma_xfer; in mxs_spi_txrx_dma() local
184 dma_xfer = kcalloc(sgs, sizeof(*dma_xfer), GFP_KERNEL); in mxs_spi_txrx_dma()
185 if (!dma_xfer) in mxs_spi_txrx_dma()
216 dma_xfer[sg_count].pio[0] = ctrl0; in mxs_spi_txrx_dma()
217 dma_xfer[sg_count].pio[3] = min; in mxs_spi_txrx_dma()
226 sg_init_table(&dma_xfer[sg_count].sg, 1); in mxs_spi_txrx_dma()
227 sg_set_page(&dma_xfer[sg_count].sg, vm_page, in mxs_spi_txrx_dma()
230 sg_init_one(&dma_xfer[sg_count].sg, buf, min); in mxs_spi_txrx_dma()
233 ret = dma_map_sg(ssp->dev, &dma_xfer[sg_count].sg, 1, in mxs_spi_txrx_dma()
241 (struct scatterlist *)dma_xfer[sg_count].pio, in mxs_spi_txrx_dma()
[all …]
/linux-6.6.21/arch/sh/include/asm/
Ddma.h108 extern int dma_xfer(unsigned int chan, unsigned long from,
112 dma_xfer(chan, from, to, size, DMA_MODE_WRITE)
117 dma_xfer(chan, from, to, size, DMA_MODE_READ)
/linux-6.6.21/arch/sh/drivers/dma/
Ddma-api.c282 int dma_xfer(unsigned int chan, unsigned long from, in dma_xfer() function
295 EXPORT_SYMBOL(dma_xfer);
/linux-6.6.21/drivers/accel/qaic/
Dqaic_control.c190 struct dma_xfer { struct
325 struct dma_xfer *xfer; in free_dma_xfers()
326 struct dma_xfer *x; in free_dma_xfers()
393 struct ioctl_resources *resources, struct dma_xfer *xfer) in find_and_map_user_pages()
480 static int encode_addr_size_pairs(struct dma_xfer *xfer, struct wrapper_list *wrappers, in encode_addr_size_pairs()
548 static void cleanup_xfer(struct qaic_device *qdev, struct dma_xfer *xfer) in cleanup_xfer()
566 struct dma_xfer *xfer; in encode_dma()
/linux-6.6.21/drivers/mtd/nand/raw/
Dfsmc_nand.c485 static int dma_xfer(struct fsmc_nand_data *host, void *buffer, int len, in dma_xfer() function
609 dma_xfer(host, buf, len, DMA_FROM_DEVICE); in fsmc_read_buf_dma()
621 dma_xfer(host, (void *)buf, len, DMA_TO_DEVICE); in fsmc_write_buf_dma()
/linux-6.6.21/drivers/ata/
Dpata_arasan_cf.c395 dma_xfer(struct arasan_cf_dev *acdev, dma_addr_t src, dma_addr_t dest, u32 len) in dma_xfer() function
475 ret = dma_xfer(acdev, src, dest, dma_len); in sg_xfer()
/linux-6.6.21/include/scsi/
Dlibsas.h528 u8 dma_xfer:1; /* PIO:0 or DMA:1 */ member
/linux-6.6.21/sound/sh/
Daica.c228 err = dma_xfer(AICA_DMA_CHANNEL, in aica_dma_transfer()
/linux-6.6.21/drivers/scsi/aic94xx/
Daic94xx_task.c383 if (task->ata_task.dma_xfer) in asd_build_ata_ascb()
/linux-6.6.21/drivers/scsi/libsas/
Dsas_ata.c207 task->ata_task.dma_xfer = ata_is_dma(qc->tf.protocol); in sas_ata_qc_issue()
/linux-6.6.21/drivers/scsi/isci/
Drequest.c713 if (task->ata_task.dma_xfer) { in sci_io_request_construct_sata()
2980 } else if (task->ata_task.dma_xfer) { in sci_request_started_state_enter()
/linux-6.6.21/Documentation/accel/qaic/
Daic100.rst439 dma_xfer
/linux-6.6.21/drivers/scsi/pm8001/
Dpm80xx_hwi.c2367 if (t->ata_task.dma_xfer == 0 && in mpi_sata_completion()
4473 } else if (task->ata_task.dma_xfer) { in pm80xx_chip_sata_req()
Dpm8001_hwi.c2275 if (t->ata_task.dma_xfer == 0 && in mpi_sata_completion()
4108 } else if (task->ata_task.dma_xfer) { in pm8001_chip_sata_req()
/linux-6.6.21/sound/pci/hda/
Dpatch_ca0132.c3085 static int dma_xfer(struct dma_engine *dma, in dma_xfer() function
3305 dma_xfer(dma_engine, data, run_size_words*sizeof(u32)); in dspxfr_one_seg()