Home
last modified time | relevance | path

Searched refs:dma_ptr (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/savage/
Dsavage_drv.h515 #define DMA_LOCALS uint32_t *dma_ptr;
522 dma_ptr = savage_dma_alloc(dev_priv, (n)); \
524 dma_ptr = (uint32_t *)dev_priv->cmd_dma->handle + \
533 #define DMA_WRITE( val ) *dma_ptr++ = (uint32_t)(val)
536 memcpy(dma_ptr, (src), (n)*4); \
537 dma_ptr += n; \
546 if (dma_ptr != expected) { \
548 "%p != %p\n", expected, dma_ptr); \
Dsavage_bci.c379 uint32_t *dma_ptr; in savage_dma_alloc() local
386 dma_ptr = (uint32_t *) dev_priv->cmd_dma->handle + in savage_dma_alloc()
402 dma_ptr = (uint32_t *) dev_priv->cmd_dma->handle; in savage_dma_alloc()
425 return dma_ptr; in savage_dma_alloc()
453 uint32_t *dma_ptr = (uint32_t *) dev_priv->cmd_dma->handle + in savage_dma_flush() local
457 *dma_ptr++ = BCI_CMD_WAIT; in savage_dma_flush()
527 uint32_t *dma_ptr = (uint32_t *) dev_priv->cmd_dma->handle + in savage_fake_dma_flush() local
539 BCI_WRITE(dma_ptr[j]); in savage_fake_dma_flush()
/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_main.c1230 if (buffer_info->dma_ptr) { in lan743x_tx_release_desc()
1234 buffer_info->dma_ptr, in lan743x_tx_release_desc()
1239 buffer_info->dma_ptr, in lan743x_tx_release_desc()
1243 buffer_info->dma_ptr = 0; in lan743x_tx_release_desc()
1355 dma_addr_t dma_ptr; in lan743x_tx_frame_start() local
1363 dma_ptr = dma_map_single(dev, first_buffer, first_buffer_length, in lan743x_tx_frame_start()
1365 if (dma_mapping_error(dev, dma_ptr)) in lan743x_tx_frame_start()
1368 tx_descriptor->data1 = DMA_ADDR_LOW32(dma_ptr); in lan743x_tx_frame_start()
1369 tx_descriptor->data2 = DMA_ADDR_HIGH32(dma_ptr); in lan743x_tx_frame_start()
1374 buffer_info->dma_ptr = dma_ptr; in lan743x_tx_frame_start()
[all …]
Dlan743x_main.h788 dma_addr_t dma_ptr; member
824 dma_addr_t dma_ptr; member
/Linux-v5.4/drivers/gpu/drm/via/
Dvia_dma.c159 return (uint32_t *) (dev_priv->dma_ptr + dev_priv->dma_low); in via_check_dma()
221 dev_priv->dma_ptr = dev_priv->ring.virtual_start; in via_initialize()
399 return (uint32_t *) (dev_priv->dma_ptr + dev_priv->dma_low); in via_get_dma()
425 ptr = ((volatile char *)paused_at - dev_priv->dma_ptr) + in via_hook_segment()
563 ptr = ((volatile char *)dev_priv->last_pause_ptr - dev_priv->dma_ptr) + in via_cmdbuf_start()
Dvia_drv.h77 char *dma_ptr; member
/Linux-v5.4/sound/soc/
Dsoc-generic-dmaengine-pcm.c347 void *dma_ptr = runtime->dma_area + hwoff + in dmaengine_copy_user() local
352 if (copy_from_user(dma_ptr, buf, bytes)) in dmaengine_copy_user()
362 if (copy_to_user(buf, dma_ptr, bytes)) in dmaengine_copy_user()