Searched refs:dma_desc (Results 26 - 50 of 61) sorted by last modified time

123

/linux-master/drivers/media/platform/rockchip/rga/
H A Drga.h102 struct rga_dma_desc *dma_desc; member in struct:rga_vb_buffer
H A Drga-buf.c86 rbuf->dma_desc = dma_alloc_coherent(rga->dev,
87 rbuf->n_desc * sizeof(*rbuf->dma_desc),
89 if (!rbuf->dma_desc)
126 n_desc = fill_descriptors(&rbuf->dma_desc[curr_desc],
165 dma_free_coherent(rga->dev, rbuf->n_desc * sizeof(*rbuf->dma_desc),
166 rbuf->dma_desc, rbuf->dma_desc_pa);
/linux-master/drivers/dma/
H A Dtimb_dma.c145 static int td_fill_desc(struct timb_dma_chan *td_chan, u8 *dma_desc, argument
161 dma_desc, (unsigned long long)sg_dma_address(sg));
163 dma_desc[7] = (sg_dma_address(sg) >> 24) & 0xff;
164 dma_desc[6] = (sg_dma_address(sg) >> 16) & 0xff;
165 dma_desc[5] = (sg_dma_address(sg) >> 8) & 0xff;
166 dma_desc[4] = (sg_dma_address(sg) >> 0) & 0xff;
168 dma_desc[3] = (sg_dma_len(sg) >> 8) & 0xff;
169 dma_desc[2] = (sg_dma_len(sg) >> 0) & 0xff;
171 dma_desc[1] = 0x00;
172 dma_desc[
[all...]
H A Dtegra20-apb-dma.c154 struct tegra_dma_desc *dma_desc; member in struct:tegra_dma_sg_req
267 struct tegra_dma_desc *dma_desc; local
273 list_for_each_entry(dma_desc, &tdc->free_dma_desc, node) {
274 if (async_tx_test_ack(&dma_desc->txd) && !dma_desc->cb_count) {
275 list_del(&dma_desc->node);
277 dma_desc->txd.flags = 0;
278 return dma_desc;
285 dma_desc = kzalloc(sizeof(*dma_desc), GFP_NOWAI
296 tegra_dma_desc_put(struct tegra_dma_channel *tdc, struct tegra_dma_desc *dma_desc) argument
522 struct tegra_dma_desc *dma_desc; local
573 struct tegra_dma_desc *dma_desc; local
607 struct tegra_dma_desc *dma_desc; local
639 struct tegra_dma_desc *dma_desc; local
688 struct tegra_dma_desc *dma_desc = txd_to_tegra_dma_desc(txd); local
739 struct tegra_dma_desc *dma_desc; local
891 struct tegra_dma_desc *dma_desc; local
1046 struct tegra_dma_desc *dma_desc; local
1171 struct tegra_dma_desc *dma_desc; local
1309 struct tegra_dma_desc *dma_desc; local
[all...]
H A Dmv_xor.c437 dma_addr_t dma_desc; local
460 dma_desc = mv_chan->dma_desc_pool;
461 slot->async_tx.phys = dma_desc + idx * MV_XOR_SLOT_SIZE;
/linux-master/sound/soc/bcm/
H A Dbcm63xx-pcm-whistler.c48 struct i2s_dma_desc *dma_desc; local
51 dma_desc = kzalloc(sizeof(*dma_desc), GFP_NOWAIT);
52 if (!dma_desc)
55 snd_soc_dai_set_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream, dma_desc);
63 struct i2s_dma_desc *dma_desc; local
66 dma_desc = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream);
67 kfree(dma_desc);
144 struct i2s_dma_desc *dma_desc; local
151 dma_desc
240 struct i2s_dma_desc *dma_desc; local
[all...]
/linux-master/drivers/crypto/
H A Dtalitos.c295 request->dma_desc = dma_map_single(dev, &desc->hdr1,
299 request->dma_desc = dma_map_single(dev, desc,
315 upper_32_bits(request->dma_desc));
317 lower_32_bits(request->dma_desc));
370 dma_unmap_single(dev, request->dma_desc,
481 while (priv->chan[ch].fifo[iter].dma_desc != cur_desc &&
H A Dtalitos.h76 * @dma_desc: descriptor's physical bus address
82 dma_addr_t dma_desc; member in struct:talitos_request
/linux-master/drivers/net/ethernet/ti/
H A Dnetcp_core.c581 dma_addr_t dma_desc, dma_buf; local
586 get_words(&dma_desc, 1, &desc->next_desc);
588 while (dma_desc) {
589 ndesc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz);
594 get_pkt_info(&dma_buf, &tmp, &dma_desc, ndesc);
646 dma_addr_t dma_desc, dma_buff; local
652 dma_desc = knav_queue_pop(netcp->rx_queue, &dma_sz);
653 if (!dma_desc)
656 desc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz);
662 get_pkt_info(&dma_buff, &buf_len, &dma_desc, des
977 dma_addr_t dma_desc, dma_buf; local
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c799 (priv->dma_conf.dma_rx_size * sizeof(struct dma_desc));
H A Dnorm_desc.c16 struct dma_desc *p, void __iomem *ioaddr)
60 static int ndesc_get_tx_len(struct dma_desc *p)
70 struct dma_desc *p)
118 static void ndesc_init_rx_desc(struct dma_desc *p, int disable_rx_ic, int mode,
137 static void ndesc_init_tx_desc(struct dma_desc *p, int mode, int end)
146 static int ndesc_get_tx_owner(struct dma_desc *p)
151 static void ndesc_set_tx_owner(struct dma_desc *p)
156 static void ndesc_set_rx_owner(struct dma_desc *p, int disable_rx_ic)
161 static int ndesc_get_tx_ls(struct dma_desc *p)
166 static void ndesc_release_tx_desc(struct dma_desc *
[all...]
H A Denh_desc.c16 struct dma_desc *p, void __iomem *ioaddr)
79 static int enh_desc_get_tx_len(struct dma_desc *p)
182 struct dma_desc *p)
252 static void enh_desc_init_rx_desc(struct dma_desc *p, int disable_rx_ic,
271 static void enh_desc_init_tx_desc(struct dma_desc *p, int mode, int end)
280 static int enh_desc_get_tx_owner(struct dma_desc *p)
285 static void enh_desc_set_tx_owner(struct dma_desc *p)
290 static void enh_desc_set_rx_owner(struct dma_desc *p, int disable_rx_ic)
295 static int enh_desc_get_tx_ls(struct dma_desc *p)
300 static void enh_desc_release_tx_desc(struct dma_desc *
[all...]
H A Ddwxgmac2_descs.c12 struct dma_desc *p, void __iomem *ioaddr)
26 struct dma_desc *p)
42 static int dwxgmac2_get_tx_len(struct dma_desc *p)
47 static int dwxgmac2_get_tx_owner(struct dma_desc *p)
52 static void dwxgmac2_set_tx_owner(struct dma_desc *p)
57 static void dwxgmac2_set_rx_owner(struct dma_desc *p, int disable_rx_ic)
65 static int dwxgmac2_get_tx_ls(struct dma_desc *p)
70 static int dwxgmac2_get_rx_frame_len(struct dma_desc *p, int rx_coe)
75 static void dwxgmac2_enable_tx_timestamp(struct dma_desc *p)
80 static int dwxgmac2_get_tx_timestamp_status(struct dma_desc *
[all...]
H A Dring_mode.c24 struct dma_desc *desc;
27 desc = (struct dma_desc *)(tx_q->dma_etx + entry);
57 desc = (struct dma_desc *)(tx_q->dma_etx + entry);
104 static void refill_desc3(struct stmmac_rx_queue *rx_q, struct dma_desc *p)
114 static void init_desc3(struct dma_desc *p)
119 static void clean_desc3(struct stmmac_tx_queue *tx_q, struct dma_desc *p)
H A Dchain_mode.c25 struct dma_desc *desc;
118 struct dma_desc *p = (struct dma_desc *)des;
120 dma_phy += sizeof(struct dma_desc);
128 static void refill_desc3(struct stmmac_rx_queue *rx_q, struct dma_desc *p)
140 sizeof(struct dma_desc)));
143 static void clean_desc3(struct stmmac_tx_queue *tx_q, struct dma_desc *p)
157 * sizeof(struct dma_desc)));
/linux-master/drivers/net/ethernet/
H A Dkorina.c249 struct dma_desc { struct
319 #define RD_RING_SIZE (KORINA_NUM_RDS * sizeof(struct dma_desc))
320 #define TD_RING_SIZE (KORINA_NUM_TDS * sizeof(struct dma_desc))
339 struct dma_desc *td_ring; /* transmit descriptor ring */
340 struct dma_desc *rd_ring; /* receive descriptor ring */
380 return lp->td_dma + (idx * sizeof(struct dma_desc));
385 return lp->rd_dma + (idx * sizeof(struct dma_desc));
425 struct dma_desc *td;
599 struct dma_desc *rd = &lp->rd_ring[lp->rx_next_done];
767 struct dma_desc *t
[all...]
/linux-master/drivers/media/platform/marvell/
H A Dmcam-core.c198 struct mcam_dma_desc *dma_desc; /* Descriptor virtual address */ member in struct:mcam_vb_buffer
1223 mvb->dma_desc = dma_alloc_coherent(cam->dev,
1226 if (mvb->dma_desc == NULL) {
1238 struct mcam_dma_desc *desc = mvb->dma_desc;
1258 mvb->dma_desc, mvb->dma_desc_pa);
/linux-master/drivers/soc/tegra/fuse/
H A Dfuse-tegra20.c45 struct dma_async_tx_descriptor *dma_desc; local
62 dma_desc = dmaengine_prep_slave_single(fuse->apbdma.chan,
66 if (!dma_desc)
69 dma_desc->callback = apb_dma_complete;
70 dma_desc->callback_param = fuse;
74 dmaengine_submit(dma_desc);
/linux-master/drivers/mmc/host/
H A Dbcm2835.c184 struct dma_async_tx_descriptor *dma_desc; member in struct:bcm2835_host
511 host->dma_desc = desc;
518 dmaengine_submit(host->dma_desc);
527 if (host->dma_desc) {
553 if (!host->dma_desc) {
603 host->dma_desc = NULL;
799 if (host->data && host->dma_desc)
958 if (!host->dma_desc) {
1213 if (host->data && host->dma_desc) {
1383 host->dma_desc
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Dsnps_udc_core.c517 struct udc_data_dma *dma_desc; local
535 dma_desc = dma_pool_alloc(ep->dev->data_requests, gfp,
537 if (!dma_desc) {
542 VDBG(ep->dev, "udc_alloc_req: req = %p dma_desc = %p, "
544 req, dma_desc,
547 dma_desc->status = AMD_ADDBITS(dma_desc->status,
550 dma_desc->bufptr = cpu_to_le32(DMA_DONT_USE);
551 req->td_data = dma_desc;
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.c507 dma_addr_t dma_desc; local
579 dma_desc = dma_map_single(dev, desc, desc_sz, DMA_TO_DEVICE);
580 ret = dma_mapping_error(dev, dma_desc);
585 arg->arg.buf = dma_desc;
602 dma_unmap_single(dev, dma_desc, desc_sz, DMA_TO_DEVICE);
/linux-master/drivers/usb/musb/
H A Dmusb_cppi41.c149 struct dma_async_tx_descriptor *dma_desc; local
162 dma_desc = dmaengine_prep_slave_single(dc,
167 if (WARN_ON(!dma_desc))
170 dma_desc->callback_result = cppi41_dma_callback;
171 dma_desc->callback_param = &cppi41_channel->channel;
172 cppi41_channel->cookie = dma_desc->tx_submit(dma_desc);
418 struct dma_async_tx_descriptor *dma_desc; local
465 dma_desc = dmaengine_prep_slave_single(dc, dma_addr, len, direction,
467 if (!dma_desc)
[all...]
/linux-master/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c291 struct xlgmac_dma_desc *dma_desc; local
295 dma_desc = desc_data->dma_desc;
297 netdev_dbg(pdata->netdev, "TX: dma_desc=%p, dma_desc_addr=%pad\n",
298 desc_data->dma_desc, &desc_data->dma_desc_addr);
302 le32_to_cpu(dma_desc->desc0),
303 le32_to_cpu(dma_desc->desc1),
304 le32_to_cpu(dma_desc->desc2),
305 le32_to_cpu(dma_desc->desc3));
316 struct xlgmac_dma_desc *dma_desc; local
[all...]
H A Ddwc-xlgmac.h283 /* dma_desc: Virtual address of descriptor
286 struct xlgmac_dma_desc *dma_desc; member in struct:xlgmac_desc_data
400 int (*tx_complete)(struct xlgmac_dma_desc *dma_desc);
432 int (*is_last_desc)(struct xlgmac_dma_desc *dma_desc);
433 int (*is_context_desc)(struct xlgmac_dma_desc *dma_desc);
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_nx2.c2906 struct qla8044_pex_dma_descriptor dma_desc; local
2933 dma_desc.cmd.dma_desc_cmd = (m_hdr->dma_desc_cmd & 0xff0f);
2934 dma_desc.cmd.dma_desc_cmd |=
2937 dma_desc.dma_bus_addr = rdmem_dma;
2938 dma_desc.cmd.read_data_size = chunk_size = ISP8044_PEX_DMA_READ_SIZE;
2949 dma_desc.cmd.read_data_size = chunk_size;
2952 dma_desc.src_addr = m_hdr->read_addr + read_size;
2956 m_hdr->desc_card_addr, (uint32_t *)&dma_desc,

Completed in 566 milliseconds

123